Skip to content

Instantly share code, notes, and snippets.

@masanobuimai
Created October 3, 2017 02:04
Show Gist options
  • Save masanobuimai/aae9c894df8687c877dc6a4c7adfb989 to your computer and use it in GitHub Desktop.
Save masanobuimai/aae9c894df8687c877dc6a4c7adfb989 to your computer and use it in GitHub Desktop.
AntでJUnit5のConsole Launherを動かす
<java jar="junit-platform-console-standalone-1.0.0.jar" fork="true">
<arg value="--disable-ansi-colors" />
<arg value="--reports-dir"/>
<arg path="dest/test-result" />
<arg value="-cp"/>
<arg path="dest/classes/java;dest/classes/test;lib/provided;lib/test" />
<arg line="-p com.example" />
<arg line="-n .*Test*$" />
</java>
junit-jupiter-engine-5.0.0.jar
junit-jupiter-api-5.0.0.jar
junit-platform-commons-1.0.0.jar
junit-platform-engine-1.0.0.jar
opentest4j-1.0.0.jar
apiguardian-api-1.0.0.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment