p

munit

package munit

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. munit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Assertions extends CompileErrorMacro
  2. class Clue[+T] extends Serializable
  3. class Clues extends AnyRef
  4. class ComparisonFailException extends ComparisonFailure with FailExceptionLike[ComparisonFailException]

    The base exception for all comparison failures.

    The base exception for all comparison failures.

    This class exists so that it can extend org.junit.ComparisonFailure, which is recognised by IntelliJ so that users can optionally compare the obtained/expected values in a GUI diff explorer.

  5. class FailException extends AssertionError with FailExceptionLike[FailException] with Serializable
  6. trait FailExceptionLike[T <: AssertionError] extends AnyRef

    The base class for all MUnit FailExceptions.

    The base class for all MUnit FailExceptions.

    Implementation note: this class exists so that we could fix the issue https://youtrack.jetbrains.com/issue/SCL-18255 In order to support the JUnit comparison GUI in IntelliJ we need to extend org.junit.ComparisonFailure, which is a class and not an interface. We can't make munit.FailException extend org.junit.ComparisonFailure since not all "fail exceptions" are "comparison failures". Instead, we introduced munit.ComparisionFailException, which extends org.junit.ComparisonFailure and this base trait. Internally, MUnit should match against FailExceptionLike[_] instead of munit.FailException directly.

  7. class FailSuiteException extends FailException
  8. class Framework extends JUnitFramework
  9. trait FunFixtures extends AnyRef
  10. abstract class FunSuite extends Suite with Assertions with FunFixtures with TestOptionsConversions with TestTransforms with SuiteTransforms with ValueTransforms
  11. class GenericAfterEach[T] extends Serializable
  12. class GenericBeforeEach[T] extends Serializable
  13. class GenericTest[T] extends Serializable

    Metadata about a single test case.

  14. class IgnoreSuite extends Annotation
  15. final class Location extends Annotation with Serializable
  16. class MUnitRunner extends Runner with Filterable with Configurable
  17. trait PlatformSuite extends AnyRef
    Annotations
    @EnableReflectiveInstantiation()
  18. trait Printable extends AnyRef

    Override this class to customize the default pretty-printer.

  19. trait Printer extends AnyRef

    Implement this trait to customize the default printer

  20. abstract class Suite extends PlatformSuite

    The base class for all test suites.

    The base class for all test suites. Extend this class if you don't need the functionality in FunSuite.

    Annotations
    @RunWith( cls = classOf[MUnitRunner] )
  21. trait SuiteTransforms extends AnyRef
  22. class Tag extends munit.internal.junitinterface.Tag with Annotation with Serializable
  23. final class TestOptions extends Serializable

    Options used when running a test.

    Options used when running a test. It can be built implicitly from a String (@see munit.TestOptionsConversions)

  24. trait TestOptionsConversions extends AnyRef
  25. trait TestTransforms extends AnyRef
  26. trait ValueTransforms extends AnyRef

Value Members

  1. val Fail: Tag
  2. val Flaky: Tag
  3. val Ignore: Tag
  4. val Only: Tag
  5. val Slow: Tag
  6. object Assertions extends Assertions
  7. object Clue extends ClueMacro with Serializable
  8. object EmptyPrinter extends Printer

    Default printer that does not customize the pretty-printer

  9. object Location extends LocationMacro with Serializable
  10. object MUnitRunner
  11. object TestOptions extends TestOptionsConversions with Serializable
  12. object TestValues

    Values that have special treatment when evaluating values produced by tests.

Inherited from AnyRef

Inherited from Any

Ungrouped