This trait can be mixed in a reporter to allow the exporting of an executed specification to many different formats: html, junit xml, markdown, custom,.
The console reporter executes a Specification and exports the results to the Console Output:
This trait uses Scalaz promises to execute Fragments concurrently
The DefaultSelection trait filters the fragments to execute by filtering Examples:
The DefaultSequence trait sorts the Fragments by making sure Steps will be executed before Examples
This repository store the results in one file per specification, in a special directory
Utility class grouping the total description + map of each fragment to its description
This trait "isolates" examples by replacing their body with another one, created from a clone of the specification.
This trait filters examples based on their description
this case class transports the fragments to execute, grouped in sequences of examples which can be executed concurrently
public trait to create a custom exporter
This reporter will just notify the test interface about test results for the end statistics
Specific events which can be notified to sbt
Trait for exporting the specification as Html files
The Html printer is used to create an Html report of an executed specification.
This trait defines how the specification elements should be translated as xhtml An implementation of that trait must accumulate the results and return the created xhmtl with the xml method
Reports a Specification as an Html page
Descriptions for a seq of Fragments to execute
The JUnitReporter reports a specification by using a JUnit RunNotifier
Trait for exporting the specification as JUnit xml files
The JUnitXml printer is used to create a JUnit xml report of an executed specification.
This trait execute specifications and exports them as JUnit xml files in the target/test-reports directory (by default).
This class computes the 'level' of a given fragment.
Logger with info, failure, error where each new message is displayed on a new line
This outputs the textual results of an executed specification to a LineLogger
Trait for exporting the specification as Markup files.
Reports a Specification as a markdown page
Null implementation for the Exporting trait
This output can be used for testing
This trait can be used for any event concerning the execution of examples seen as a Tree of Fragments.
Report a Specification by notifying execution events to a Notifier
A Reporter will report the execution of a Specification following 3 steps:
This traits provides specialised print methods for message representing different types of results.
Reporter for the test interface defined for sbt
The Selection trait implements the logic for filtering the fragments to execute
The Sequence trait implements the logic for the fragments to execute according to their dependencies
This class refines the AssertionFailedError
from junit
and provides the stackTrace of an exception which occurred during the specification execution
This trait selects examples based on their previous execution
This trait stores the results of an executed specification It also updates the statistics of:
This trait selects fragments based on their tags
Reporter for the test interface defined for sbt
This trait prints the executed fragments results and statistics at the end of the specification
This trait reduces a list of ExecutedFragments to a list of PrintLines.
This reporter can be used to get the result of a specification execution as a String
Implementation of the ResultOutput trait as Text
Table of contents, represented as a NodeSeq