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.
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.
Metadata about a single test case.
Override this class to customize the default pretty-printer.
Implement this trait to customize the default printer
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.
Options used when running a test.
Options used when running a test. It can be built implicitly from a String (@see munit.TestOptionsConversions)
Default printer that does not customize the pretty-printer
Values that have special treatment when evaluating values produced by tests.