<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masanobuimai</author_name>
  <author_url>https://blog.hatena.ne.jp/masanobuimai/</author_url>
  <blog_title>marsのメモ</blog_title>
  <blog_url>https://masanobuimai.hatenadiary.org/</blog_url>
  <categories>
    <anon>memo</anon>
  </categories>
  <description>うーん，落とし穴っていうほど大げさなモノじゃないんだけど，JUnit3当たり前にできてたことがJUnit4でできないものもあるよって話。その代表例が，アノテーションの継承ができない事。 事の善し悪しは置いておくが，よくテストケースのバリエーション作りに，親（抽象）クラスに基本となるテストメソッドを定義しておき，それをテンプレとして子（具象）クラスでパラメタ変えたりしてたわけだ。簡単にコードで示すとこんな事。 public class JUnit3Super extends TestCase { public void testテストケース１() { ... } public void test…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasanobuimai.hatenadiary.org%2Fentry%2F20071015%2F1192410152&quot; title=&quot; JUnit4の落とし穴（アノテーションは継承されない） - marsのメモ&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>2007-10-15 10:02:32</published>
  <title> JUnit4の落とし穴（アノテーションは継承されない）</title>
  <type>rich</type>
  <url>https://masanobuimai.hatenadiary.org/entry/20071015/1192410152</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
