Required dependencies

Update 18th of June 2018: Beginning from Gradle 4.6 there is now native support for JUnit Jupiter. This means that the configuration is now easier.

Update 1st of March 2019: Beginning from JUnit Jupiter 5.4.0 there is is now an aggregator artifact junit-jupiter that transitively pulls in dependencies on junit-jupiter-api, junit-jupiter-params, and junit-jupiter-engine for simplified dependency management. This means that no additional dependencies are required to be able to write parameterized tests.

First, to be able to write JUnit 5 tests we need the junit-jupiter artifact as a dependency in build.gradle: