use JUnit Platform
Specifies that JUnit Platform should be used to discover and execute the tests.
Use this option if your tests use JUnit Jupiter/JUnit5.
JUnit Platform supports multiple test engines, which allows other testing frameworks to be built on top of it. You may need to use this option even if you are not using JUnit directly.
Since
4.6
See also
Configure JUnit Platform specific options.
Specifies that JUnit Platform should be used to discover and execute the tests with additional configuration.
Use this option if your tests use JUnit Jupiter/JUnit5.
JUnit Platform supports multiple test engines, which allows other testing frameworks to be built on top of it. You may need to use this option even if you are not using JUnit directly.
The supplied action configures an instance of JUnit Platform specific options.
Since
4.6
Parameters
A closure used to configure JUnit platform options.