```class LetMePersuadeYou : StringSpec({ befor...
# kotlintest-devs
s
Copy code
class 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
   }

})