Trait

wvlet.airspec

AirSpec

Related Doc: package airspec

Permalink

trait AirSpec extends AirSpecBase with Asserts with RichAsserts

A base trait to use for writing test cases

Linear Supertypes
RichAsserts, LogSupport, LazyLogger, LoggingMethods, Serializable, 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. Serializable
  8. Asserts
  9. AirSpecBase
  10. PlatformAirSpec
  11. AirSpecSpi
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ShouldBe extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    RichAsserts

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _methodSurfaces: Seq[MethodSurface]

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  5. def after: Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  6. def afterAll: Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def assert(cond: ⇒ Boolean, message: String)(implicit code: SourceCode): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  9. def assert(cond: ⇒ Boolean)(implicit code: SourceCode): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  10. def assertEquals(a: Double, b: Double, delta: Double)(implicit code: SourceCode): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  11. def assertEquals(a: Float, b: Float, delta: Double)(implicit code: SourceCode): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  12. def before: Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  13. def beforeAll: Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  14. def cancel(reason: String = "cancelled")(implicit code: SourceCode): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def configure(design: Design): Design

    Permalink

    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

    Permalink

    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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. def defined: DefinedTarget.type

    Permalink
    Attributes
    protected
    Definition Classes
    RichAsserts
  21. def empty: EmptyTarget.type

    Permalink
    Attributes
    protected
    Definition Classes
    RichAsserts
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  26. def fail(reason: String = "failed")(implicit code: SourceCode): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. def ignore(reason: String = "ignored")(implicit code: SourceCode): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  31. def inTravisCI: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  32. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. def intercept[E <: Throwable](block: ⇒ Unit)(implicit arg0: ClassTag[E], code: SourceCode): E

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. def isScalaJS: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AirSpecSpi
  37. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  38. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. macro def pending: Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  43. def pendingUntil(reason: String = "pending")(implicit code: SourceCode): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  44. macro def scalaJsSupport: Unit

    Permalink

    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
  45. def skip(reason: String = "skipped")(implicit code: SourceCode): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  49. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  54. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Inherited from RichAsserts

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from Asserts

Inherited from AirSpecBase

Inherited from PlatformAirSpec

Inherited from AirSpecSpi

Inherited from AnyRef

Inherited from Any

Ungrouped