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 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.
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.
This annotation marks the experimental kotlin.test API.
Marks a test or a suite as ignored.
Marks a test or a suite as ignored.
Marks a test or a suite as ignored.
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.
Marks a function as a test.
Marks a function as a test.
Marks a function as a test.
Functions
Asserts that the array contains the specified element, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the charSequence contains at least one match of the specified regular expression regex, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the charSequence contains at least one match of the specified regular expression regex, with an optional message.
Asserts that the iterable contains the specified element, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the map contains the specified key, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the range contains the specified value, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the sequence contains the specified element, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the charSequence contains the specified char, with an error message generated by the lazyMessage lambda otherwise.
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 error message generated by the lazyMessage lambda otherwise.
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, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the expected array is structurally equal to the actual array, with an optional message.
Asserts that the expected iterable is structurally equal to the actual iterable, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the expected iterable is structurally equal to the actual iterable, with an optional message.
Asserts that the expected sequence is structurally equal to the actual sequence, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the expected sequence is structurally equal to the actual sequence, with an optional message.
Asserts that the expected value is equal to the actual value, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the difference between the actual and the expected is within an absoluteTolerance, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the difference between the actual and the expected is within an absoluteTolerance, with an optional message.
Asserts that given function block fails by throwing an exception.
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 the actual expression is false with an error message generated by the lazyMessage lambda otherwise.
Asserts that the expression is false with an optional message.
Asserts that the given block returns false.
Asserts that value is not of type T, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the actual value is not equal to the illegal value, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the difference between the actual and the illegal is not within an absoluteTolerance, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the difference between the actual and the illegal is not within an absoluteTolerance, with an optional message.
Asserts that actual is not the same instance as illegal, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the actual value is null, with an error message generated by the lazyMessage lambda otherwise.
Asserts that expected is the same instance as actual, with an error message generated by the lazyMessage lambda otherwise.
Asserts that the actual expression is true with an error message generated by the lazyMessage lambda otherwise.
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.