Skip to content

Quickstart: Maven

Zero-setup path: Surefire JUnit XML

Maven already writes JUnit XML on every mvn test — no plugin needed. Reports land in target/surefire-reports/ as TEST-*.xml.

bash
mvn test
suluctl upload --results ./target/surefire-reports

Richer path: Allure (steps + attachments)

Add the Allure JUnit 5 integration:

xml
<dependency>
    <groupId>io.qameta.allure</groupId>
    <artifactId>allure-junit5</artifactId>
    <version>2.29.1</version>
    <scope>test</scope>
</dependency>

Run mvn test — results land in target/allure-results/ — then:

bash
suluctl upload --results ./target/allure-results

Set SULU_URL / SULU_TOKEN / SULU_PROJECT_ID first (see suluctl). Check the current allure-junit5 version on Maven Central.

Sulu Test Management System