An open API service indexing awesome lists of open source software.

https://github.com/josdem/junit5-workshop

JUnit5 framework test structure, assertions, assumptions, dependencies.
https://github.com/josdem/junit5-workshop

gradle junit junit-jupiter junit5 junit5-framework maven

Last synced: about 2 months ago
JSON representation

JUnit5 framework test structure, assertions, assumptions, dependencies.

Awesome Lists containing this project

README

          

Junit 5 Workshop
------------------------------------

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

#### To run the project with Gradle

```bash
gradle -Denvironment=DEV test
```

#### To run the project with Maven

```bash
mvn -Denvironment=DEV test
```

#### To execute a single test with Gradle

```bash
gradle test --tests=$testName
```

#### To execute a single test with Maven

```bash
mvn test -Dtest=$testName
```

#### Read this as reference

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