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, AirSpecSpiCompat, 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. AirSpecSpiCompat
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class ShouldBe[A] 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. def after: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  5. def afterAll: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def assert(cond: => Boolean, message: String)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  8. def assert(cond: => Boolean)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  9. def assertEquals(a: Double, b: Double, delta: Double)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  10. def assertEquals(a: Float, b: Float, delta: Double)(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  11. def before: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  12. def beforeAll: Unit
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  13. def cancel(reason: String = "cancelled")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. def defaultExecutionContext: ExecutionContext

    Provide a platform-independent execution context for async testing

    Provide a platform-independent execution context for async testing

    Attributes
    protected
    Definition Classes
    AirSpecSpi
  18. def defined: OptionTarget
    Attributes
    protected
    Definition Classes
    RichAsserts
  19. def design: Design

    Provide a global design for this spec.

    Provide a global design for this spec.

    Attributes
    protected
    Definition Classes
    AirSpecSpi
  20. def empty: OptionTarget
    Attributes
    protected
    Definition Classes
    RichAsserts
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  24. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. def fail(reason: String = "failed")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def ignore(reason: String = "ignored")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  29. def inCI: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  30. def inCircleCI: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  31. def inGitHubAction: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  32. def inTravisCI: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  33. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. def intercept[E <: Throwable](block: => Unit)(implicit arg0: ClassTag[E], code: SourceCode): E
    Attributes
    protected
    Definition Classes
    Asserts
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isScala2: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  38. def isScala3: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  39. def isScalaJS: Boolean
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  40. 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
  41. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  42. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def pending(reason: String = "pending")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  47. def pendingUntil(reason: String = "pending")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  48. 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
    AirSpecSpiCompat
  49. def scalaMajorVersion: Int
    Attributes
    protected
    Definition Classes
    AirSpecSpiCompat
  50. def skip(reason: String = "skipped")(implicit code: SourceCode): Unit
    Attributes
    protected
    Definition Classes
    Asserts
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def test(name: String, design: Design = Design.empty): AirSpecTestBuilder

    Register a new test.

    Register a new test. If a custom Design is provided, it will be used to populate the arguments of the test body method.

    Attributes
    protected
    Definition Classes
    AirSpecSpi
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  55. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  60. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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 AirSpecSpiCompat

Inherited from AnyRef

Inherited from Any

Ungrouped