Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 553 Bytes

Junit 5 Workshop

This project shows how to use JUnit 5 framework test structure, assertions, assumptions and dependencies.

To run the project with Gradle

gradle -Denvironment=DEV test

To run the project with Maven

mvn -Denvironment=DEV test

To execute a single test with Gradle

gradle test --tests=$testName

To execute a single test with Maven

mvn test -Dtest=$testName

Read this as reference

http://josdem.io/techtalk/java/junit5/