Improve junit reporting
raniejade opened this issue · 1 comments
raniejade commented
Current runner extends ParentRunner
, which treats the class containing the @RunWith
annotation to be the root test suite. As an improvement we can make every Given
clause as the root test suite.
e.g.
class TestSpec: Speck({
Given("this foo") {
When("this bar") {
Then("foobar") {
...
}
}
}
})
Current runner will have this hierarchy:
TestSpec
--> Given this foo
--> When this bar
--> Then foobar
What we really want is:
Given this foo
--> When this bar
--> Then foobar
raniejade commented
Not possible.