<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Windymelt</author_name>
  <author_url>https://blog.hatena.ne.jp/Windymelt/</author_url>
  <blog_title>Lambdaカクテル</blog_title>
  <blog_url>https://blog.3qe.us/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>scala</anon>
    <anon>scalatest</anon>
  </categories>
  <description>ScalaのテストフレームワークであるScalaTestでは、他のテストフレームワーク同様に、各テストの前後に特定の処理を挟むためのbefore / afterの仕組みが用意されている。 環境 Scala 3.3.0(2系でも変化はないはず) ScalaTest 3.2.17 各テストの前後に処理を実行させる -- before / after org.scalatest.BeforeAndAfterが提供するbefore と afterを利用することで、テストスイート(テストクラス)中の各テストが開始するタイミングと終了するタイミングとで特定の処理を実行させることができる。例えば、DBに特定…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2023%2F10%2F25%2F185345&quot; title=&quot;ScalaTestでのテスト処理の前後に特定の処理を実行する方法 - Lambdaカクテル&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>2023-10-25 18:53:45</published>
  <title>ScalaTestでのテスト処理の前後に特定の処理を実行する方法</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2023/10/25/185345</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
