Package-level declarations
Annotations to mark test functions and top-level functions for performing assertions in tests.
Annotations to mark test functions and top-level functions for performing assertions in tests.
Annotations to mark test functions and top-level functions for performing assertions in tests.
Types
Marks a function to be invoked after each test.
Marks a function to be invoked after each test.
Marks a function to be invoked before each test.
Marks a function to be invoked before each test.
Marks a function as a test.
Marks a function as a test.
Functions
Asserts that given function block fails by throwing an exception.
Asserts that a block fails with a specific exception of type exceptionClass being thrown.
Asserts that a block fails with a specific exception of type exceptionClass being thrown.
Asserts that the expression is false
with an optional message.
Asserts that the given block returns false
.
Asserts that the expression is false
with an optional message.
Asserts that the given block returns false
.
Asserts that the actual value is not null
, with an optional message and a function block to process the not-null value.
Asserts that the expression is true
with an optional message.
Asserts that the given block returns true
.
Asserts that the expression is true
with an optional message.
Asserts that the given block returns true
.
Returns an array of stack trace elements, each representing one stack frame. The first element of the array (assuming the array is not empty) represents the top of the stack, which is the place where currentStackTrace function was called from.
Marks a test as having failed if this point in the execution path is reached, with an optional message.