Re junit5 api
Scott Morgan <[email protected]> Sun, 9 Mar 2014 06:40:26 -0500
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CANEdHmgZ5amPAA8eCVgs+n3DjhuZzCfngDjtoqvLZ5qL7tE4Ng@mail.gmail.com> |
Hi All,
I have attached a tar ball of my initial code for my suggestion (with no
commits to git), it has all of the tests passing and I modified one of the
tests to illustrate how my additional api could be used;
org.junit.tests.manipulation.SingleMethodTest
lines 78-86;
assertEquals(1, result.getRunCount());
List<TestStats> allStats = result.getTestStats();
assertEquals(1, allStats.size());
TestStats stat = allStats.get(0);
assertEquals(ParameterizedOneTimeSetup.class, stat.getTestClass());
assertEquals("one[0]", stat.getMethodName());
assertEquals(0, stat.getAssertCount());
assertEquals(null, stat.getFailure());
assertEquals(true, stat.isPass());
How should I proceed, I am working on the formatting ...
Cheers,
Scott
[Non-text portions of this message have been removed]