ScalaTest reporter integration for Allure Java.
Use this module when your ScalaTest suites should produce Allure results with suites, tests, statuses, labels, links, parameters, and failure details.
- Allure Java 3.x requires Java 17 or newer.
- This module targets ScalaTest 3.2.x.
- The current build validates against ScalaTest 3.2.20.
- Artifacts are cross-built for Scala 2.12.21 and Scala 2.13.18.
Use the artifact that matches your Scala binary version.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-scalatest_2.13")
}sbt:
libraryDependencies += "io.qameta.allure" %% "allure-scalatest" % "<allure-version>" % TestRegister io.qameta.allure.scalatest.AllureScalatest as a ScalaTest reporter.
Example sbt test option:
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-C", "io.qameta.allure.scalatest.AllureScalatest")- ScalaTest suites and tests.
- Passed, failed, canceled, ignored, and aborted events.
- Labels, links, parameters, status, and status details.