SelfieExtension

class SelfieExtension(projectConfig: AbstractProjectConfig, settingsAPI: SelfieSettingsAPI = SelfieSettingsAPI()) : Extension, TestCaseExtension, FinalizeSpecListener, AfterProjectListener

Add this to your AbstractProjectConfig, see here for high-level docs.

Constructors

Link copied to clipboard
constructor(projectConfig: AbstractProjectConfig, settingsAPI: SelfieSettingsAPI = SelfieSettingsAPI())

Types

Link copied to clipboard
object Companion

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 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

Called for every test method.