CheckReport

io.github.frikit.twirlspec.expect.CheckReport
final case class CheckReport(page: Page, violations: Seq[Violation], subject: String)

The result of evaluating a set of expectations against a page.

Attributes

Source
Expectation.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def errors: Seq[Violation]

The violations that fail the page.

The violations that fail the page.

Attributes

Source
Expectation.scala
def message: String

The message a developer reads when their view test goes red.

The message a developer reads when their view test goes red.

Attributes

Source
Expectation.scala
def passed: Boolean

Whether the page passed: no errors, whatever the warnings.

Whether the page passed: no errors, whatever the warnings.

Attributes

Source
Expectation.scala
def warnings: Seq[Violation]

The violations reported without failing the page.

The violations reported without failing the page.

Attributes

Source
Expectation.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product