org.specs2.reporter
Members list
Type members
Classlikes
This line logger tries to respect line breaks in the original text.
This line logger tries to respect line breaks in the original text.
So if the original text is: Hello world\nHow are you? and we call infoLog("Hello world\n"); infoLog("How are you?")
Then there will be only 2 lines displayed and not 3 (2 for the first infoLog, 1 for the second one)
Attributes
- Supertypes
- Known subtypes
-
class SbtPrinterLogger
Notifier that prints out to the console
Notifier that prints out to the console
Attributes
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CustomInstances.type
Attributes
- Supertypes
-
class HtmlPrintertrait Serializabletrait Producttrait Equalstrait Printerclass Objecttrait Matchableclass AnyShow all
Default implementation of a Reporter using specs2 Printers
Default implementation of a Reporter using specs2 Printers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Reporterclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogLineclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogLineclass Objecttrait Matchableclass AnyShow all
Create the body of an html file reporting a specification execution
Create the body of an html file reporting a specification execution
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object HtmlBodyPrinter
Attributes
- Companion
- trait
- Supertypes
- Self type
-
HtmlBodyPrinter.type
Options for the Html generation
Options for the Html generation
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HtmlOptions.type
Printer for html files
Printer for html files
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Printerclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DefaultHtmlPrinter
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HtmlPrinter.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogLineclass Objecttrait Matchableclass AnyShow all
Create Description objects from the specification fragments and arrange them as a tree
Create Description objects from the specification fragments and arrange them as a tree
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object JUnitDescriptions
Attributes
- Companion
- trait
- Supertypes
-
trait JUnitDescriptionstrait ExecutionOrigintrait Stacktracesclass Objecttrait Matchableclass AnyShow all
- Self type
-
JUnitDescriptions.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The JUnitPrinter sends notifications to JUnit's RunNotifier
The JUnitPrinter sends notifications to JUnit's RunNotifier
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Printerclass Objecttrait Matchableclass AnyShow all
The JUnitXmlPrinter creates an xml file with the specification execution results
The JUnitXmlPrinter creates an xml file with the specification execution results
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Printerclass Objecttrait Matchableclass AnyShow all
ADT for logging strings as info, warning or errors
ADT for logging strings as info, warning or errors
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MarkdownOptions.type
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MarkdownPrinter.type
This trait allows to remove any console display during the execution of an example
This trait allows to remove any console display during the execution of an example
Of course it needs to be understood that the output might be completely messed up when executing specifications and examples concurrently
Attributes
This trait allows to remove any console display during the execution of the examples of a Specification
This trait allows to remove any console display during the execution of the examples of a Specification
Attributes
- Supertypes
This trait can be used for any event concerning the execution of examples seen as a Tree of Fragments.
This trait can be used for any event concerning the execution of examples seen as a Tree of Fragments.
A pair of contextStart/contextEnd calls delimits a sequence of children in that tree.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ConsoleNotifiertrait SilentNotifier
A Printer can be created from a Notifier implementation
A Printer can be created from a Notifier implementation
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
- Self type
-
NullOutputStream.type
Representation of the Pandoc executable
Representation of the Pandoc executable
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A Printer is essentially defined by a FoldM sink that:
A Printer is essentially defined by a FoldM sink that:
- can run a AsyncStream[Fragment]
- uses an AsyncSink for side-effects and
- accumulates state for final reporting
See TextPrinter for an example of such a Printer
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HtmlPrinterclass DefaultHtmlPrinterclass JUnitPrinterclass JUnitXmlPrinterclass MarkdownPrinterclass SbtPrinterclass TextPrinterShow all
Create printers based on their class names and the arguments passed by the user Note that this operation might fail if the corresponding printer classes are not on the class path
Create printers based on their class names and the arguments passed by the user Note that this operation might fail if the corresponding printer classes are not on the class path
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PrinterFactory.type
Logger with info, failure, error where each new message is displayed on a new line
Logger with info, failure, error where each new message is displayed on a new line
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait BufferedPrinterLoggerclass SbtPrinterLogger
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrinterLogger.type
A reporter executes a list of specification and return statistics representing the execution results.
A reporter executes a list of specification and return statistics representing the execution results.
A full list of specification is passed instead of just one specification because it gives the possibility to the reporter to prepare and finalize the reporting according to the needs of each Printer (see the Printer doc)
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultReporter
Sbt events for a given TaskDef and event handler
Sbt events for a given TaskDef and event handler
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Text printer for Sbt
Text printer for Sbt
It delegates the console printing to a normal text printer but using the Sbt loggers It also publishes events (success, error, skipped, pending) to Sbt
Attributes
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SbtPrinter.type
Line logger using sbt's loggers
Line logger using sbt's loggers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BufferedPrinterLoggertrait PrinterLoggerclass Objecttrait Matchableclass AnyShow all
Functions used to create an index and a search page for the generated html pages
Functions used to create an index and a search page for the generated html pages
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Implementation of the Show trait to allow the drawing of Tree[Description]
Implementation of the Show trait to allow the drawing of Tree[Description]
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ShowDescription
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ShowDescription.type
Notifier which does not notify at all
Notifier which does not notify at all
It can be subclassed so that just one method is overridden
Attributes
- Supertypes
This class refines the AssertionFailedError from junit and provides the stackTrace of an exception which occurred during the specification execution
This class refines the AssertionFailedError from junit and provides the stackTrace of an exception which occurred during the specification execution
Attributes
- Supertypes
-
class AssertionFailedErrorclass AssertionErrorclass Errorclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Prints the result of a specification execution to the console (using the line logger provided by the environment)
Prints the result of a specification execution to the console (using the line logger provided by the environment)
At the end of the run the specification statistics are displayed as well.
Attributes
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TextPrinter.type