Class

munit

FunSuite

Related Doc: package munit

Permalink

abstract class FunSuite extends Suite with Assertions with TestOptionsConversions

Self Type
FunSuite
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FunSuite
  2. TestOptionsConversions
  3. Assertions
  4. Suite
  5. PlatformSuite
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FunSuite()

    Permalink

Type Members

  1. final type AfterEach = GenericAfterEach[TestValue]

    Permalink
    Definition Classes
    Suite
  2. final type BeforeEach = GenericBeforeEach[TestValue]

    Permalink
    Definition Classes
    Suite
  3. abstract class Fixture[T] extends AnyRef

    Permalink

    Definition Classes
    Suite
  4. class FunFixture[T] extends AnyRef

    Permalink
  5. final type Test = GenericTest[TestValue]

    Permalink
    Definition Classes
    Suite
  6. final type TestValue = Any

    Permalink

    The value produced by test bodies.

    The value produced by test bodies.

    Definition Classes
    FunSuiteSuite

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. object FunFixture

    Permalink
  5. def afterAll(): Unit

    Permalink

    Runs once after all test cases and after all suite-local fixtures have been tear down.

    Runs once after all test cases and after all suite-local fixtures have been tear down.

    Definition Classes
    Suite
  6. def afterEach(context: AfterEach): Unit

    Permalink

    Runs after each individual test case.

    Runs after each individual test case.

    Definition Classes
    Suite
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def assert(cond: ⇒ Boolean, clue: ⇒ Any = "assertion failed")(implicit loc: Location): Unit

    Permalink
    Definition Classes
    Assertions
  9. def assertEquals[A, B](obtained: A, expected: B, clue: ⇒ Any = "values are not the same")(implicit loc: Location, ev: =:=[A, B]): Unit

    Permalink
    Definition Classes
    Assertions
  10. def assertNoDiff(obtained: String, expected: String, clue: ⇒ Any = "diff assertion failed")(implicit loc: Location): Unit

    Permalink
    Definition Classes
    Assertions
  11. def assertNotEquals[A, B](obtained: A, expected: B, clue: ⇒ Any = "values are the same")(implicit loc: Location, ev: =:=[A, B]): Unit

    Permalink
    Definition Classes
    Assertions
  12. def assume(cond: Boolean, clue: ⇒ Any = "assumption failed")(implicit loc: Location): Unit

    Permalink
    Definition Classes
    Assertions
  13. def beforeAll(): Unit

    Permalink

    Runs once before all test cases and before all suite-local fixtures are setup.

    Runs once before all test cases and before all suite-local fixtures are setup. An error in this method aborts the test suite.

    Definition Classes
    Suite
  14. def beforeEach(context: BeforeEach): Unit

    Permalink

    Runs before each individual test case.

    Runs before each individual test case. An error in this method aborts the test case.

    Definition Classes
    Suite
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def clue[T](c: Clue[T]): T

    Permalink
    Definition Classes
    Assertions
  17. def clues(clue: Clue[_]*): Clues

    Permalink
    Definition Classes
    Assertions
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def fail(message: String, clues: Clues = new Clues(Nil))(implicit loc: Location): Nothing

    Permalink
    Definition Classes
    Assertions
  21. def fail(message: String, cause: Throwable)(implicit loc: Location): Nothing

    Permalink
    Definition Classes
    Assertions
  22. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def intercept[T <: Throwable](body: ⇒ Any)(implicit T: ClassTag[T], loc: Location): T

    Permalink
    Definition Classes
    Assertions
  26. def isCI: Boolean

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def munitAnsiColors: Boolean

    Permalink
    Definition Classes
    Assertions
  29. def munitCaptureClues[T](thunk: ⇒ T): (T, Clues)

    Permalink
    Definition Classes
    Assertions
  30. def munitExpectFailure(options: TestOptions, body: ⇒ Any): Any

    Permalink
  31. def munitFixtures: Seq[Fixture[_]]

    Permalink

    Functinonal fixtures that can be reused for individual test cases or entire suites.

    Functinonal fixtures that can be reused for individual test cases or entire suites.

    Definition Classes
    Suite
  32. def munitFlaky(options: TestOptions, body: ⇒ Any): Any

    Permalink
  33. def munitFlakyOK: Boolean

    Permalink
  34. def munitIgnore: Boolean

    Permalink
  35. val munitLines: Lines

    Permalink
    Definition Classes
    Assertions
  36. def munitNewTest(test: Test): Test

    Permalink
  37. def munitPrint(clue: ⇒ Any): String

    Permalink
    Definition Classes
    Assertions
  38. def munitRunTest(options: TestOptions, body: ⇒ Any): Any

    Permalink
  39. def munitTestValue(testValue: Any): Any

    Permalink
  40. def munitTests(): Seq[Test]

    Permalink

    The base class for all test suites

    The base class for all test suites

    Definition Classes
    FunSuiteSuite
  41. val munitTestsBuffer: ArrayBuffer[Test]

    Permalink
  42. def munitTimeout: Duration

    Permalink
  43. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  47. def test(options: TestOptions)(body: ⇒ Any)(implicit loc: Location): Unit

    Permalink
  48. implicit def testOptionsFromString(name: String)(implicit loc: Location): TestOptions

    Permalink

    Implicitly create a TestOptions given a test name.

    Implicitly create a TestOptions given a test name. This allows writing test("name") { ... } even if test accepts a TestOptions

    Definition Classes
    TestOptionsConversions
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )

Inherited from TestOptionsConversions

Inherited from Assertions

Inherited from Suite

Inherited from PlatformSuite

Inherited from AnyRef

Inherited from Any

Ungrouped