Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (34 sloc) 1.17 KB
Getting Started

{::options parse_block_html="true" /}



Add a test dependency for Cuppa in your project's POM:

    <version>{{ site.cuppa_version }}</version>

See the [Maven integration guide]({{ site.baseurl }}/docs/maven-integration) for details on how to get Maven to run the tests automatically.


We don't yet support Gradle. If you'd like to work on this, let us know on the issue.

Plain Old Jar File

Alternatively, you can download binaries for the [latest release]({{ site.github_url }}/releases/latest).

To run your Cuppa tests, use the Cuppa API:

public class EntryPoint {
    public static void main(String[] args) {
        Runner runner = new Runner();
        TestBlock rootBlock = runner.defineTests(Collections.singletonList(MyTestClass.class));, new DefaultReporter());

Next Steps

Check out [the tutorial]({{ site.baseurl }}/docs/tutorial.html) to learn how to write tests.