Kotest Assertions
The Kotest Assertions integration provides support for the Kotest Assertions library with its large selection of matchers.
Info
Some Kotest Assertions functions, like assertSoftly and withClue, require a special setup to work safely with multithreaded coroutines. This integration provides such setup.
Otherwise, Kotest Assertions can be used out of the box without this integration.
Getting started🔗
-
Add the integration's dependency to the common or other test source set:
-
Use the following
testConfigparameter at the appropriate point in your test element hierarchy, for example theTestSession:
That's it. There is nothing else to configure.