<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyukutyo</author_name>
  <author_url>https://blog.hatena.ne.jp/jyukutyo/</author_url>
  <blog_title>Fight the Future</blog_title>
  <blog_url>https://www.sakatakoichi.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>さて、テスト対象のメソッドを呼び出したあと、どうやって検証しましょう？？こう考えました。 処理 検証の対象 検索 対象メソッドの戻り値 登録 対象テーブルのデータ 更新 対象テーブルのデータ 削除 対象テーブルのデータ なので、テストフレームワークには テーブルと期待値の比較 戻り値と期待値の比較 という2つが必要かなと。 「テーブルと期待値の比較」はすぐにできます。期待値はexcelに記述してInputStreamに変換したあとXlsDataSetのコンストラクタに渡します。XlsDataSetはIDataSetの実装クラスです。 で、テーブルのデータですが、DbUnitのIDatabase…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20061025%2F1161763149&quot; title=&quot;DbUnitのDatabaseTestCaseを継承して独自のテストフレームワークを作る3 - Fight the Future&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-10-26 08:59:09</published>
  <title>DbUnitのDatabaseTestCaseを継承して独自のテストフレームワークを作る3</title>
  <type>rich</type>
  <url>https://www.sakatakoichi.com/entry/20061025/1161763149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
