svenjacobs
03/28/2019, 2:02 PMbeforeGroup but with a greater scope?raniejade
03/28/2019, 11:32 PMsvenjacobs
03/29/2019, 10:53 AMraniejade
04/02/2019, 8:26 AMbeforeGroup inside desribe("Injection") which will be only executed for that group.svenjacobs
04/02/2019, 8:41 AMsvenjacobs
04/02/2019, 8:42 AMraniejade
04/02/2019, 9:28 PMsvenjacobs
04/03/2019, 7:11 AMraniejade
04/03/2019, 9:29 PMbeforeGroup just before the first describe. Just realised that I have a typo in my previous reply 😂 then having on the root scope is fine -> then having one on the root scope is finesvenjacobs
04/04/2019, 9:49 AMbeforeGroup is run as the first test when I run ./gradlew test? Are they called in alphabetical order? So will A_Test.kt run before B_Test.kt? And what if an order is not guaranteed?raniejade
04/04/2019, 11:20 AMbeforeGroup is not global and won’t affect other classes.
class A: Spek({
beforeGroup { ... }
})
class B: Spek({
beforeGroup { ... }
})
beforeGroup on A and B are isolated.svenjacobs
04/04/2019, 11:27 AMraniejade
04/04/2019, 9:34 PM