JUnitXmlPrinter

org.specs2.reporter.JUnitXmlPrinter
case class JUnitXmlPrinter(env: Env) extends Printer

The JUnitXmlPrinter creates an xml file with the specification execution results

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Printer
class Object
trait Matchable
class Any
Show all

Members list

Type members

Classlikes

case class TestCase(desc: Description, result: Result, time: Long)(using args: Arguments)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TestSuite(description: Description, className: String, errors: Int, failures: Int, skipped: Int, time: Long, tests: Seq[TestCase])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def descriptionFold(spec: SpecStructure, stats: Stats): AsyncFold[(Fragment, Description), TestSuite]
def descriptions(spec: SpecStructure, fragments: List[Fragment])(ee: ExecutionEnv): Map[Fragment, Description]
def finalize(specs: List[SpecStructure]): Action[Unit]
def outputDirectory(arguments: Arguments): DirectoryPath
def prepare(specs: List[SpecStructure]): Action[Unit]
def saveResults(spec: SpecStructure): ((Stats, List[Fragment])) => Action[Unit]
def sink(spec: SpecStructure): AsyncSink[Fragment]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product