Please read it and tell me if there is something that you don't
understand, so I can improve the documentation.
> I guess when using JUnit on top of Jumi, this nesting ability cannot be
> leveraged?
True. In JUnit only one test method may be executed at a time, which is
a subset of what Jumi makes possible: in Jumi a test execution may
contain other tests, so that it's possible to express tests which
consist of multiple steps.
Jumi's JUnit compatibility adapter [1] uses the nesting ability only to
show in the test results that what test class contained the test method.
JUnit's Description class [2] can express only this kind of static nesting.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jumi-tes...@googlegroups.com
Thanks for your answer. I think it would be nice to add in the doc:
- more details about isolation: the doc gives the impression that nested tests are not isolated from their parents but maybe are from their siblings? If you intend to provide Jumi as a drop-in replacement for the JUnit runner then it should have the same semantic, especially regarding isolation.
- the use cases for this feature: again, coming from JUnit it feels hacky that the runner doesn't report the same amount of tests, so there must be a significant use case for that.
Esko Luontola
unread,
Nov 6, 2013, 2:27:31 PM11/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jumi-tes...@googlegroups.com
Bruno Bieth wrote on 4.11.2013 11:01:
> Thanks for your answer. I think it would be nice to add in the doc:
> - more details about isolation: the doc gives the impression that nested
> tests are not isolated from their parents but maybe are from their
> siblings? If you intend to provide Jumi as a drop-in replacement for the
> JUnit runner then it should have the same semantic, especially regarding
> isolation.
> - the use cases for this feature: again, coming from JUnit it feels
> hacky that the runner doesn't report the same amount of tests, so there
> must be a significant use case for that.
Thanks for the feedback. I've improved the documentation to give an
answer to those questions:
- Avoid using the word "isolation", instead talk about a single or
multiple steps.
- Make it explicit that Jumi runs JUnit tests the same way as JUnit
does, because Jumi invokes JUnit.
- Give examples of use cases.