Trait

wvlet.airframe.spec

AirSpec

Related Doc: package spec

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 before: Unit

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. 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
  15. 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
  16. macro def debug(message: Any, cause: Throwable): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  33. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  37. macro def pending: Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    Asserts
  39. 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
  40. def skip(reason: String = "skipped")(implicit code: SourceCode): Unit

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  49. 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