<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Flyway</anon>
    <anon>Java</anon>
  </categories>
  <description>これは、なにをしたくて書いたもの？ JUnitテスト実行時に、Flywayを組み合わせて使いたいなと思いまして。 よくDatabase Riderを使うので、今回はJUnit 5 ExtensionとしてDatabase Riderの実行前にFlywayマイグレーションを動かすように組み込んで みたいと思います。 FlywayとJUnitテスト Spring BootのようにFlywayをサポートしていて、コンテナの起動時に実行してしまうようなものを使ったらいい、では話が終わってしまうので 今回はそのような構成は対象外にします。 Flywayサポートがない状態でもテスト時に実行したい場合は？と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F2024%2F07%2F28%2F231307&quot; title=&quot;Database Riderの実行前にFlywayマイグレーションを行うJUnit 5 Extensionを書いてみる - CLOVER🍀&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>2024-07-28 23:13:07</published>
  <title>Database Riderの実行前にFlywayマイグレーションを行うJUnit 5 Extensionを書いてみる</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/2024/07/28/231307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
