kotest-core / io.kotest.core.config / AbstractProjectConfig / <init>

<init>

AbstractProjectConfig()

Project-wide configuration. Extensions returned by an instance of this class will be applied to all Spec and TestCases.

Create an object that is derived from this class, name the object ProjectConfig and place it in your classpath in a package called io.kotest.provided.

Kotest will detect its presence and use it when executing tests.

Note: This is a breaking change from versions 2.0 and before, in which Kotest would scan the classpath for instances of this class. It no longer does that, in favour of the predefined package name + classname.