AfterAll
Marks a function to be executed once after all test scenarios in the test suite complete.
On JVM and Android, place this annotation on static functions or functions inside a companion object.
Example Usage
class FormIntegrationTest : E2ETestLifecycle {
companion object {
@AfterAll
fun cleanupDatabase() {
println("Cleaning up global test suite data...")
}
}
}Content copied to clipboard