Skip to content

junit-team/junit5-demos-nov-2024

Repository files navigation

junit5-demos-nov-2024

Demos for the IntelliJ IDEA Livestream in November 2024

Standalone Console Launcher Playbook

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.jar

Display help message:

java -jar junit.jar --help

Show version of JUnit, Java, and the Operating System:

java -jar junit.jar --version

List test engines included in the standalone JAR file:

java -jar junit.jar engines

Compile classes.

./gradlew build

Discover containers and tests:

java @junit discover --scan-class-path

Execute all tests:

java @junit execute --scan-class-path

Show test feed:

java @junit execute --scan-class-path --details testfeed

Dry-run via system property in junit argfile:

java @junit execute --scan-class-path --details testfeed

No more colors, no more escaped control characters:

export NO_COLOR=1
java @junit execute --scan-class-path --details testfeed

About

Demos for the IntelliJ IDEA Livestream in November 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages