Re: junit 5 api or rather 4.13?
Kevin Cooney <[email protected]> Mon, 10 Mar 2014 10:55:50 -0700
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CAA3E+eUbC1NaqorDGO8SoAj1OqvofA5a=gUvZcJKD95P29txEw@mail.gmail.com> |
If you want data on a per-test basis, why not use a RunListener and associate your data with a Description? No API changes needed. On Mar 10, 2014 10:53 AM, "Scott Morgan" <[email protected]> wrote: > > > Hi Again All, > > After yet more work, I think my suggestions should go into the junit > 4.13+ version of junit. > > I am thinking that the entire Result class should be reworked for junit 5 > and that > > JUnitCore.runClasses > > should actually return a class called Results (note the s for plural) > > > So the basic idea would be that; > > Result would correspond to a single @Test method > > ClassResults would be a List of Result instances for a TestClass > > Results would contain a List of ClassResults instances for a invocation > of JUnitCore.runClasses > >