SelfieExtension

class SelfieExtension(projectConfig: AbstractProjectConfig) : Extension, BeforeSpecListener, TestCaseExtension, FinalizeSpecListener, AfterProjectListener

If you're using Kotest, add this to your AbstractProjectConfig. See here for high-level docs.

Constructors

Link copied to clipboard
constructor(projectConfig: AbstractProjectConfig)

Properties

Link copied to clipboard
open val name: String

Functions

Link copied to clipboard
open suspend override fun afterProject()
Link copied to clipboard
open suspend override fun beforeSpec(spec: Spec)
Link copied to clipboard
open suspend override fun finalizeSpec(kclass: KClass<out Spec>, results: Map<TestCase, TestResult>)
Link copied to clipboard
open suspend override fun intercept(testCase: TestCase, execute: suspend (TestCase) -> TestResult): TestResult