A special AssertionError
thrown by utest's macro-powered asserts that
contains metadata about local variables used in the assert expression.
Simplified versions of the errors thrown during compilation, for use with the compileError macro.
Default implementation of Formatter, also used by the default SBT test framework.
Represents something that can format a single test result or a Tree of them.
Information about a value that was logged in one of the macro-powered
assert
functions
Indicates that there was no test to run at the path you provided
Extension methods to allow you to create tests via the "omg"-{ .
Placeholder object used to declare test cases which you don't want to bother naming.
Platform specific stuff that differs between JVM and JS
Checks that one or more expressions are true; otherwises raises an exception with some debugging info
Checks that one or more expressions are true; otherwises raises an exception with some debugging info
Asserts that the given value matches the PartialFunction.
Asserts that the given value matches the PartialFunction. Useful for using pattern matching to validate the shape of a data structure.
Macro powered assert
s of all shapes and sizes.
Asserts that the given expression fails to compile, and returns a CompileError containing the message of the failure.
Asserts that the given expression fails to compile, and returns a CompileError containing the message of the failure. If the expression compile successfully, this macro itself will raise a compilation error.
Checks that one or more expressions all remain true within a certain period of time.
Checks that one or more expressions all remain true within a certain period of time. Polls at a regular interval to check this.
Checks that one or more expressions all become true within a certain period of time.
Checks that one or more expressions all become true within a certain period of time. Polls at a regular interval to check this.
Asserts that the given block raises the expected exception.
Asserts that the given block raises the expected exception. The exception
is returned if raised, and an AssertionError
is raised if the expected
exception does not appear.
Extension methods on Tree[Test]
in order to conveniently run the tests
and aggregate the results
Created by haoyi on 1/24/14.