trait AirSpec extends AirSpecBase with Asserts with RichAsserts
A base trait to use for writing test cases
- Alphabetic
- By Inheritance
- AirSpec
- RichAsserts
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Asserts
- AirSpecBase
- PlatformAirSpec
- AirSpecSpi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class ShouldBe extends AnyRef
- Attributes
- protected
- Definition Classes
- RichAsserts
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _methodSurfaces: Seq[MethodSurface]
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def after: Unit
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def afterAll: Unit
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assert(cond: => Boolean, message: String)(implicit code: SourceCode): Unit
- Attributes
- protected
- Definition Classes
- Asserts
- def assert(cond: => Boolean)(implicit code: SourceCode): Unit
- Attributes
- protected
- Definition Classes
- Asserts
- def assertEquals(a: Double, b: Double, delta: Double)(implicit code: SourceCode): Unit
- Attributes
- protected
- Definition Classes
- Asserts
- def assertEquals(a: Float, b: Float, delta: Double)(implicit code: SourceCode): Unit
- Attributes
- protected
- Definition Classes
- Asserts
- def before: Unit
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def beforeAll: Unit
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def cancel(reason: String = "cancelled")(implicit code: SourceCode): Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def configure(d: Design): Design
Configure a global design for this spec.
Configure a global design for this spec.
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def configureLocal(design: Design): Design
Configure a test-case local design in the spec.
Configure a test-case local design in the spec.
Note that if you override a global design in this method, test cases will create test-case local instances (singletons)
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- macro def debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- def defined: DefinedTarget
- Attributes
- protected
- Definition Classes
- RichAsserts
- def design: Design
Provide a global design for this spec.
Provide a global design for this spec.
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def empty: EmptyTarget
- Attributes
- protected
- Definition Classes
- RichAsserts
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def error(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def error(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- def fail(reason: String = "failed")(implicit code: SourceCode): Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ignore(reason: String = "ignored")(implicit code: SourceCode): Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- def inCircleCI: Boolean
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def inTravisCI: Boolean
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- macro def info(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def info(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- def intercept[E <: Throwable](block: => Unit)(implicit arg0: ClassTag[E], code: SourceCode): E
- Attributes
- protected
- Definition Classes
- Asserts
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isScalaJS: Boolean
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def localDesign: Design
Provide a test-case local design in the spec.
Provide a test-case local design in the spec.
Note that if you override a global design in this method, test cases will create test-case local instances (singletons)
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- macro def logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- lazy val logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- macro def pending: Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- def pendingUntil(reason: String = "pending")(implicit code: SourceCode): Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- macro def scalaJsSupport: Unit
This will add Scala.js support to the AirSpec.
This will add Scala.js support to the AirSpec.
Scala.js does not support runtime reflection, so the user needs to explicitly create Seq[MethodSurface] at compile-time. This method is a helper method to populate methodSurfaces automatically.
- Attributes
- protected
- Definition Classes
- AirSpecSpi
- def skip(reason: String = "skipped")(implicit code: SourceCode): Nothing
- Attributes
- protected
- Definition Classes
- Asserts
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- macro def trace(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def trace(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- macro def warn(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
- macro def warn(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods