HtmlPrinter

org.specs2.reporter.HtmlPrinter$
See theHtmlPrinter companion trait
object HtmlPrinter extends HtmlPrinter

Attributes

Companion
trait
Graph
Supertypes
trait HtmlPrinter
trait Printer
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def copyResources(env: Env, options: HtmlOptions): Operation[List[Unit]]

Attributes

Inherited from:
HtmlPrinter
def copySpecResourcesDir(env: Env, base: DirectoryPath, outputDir: DirectoryPath, loader: ClassLoader)(src: DirectoryPath): Operation[Unit]

Attributes

Inherited from:
HtmlPrinter
def finalize(env: Env, specifications: List[SpecStructure]): Action[Unit]

create an index for all the specifications, if required

create an index for all the specifications, if required

Attributes

Inherited from:
HtmlPrinter
def getHtmlOptions(arguments: Arguments): Operation[HtmlOptions]

Get html options, possibly coming from the command line

Get html options, possibly coming from the command line

Attributes

Inherited from:
HtmlPrinter
def makeHtml(template: String, spec: SpecStructure, stats: Stats, timer: SimpleTimer, options: HtmlOptions, arguments: Arguments)(ee: ExecutionEnv): Operation[String]

Create the html file content from:

Create the html file content from:

  • the template
  • the body of the file (built from the specification execution)

Attributes

Inherited from:
HtmlPrinter
def makePandocHtml(spec: SpecStructure, stats: Stats, timer: SimpleTimer, pandoc: Pandoc, options: HtmlOptions, env: Env): Operation[Unit]

Create the Html file by invoking Pandoc

Create the Html file by invoking Pandoc

Attributes

Inherited from:
HtmlPrinter
def prepare(env: Env, specifications: List[SpecStructure]): Action[Unit]

Attributes

Inherited from:
HtmlPrinter
def printHtml(env: Env, spec: SpecStructure, stats: Stats, timer: SimpleTimer): Operation[Unit]

Print the execution results as an Html file

Print the execution results as an Html file

  • copy resources: css, javascript, template
  • create the file content using the template
  • output the file

Attributes

Inherited from:
HtmlPrinter
def printHtmlWithPandoc(env: Env, spec: SpecStructure, stats: Stats, timer: SimpleTimer, pandoc: Pandoc): Operation[Unit]

Print the execution results as an Html file

Print the execution results as an Html file

  • copy resources: css, javascript, template
  • create the file content using the template and Pandoc (as an external process)

Attributes

Inherited from:
HtmlPrinter
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

Attributes

Inherited from:
Printer
def reportMissingSeeRefs(specs: List[SpecStructure], outDir: DirectoryPath)(implicit ee: ExecutionEnv): Operation[Unit]

Attributes

Inherited from:
HtmlPrinter
def sink(env: Env, spec: SpecStructure): AsyncSink[Fragment]

Attributes

Returns

a SinkTask for the Html output

Inherited from:
HtmlPrinter

Inherited fields

val RunAborted: String

Attributes

Inherited from:
HtmlPrinter