<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>michisu</author_name>
  <author_url>https://blog.hatena.ne.jp/michisu/</author_url>
  <blog_title>from __future__ import nowhere @ はてな</blog_title>
  <blog_url>https://michisu.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Test</anon>
  </categories>
  <description>JUnitなどを使うユニットテスト。 実際のところ、クラスごとにテストクラスを書くのはけっこう大変だ。 それに、クラスによっては、テストケースを書いたところで動作検証が当り前すぎてあまり役に立たない。 かといってプログラムをたくさんガリガリと書いた後では、テストケースを切り分ける方が大変だったりする。 ということでなかなか書く習慣がつかないわけだが、それでもテストファーストで書くと色々いいことがある。 たとえば、クラスのインタフェースはたしかにきれいになる。早い段階で、テストされるクラスの利用のされ方を意識することになるからだ。 あと、プログラムを書いてから時間が経った後でも、テストケースを見…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmichisu.hatenadiary.org%2Fentry%2F20060818%2Fp1&quot; title=&quot;テストケース - from __future__ import nowhere @ はてな&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>2006-08-18 00:00:00</published>
  <title>テストケース</title>
  <type>rich</type>
  <url>https://michisu.hatenadiary.org/entry/20060818/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
