JUnitXmlPrinter

trait JUnitXmlPrinter extends Printer

The JUnitXmlPrinter creates an xml file with the specification execution results

Companion:
object
trait Printer
class Object
trait Matchable
class Any
object JUnitXmlPrinter.type

Type members

Classlikes

case class TestCase(desc: Description, result: Result, time: Long)(implicit args: Arguments)
case class TestSuite(description: Description, className: String, errors: Int, failures: Int, skipped: Int, time: Long, tests: Seq[TestCase])

Value members

Concrete methods

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

Inherited methods

def printSpecification(env: Env): SpecificationStructure => Action[Unit]

convenience method to print a SpecificationStructure using the printer's Fold

convenience method to print a SpecificationStructure using the printer's Fold

Inherited from:
Printer