io.github.frikit.twirlspec.TwirlSpecReporter
See theTwirlSpecReporter companion object
class TwirlSpecReporter(directory: Path) extends Reporter
A report of a test run, as a page to read and as Markdown for a CI summary: how many tests passed, failed, warned and were cancelled, how long they took, and each suite's tests, with a catalogue's checks laid out as a table of rules by language and every failure's message beside it.
Add it to a run, in build.sbt:
Test / testOptions += Tests.Argument(
TestFrameworks.ScalaTest, "-C", "io.github.frikit.twirlspec.TwirlSpecReporter"
)
It writes index.html and report.md to target/twirl-spec-report, or to the directory the twirlspec.report.dir system property or the TWIRLSPEC_REPORT_DIR environment variable names, as each suite finishes and when the run does, and then says where.
Attributes
- Companion
- object
- Source
- TwirlSpecReporter.scala
- Graph
-
- Supertypes
-
trait Reporterclass Objecttrait Matchableclass Any
Members list
In this article