BeforeAll
Marks a function to be executed once before any test scenario in the test suite starts.
On JVM and Android, place this annotation on static functions or functions inside a companion object.
Example Usage
class FormIntegrationTest : E2ETestLifecycle {
companion object {
@BeforeAll
fun prepareDatabase() {
println("Initializing global test suite data...")
}
}
}Content copied to clipboard