Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

allure-scalatest

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.

Supported Versions

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

Installation

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>" % Test

Setup

Register 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")

Report Output

  • ScalaTest suites and tests.
  • Passed, failed, canceled, ignored, and aborted events.
  • Labels, links, parameters, status, and status details.