<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rira100000000</author_name>
  <author_url>https://blog.hatena.ne.jp/rira100000000/</author_url>
  <blog_title>rira100000000のブログ</blog_title>
  <blog_url>https://rira100000000.hatenablog.com/</blog_url>
  <categories>
    <anon>Fjord Boot Camp</anon>
  </categories>
  <description>自動テストについて学ぶ Fjord Boot Campで自動テストのプラクティスに入りました。 過去の質問の中に、『privateなメソッドは何故テストしないのか？』という質問がありました。 結構発展的なトピックだと思うのですが、自分の中ではすんなり理解できた気がしました。 というのも、最近&quot;単体テストの考え方/使い方&quot;という本を読み進めていて、テストするべき対象について学んでいたからです。 なので、&quot;privateなメソッドは何故テストしないのか&quot;について、質問の回答も踏まえて自分なりに説明してみたいと思います。 そもそもテストの対象じゃないから まず、テストの対象とするべきなのは外から見た…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frira100000000.hatenablog.com%2Fentry%2F2023%2F03%2F15%2F234445&quot; title=&quot;privateなメソッドは何故テストしないのか？ - rira100000000のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-15 23:44:45</published>
  <title>privateなメソッドは何故テストしないのか？</title>
  <type>rich</type>
  <url>https://rira100000000.hatenablog.com/entry/2023/03/15/234445</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
