<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keichanzahorumon0405</author_name>
  <author_url>https://blog.hatena.ne.jp/keichanzahorumon0405/</author_url>
  <blog_title>技術開発日記</blog_title>
  <blog_url>https://kechanzahorumon.hatenadiary.com/</blog_url>
  <categories>
    <anon>Junit</anon>
  </categories>
  <description>Enclosed.classとは別にRunWithアノテーションにTheories.classを追加すると複数パラメータのテストでありがちなコピペを減らすことができるみたい。具体的にはパラメータのパターンで使いたい変数に@DataPointを付与し、テストメソッドに@Theoryを付与すれば、あとは自動的にパラメータの組み合わせ分テストが実施されるといった仕組みになっている。以下は簡単なサンプルです。 ※Stringの変数を２つ書いていますが、Stringの配列でもOKです。 @RunWith(Theories.class) public static class CalcTest { @Da…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkechanzahorumon.hatenadiary.com%2Fentry%2F2012%2F07%2F11%2F121048&quot; title=&quot;Junitのパラメータテスト - 技術開発日記&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>2012-07-11 12:10:48</published>
  <title>Junitのパラメータテスト</title>
  <type>rich</type>
  <url>https://kechanzahorumon.hatenadiary.com/entry/2012/07/11/121048</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
