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.
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.
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 executed after a suite. Not supported in Kotlin/Common.
Marks a function to be invoked after each test.
Marks a function to be invoked after each test.
Marks a function to be invoked after each test.
Marks a function to be invoked after each test.
Marks a function to be invoked after each test.
Marks a function to be executed before a suite. Not supported in Kotlin/Common.
Marks a function to be invoked before each test.
Marks a function to be invoked before each test.
Marks a function to be invoked before each test.
Marks a function to be invoked before each test.
Marks a function to be invoked before each test.
Default Asserter implementation to avoid dependency on JUnit or TestNG.
Marks a function as a test.
Marks a function as a test.
Marks a function as a test.
Marks a function as a test.
Marks a function as a test.
Functions
Asserts that the charSequence contains at least one match of the specified regular expression regex, with an optional message.
Asserts that the charSequence contains the specified char, with an optional message.
Asserts that the charSequence contains the specified other char sequence as a substring, with an optional message.
Asserts that the expected array is structurally equal to the actual array, i.e. contains the same number of the same elements in the same order, with an optional message.
Asserts that the expected iterable is structurally equal to the actual iterable, i.e. contains the same number of the same elements in the same order, with an optional message.
Asserts that the expected sequence is structurally equal to the actual sequence, i.e. contains the same number of the same elements in the same order, with an optional message.
Asserts that the difference between the actual and the expected is within an absoluteTolerance, with an optional message.
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 difference between the actual and the illegal is not within an absoluteTolerance, with an optional message.
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.
Takes the given block of test code and doesn't execute it.
Takes the given block of test code and doesn't execute it.
Takes the given block of test code and doesn't execute it.
Takes the given block of test code and doesn't execute it.
Takes the given block of test code and doesn't execute it.