Test Suite

In order to use test suites in your project, you need the tapir-execution module.

<dependency>
    <groupId>de.bmiag.tapir</groupId>
    <artifactId>tapir-execution</artifactId>
</dependency>

Test suites compose other test suites or test classes. They are a structural utility. You define a test suite by annotating a class with @TestSuite.

@TestSuite(#[
    MyTestClass,
    MyNestedTestSuite
])
class MyTestSuite {
}

Test suites do not have any members (field, methods). They just declare their children as an attribute list in the @TestSuite annotation.

There are some exceptions, in which test suites do have methods. For instance, if you use the variant management module or the conditional module.

Failure Handling

By default subsequent children are skipped if the execution of one child failed. You can customize this behaviour by annotating the test suite with @ProceedOnFailure.