JUnit Edit on GitHub

Cuppa provides a JUnit runner, which is useful when you have existing JUnit tests and a build system that can run them. If you’re using Maven, then we recommend you use Cuppa’s Maven integration instead.

To use the runner, your project will need to depend on org.forgerock.cuppa:cuppa-junit (download it here). Simply annotate your class with JUnit’s @RunWith annotation instead of Cuppa’s @Test annotation:

public class MyCuppaTests {
        describe("something", () -> {
            // ...