Packages

trait AirSpec extends AirSpecBase with Asserts with RichAsserts

A base trait to use for writing test cases

Linear Supertypes
RichAsserts, LogSupport, LazyLogger, LoggingMethods, Serializable, Asserts, AirSpecBase, PlatformAirSpec, AirSpecSpi, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AirSpec
  2. RichAsserts
  3. LogSupport
  4. LazyLogger
  5. LoggingMethods
  6. Serializable
  7. Asserts
  8. AirSpecBase
  9. PlatformAirSpec
  10. AirSpecSpi
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ShouldBe extends AnyRef
    Attributes
    protected
    Definition Classes
    RichAsserts

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _methodSurfaces: Seq[MethodSurface]
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  5. def after: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  6. def afterAll: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def assert(cond: => Boolean, message: String)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  9. def assert(cond: => Boolean)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  10. def assertEquals(a: Double, b: Double, delta: Double)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  11. def assertEquals(a: Float, b: Float, delta: Double)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  12. def before: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  13. def beforeAll: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  14. def cancel(reason: String = "cancelled")(implicit code: SourceCode): Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  15. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def configure(d: Design): Design

    Configure a global design for this spec.

    Configure a global design for this spec.

    Attributes
    protected
    Definition Classes
    AirSpecSpi
  17. 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
  18. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. def defined: DefinedTarget
    Attributes
    protected
    Definition Classes
    RichAsserts
  21. def design: Design

    Provide a global design for this spec.

    Provide a global design for this spec.

    Attributes
    protected
    Definition Classes
    AirSpecSpi
  22. def empty: EmptyTarget
    Attributes
    protected
    Definition Classes
    RichAsserts
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  26. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  27. def fail(reason: String = "failed")(implicit code: SourceCode): Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  28. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def ignore(reason: String = "ignored")(implicit code: SourceCode): Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  32. def inCircleCI: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  33. def inTravisCI: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  34. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  36. def intercept[E <: Throwable](block: => Unit)(implicit arg0: ClassTag[E], code: SourceCode): E
    Attributes
    protected
    Definition Classes
    Asserts
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isScalaJS: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  39. 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
  40. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  41. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. macro def pending: Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  46. def pendingUntil(reason: String = "pending")(implicit code: SourceCode): Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  47. 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
  48. def skip(reason: String = "skipped")(implicit code: SourceCode): Nothing
    Attributes
    protected
    Definition Classes
    Asserts
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  52. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  57. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Inherited from RichAsserts

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Asserts

Inherited from AirSpecBase

Inherited from PlatformAirSpec

Inherited from AirSpecSpi

Inherited from AnyRef

Inherited from Any

Ungrouped