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).

This can be easily included with the following Maven dependency: ```xml

org.forgerock.cuppa cuppa-junit 1.4.0 test

Simply annotate your class with JUnit's `@RunWith` annotation instead of Cuppa's `@Test` annotation:

```java
@RunWith(CuppaRunner.class)
public class MyCuppaTests {
    {
        describe("something", () -> {
            // ...
        });
    }
}