Hi Claude! > I would like to work with you on this. That's great! Shortly after writing I started to toy around with the existing tests. Looks like most of the code using JUnit3 that I found also have test suites. So probably simply finding "extends TestCase" and replacing by some annotations won't be enough.
How do you think we can divide the tasks? I don't mind repetitive/manual tasks at all :-) > I also think that we should develop contract tests for our SPI interfaces > (like graph). That's new to me, and looks interesting. But just to see if I understand it correctly, couldn't we achieve the same with categories [1]? This way, tests for the interface "I" (from the example in the GitHub repo) could be orthogonally tested with a category CategoryI. And finally annotate a test suite class with @RunWith(Categories.class) @IncludeCategory(CategoryI.class) @SuiteClasses(...). What would be the advantage of the contract tests over using categories? CheersBruno [1] https://github.com/junit-team/junit/wiki/Categories From: Claude Warren <[email protected]> To: [email protected]; Bruno P. Kinoshita <[email protected]> Sent: Saturday, April 18, 2015 11:14 PM Subject: Re: Work on JENA-380 I was working on this awhile back and got pulled away. I would like to work with you on this. I also think that we should develop contract tests for our SPI interfaces (like graph). https://github.com/Claudenw/junit-contracts On Sat, Apr 18, 2015 at 9:55 AM, Bruno P. Kinoshita <[email protected]> wrote: Hi all, I'm planning to work on JENA-380 [1], migrating tests from JUnit 3 to JUnit 4, and would like to know if anyone else is working on it. The issue includes some new structure for tests too, but I intend to simply remove the old JUnit 3 syntax (e.g. extends TestCase) by annotations. Later we can work on the remaining of the tasks or close the issue and open separate issues for each specific task. Any thoughts? Bruno [1] https://issues.apache.org/jira/browse/JENA-380 -- I like: Like Like - The likeliest place on the webLinkedIn: http://www.linkedin.com/in/claudewarren
