Demos for the IntelliJ IDEA Livestream in November 2024
Download executable JAR file from Maven Central:
curl --output junit.jar https://oss.sonatype.org/content/repositories/snapshots/org/junit/platform/junit-platform-console-standalone/1.12.0-SNAPSHOT/junit-platform-console-standalone-1.12.0-20241126.075817-258.jarDisplay help message:
java -jar junit.jar --helpShow version of JUnit, Java, and the Operating System:
java -jar junit.jar --versionList test engines included in the standalone JAR file:
java -jar junit.jar enginesCompile classes.
./gradlew buildDiscover containers and tests:
java @junit discover --scan-class-pathExecute all tests:
java @junit execute --scan-class-pathShow test feed:
java @junit execute --scan-class-path --details testfeedDry-run via system property in junit argfile:
java @junit execute --scan-class-path --details testfeedNo more colors, no more escaped control characters:
export NO_COLOR=1
java @junit execute --scan-class-path --details testfeed