-
Notifications
You must be signed in to change notification settings - Fork 624
/
entry.kt
25 lines (18 loc) · 1.05 KB
/
entry.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package io.kotest.framework.multiplatform.embeddablecompiler
object EntryPoint {
// we use a public val to register each spec
const val LauncherValName = "launcher"
// the method invoked to start the tests, must exist on TestEngineLauncher
const val LaunchMethodName = "launch"
// the method invoked on TestEngineLauncher to start the tests
// in JS we use promise() which ultimately calls into GlobalScope.promise on JS platforms
const val PromiseMethodName = "promise"
// the FQN for the class used to launch the MPP engine
const val TestEngineClassName = "io.kotest.engine.TestEngineLauncher"
// the method invoked to add specs to the launcher, must exist on TestEngineLauncher
const val WithSpecsMethodName = "withSpecs"
// the method invoked to add configs on the launcher, must exist on TestEngineLauncher
const val WithConfigMethodName = "withProjectConfig"
// the method invoked to set the team city listener, must exist on TestEngineLauncher
const val WithTeamCityListenerMethodName = "withTeamCityListener"
}