<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b1a9id</author_name>
  <author_url>https://blog.hatena.ne.jp/b1a9id/</author_url>
  <blog_title>BullよりElk</blog_title>
  <blog_url>https://b1a9idps.com/</blog_url>
  <categories>
  </categories>
  <description>テスト書いてますか？私は好きです！嫌いな人は多いみたいですけど... Springのテスト部分のリファレンス読んで忘れないうちにまとめよう精神が働いたので書きます。 今回は、@DataJpaTestというレポジトリのテストを書くためのアノテーションを紹介します。 @DataJpaTestアノテーションは、デフォルトでインメモリDBの設定をしたり、@EntityがついたクラスをBean登録したり、@RepositoryついたクラスをBean登録するなどSpring Data JPAレポジトリの設定してくれたりします。 @DataJpaTestのソースコードをのぞいてみるとこんな感じの設定が行われ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb1a9idps.com%2Fposts%2Fdata-jpa-test&quot; title=&quot;@DataJpaTestでRepositoryのテスト - BullよりElk&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>2019-08-21 10:00:00</published>
  <title>@DataJpaTestでRepositoryのテスト</title>
  <type>rich</type>
  <url>https://b1a9idps.com/posts/data-jpa-test</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
