Skipped

org.specs2.execute.Skipped
case class Skipped(m: String, e: String) extends Result

Skipped result

Attributes

See also

Result for description

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Result
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Types

type SelfType = Skipped

Value members

Concrete methods

override def isSkipped: Boolean

Attributes

Returns

true if the result is a Skipped instance

Definition Classes
def mute: Result

Attributes

Returns

the result with no message

set the number of expectations

set the number of expectations

Attributes

Inherited methods

increment the number of expectations

increment the number of expectations

Attributes

Inherited from:
Result
def coloredStatus(using args: Arguments): String

Attributes

Returns

the colored textual status of the result

Inherited from:
Result
def expectationsNb: Int

number of expectations for a Result The default number is 1 but this could be higher if this result represents the execution of a ScalaCheck property

number of expectations for a Result The default number is 1 but this could be higher if this result represents the execution of a ScalaCheck property

Attributes

Inherited from:
Result
def isError: Boolean

Attributes

Returns

true if the result is an Error instance

Inherited from:
Result
def isFailure: Boolean

Attributes

Returns

true if the result is a Failure instance

Inherited from:
Result
def isIssue: Boolean

Attributes

Returns

true if the result is a failure or an Error

Inherited from:
Result
def isPending: Boolean

Attributes

Returns

true if the result is a Pending instance

Inherited from:
Result
def isSuccess: Boolean

Attributes

Returns

true if the result is a Success instance

Inherited from:
Result
def isSuspended: Boolean

Attributes

Returns

true if the result is a Skipped or Pending

Inherited from:
Result
def isThrownFailure: Boolean

Attributes

Returns

true if the result is a Failure that was thrown like a JUnit assertion error or a NotImplemented exception

Inherited from:
Result
def mapExpected(f: String => String): Result

change this result's expected

change this result's expected

Attributes

Inherited from:
Result
def negate: Result

Attributes

Returns

the negation of this result where a success becomes a failure and vice-versa

Inherited from:
Result
def prependMessage(pre: String): Result

prepend another message and a conjunction depending on the status of this result

prepend another message and a conjunction depending on the status of this result

Attributes

Inherited from:
Result
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def setMessage(msg: String): Result

set the message of a result, keeping the subclass type

set the message of a result, keeping the subclass type

Attributes

Inherited from:
Result
def status: String

Attributes

Returns

the uncolored textual status of the result

Inherited from:
Result
def statusName(using args: Arguments): String

Attributes

Returns

the textual status of the result

Inherited from:
Result
def updateExpected(exp: String): Result

update the expected of a result, keeping the subclass type

update the expected of a result, keeping the subclass type

Attributes

Inherited from:
Result
def updateMessage(f: String => String): Result

change this result's message

change this result's message

Attributes

Inherited from:
Result

Inherited fields

val expected: String

Attributes

Inherited from:
Result
val message: String

Attributes

Inherited from:
Result