raiki_dev’s blog

右も左も分かりませんが、よろしくお願いいたします。

JUnit5

【JUnit5】TestEngine with ID 'junit-platform-suite' failed to discover tests

/*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */ /* Uncomment the following line when using as a custom stylesheet */ /* @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,60…

JUnit5で引数の名前と値を取得する方法

JUnit5でテストメソッドの引数の変数名と値を取得したい場合があり、公式GithubのIssueのコメントで流れているとこを発見したので記載しておく。 下記は@BeforeEachを実施する際にフックするメソッド内で該当情報を取得している例だ。 サンプルとして変数名…