<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yyama1556</author_name>
  <author_url>https://blog.hatena.ne.jp/yyama1556/</author_url>
  <blog_title>山崎屋の技術メモ</blog_title>
  <blog_url>https://www.shookuro.com/</blog_url>
  <categories>
    <anon>JUnit</anon>
    <anon>Java Tips</anon>
    <anon>spring boot</anon>
  </categories>
  <description>Junit を使用したユニットテスト（自動テスト）の基本を以前記事にしました。 www.shookuro.com今回は DB も含めた自動テストのやり方をメモしておきたいと思います。DB 絡みのユニットテストを行う場合、テストケースごとにテーブルのデータを準備したいことがあると思います。DBUnit を使えばあらかじめ用意しておいたデータをテストメソッドごとにテーブルにインポートしてからテストを実行できます。用意しておくデータは csv、xml、Excel 形式が利用できます。参考サイト： DBUnitの導入とxml,Excel,CSVのサンプルプログラム(DBUnit)：技術空間Junit …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shookuro.com%2Fentry%2F2019%2F01%2F20%2F165930&quot; title=&quot;DBUnit を使って Excel からデータを DB にロードする with Spring Boot - 山崎屋の技術メモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yyama1556/20190120/20190120163129.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-20 16:59:30</published>
  <title>DBUnit を使って Excel からデータを DB にロードする with Spring Boot</title>
  <type>rich</type>
  <url>https://www.shookuro.com/entry/2019/01/20/165930</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
