mannodermaus
11/06/2017, 11:31 PMmkporwit
11/08/2017, 7:20 PMmkporwit
11/09/2017, 12:11 AMmkporwit
11/09/2017, 12:11 AMmkporwit
11/09/2017, 12:12 AMmkporwit
11/09/2017, 12:12 AMraniejade
11/09/2017, 12:19 AMorg.junit.platform:junit-platform-console
?raniejade
11/09/2017, 12:20 AMMETA-INF/services
file.raniejade
11/09/2017, 12:25 AMimport org.junit.platform.console.options.Details
junitPlatform {
...
details = Details.TREE // FLAT, VERBOSE
}
mkporwit
11/09/2017, 12:29 AMraniejade
11/09/2017, 12:29 AMraniejade
11/09/2017, 12:29 AMmkporwit
11/09/2017, 12:30 AMreline
11/13/2017, 9:02 PMgiven("some context") {
on("executing some action") {
it("should pass") {
assertEquals(2, 2)
}
}
}
sngrekov
11/13/2017, 9:07 PMreline
11/13/2017, 10:43 PMon
group
on("executing some action") {
given("this doesn't work") {
it("will break") {
...
}
}
}
reline
11/13/2017, 10:43 PMartem_zin
11/14/2017, 1:19 AMgroup
, it's an action
, so you better not nest anything in it, unfortunately we can't prevent compiler from allowing you to do that 😞robfletcher
11/14/2017, 4:52 PMrobfletcher
11/14/2017, 4:53 PMdescribe {
on {}
it {}
it {}…
}
but I’m never quite sure if that’s “right”robfletcher
11/14/2017, 4:54 PMartem_zin
11/14/2017, 9:23 PMon
(action
) unless you have really good reasons toartem_zin
11/14/2017, 9:24 PMaction
basically shares state between `test`s inside the action
artem_zin
11/14/2017, 9:24 PMgroup
(`context`/`describe`/`given`) because they execute each test
(it
) separatelyartem_zin
11/14/2017, 9:25 PMrobfletcher
11/14/2017, 10:04 PMjk
11/14/2017, 11:30 PMon
?orangy
artem_zin
11/14/2017, 11:45 PMjk
11/14/2017, 11:46 PM