kotest-core / io.kotest.core.spec.style / AnnotationSpec / AfterEach

AfterEach

annotation class AfterEach

Marks a function to be executed after each test

This can be used in AnnotationSpec to mark a function to be executed before a test by Kotest Engine.

See Also

AfterAll

BeforeEach

Constructors

<init>

Marks a function to be executed after each test

AfterEach()