sam
08/10/2019, 5:15 PMclass LetMePersuadeYou : StringSpec({
beforeTest { println("hello") }
afterTest { println("${it.name} completed with ${it.result}")
"this test should explode" {
throw RuntimeException("Boom")
}
"this test should pass" {
1 shouldBe 1
}
})