<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keyno63</author_name>
  <author_url>https://blog.hatena.ne.jp/keyno63/</author_url>
  <blog_title>おおくまねこ</blog_title>
  <blog_url>https://www.maigo-name.tokyo/</blog_url>
  <categories>
  </categories>
  <description>内容 備忘録としての内容です。 Javaで開発している際、ユニットテストを実装して動作確認すると思います。 普段は IDE でテストの実行をすると思いますが、その際はテストの実行を選択すれば自動的に設定して、実際に実行したい単位でテスト実行することができます。 コマンドラインから実行した時にもクラス単位、メソッド単位で実行したいな思ったので、その方法についてになります。 具体的な方法 test 実行時にオプションに「--tests」でテストしたいクラス・メソッドを指定すると実行できます。 クラス単位でテストを実行する場合 packages.ClassName というTestクラスがある場合、以…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.maigo-name.tokyo%2Fentry%2F2021%2F10%2F27%2F015355&quot; title=&quot;Gradle で Java のユニットテストを１つのクラス、１つのテストだけ実行する方法 - おおくまねこ&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>2021-10-27 01:53:55</published>
  <title>Gradle で Java のユニットテストを１つのクラス、１つのテストだけ実行する方法</title>
  <type>rich</type>
  <url>https://www.maigo-name.tokyo/entry/2021/10/27/015355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
