object LoginSpec: ApplicationSpek({ val username: String by param("default-username") val password: String by param("default-password") setup { stage -> ... } step("input username") { ... } step("input password") { .. } step("click login button") { ... } verify("I should be at the dashboard page.") { ... } }) object DashboardSpec: ApplicationSpek({ setup { stage -> ... } include(LoginSpec, "username" to "username1", "password" to "password1") step("do something") { ... } step("then do this") { ... } verify("this should happen") { ... } })