JIRA-Maven is a very, very cool idea.
Thought for the day. Linking JUnit test cases with your bug tracker.
I wonder how easy this would be to do with JIRA and a Maven plugin?
Should be pretty damn simple. I chatted to Jason a while back about writing a JIRA Service to read the POM and automatically generate projects / versions within JIRA. That would be wicked! (and should only take someone who knows the Maven internals an hour to do!).
[snip much useful info on neat JIRA features]
Ha! Your wish is my command sir. What other integration would you like besides the above? (which should all be easy to do!)
[rebelutionary]
Thanks Mike :-).
If we can do all of the above that'd be pretty cool. Incidentally if you didn't know, when you run unit tests in Maven it creates a whole bunch of text and XML files, one per JUnit test case and the file name is the same name as the unit test. The files are all generated in the target/test-reports directory. The XML contains details of the tests, what worked and didn't along with a bunch of other stuff.
So it should be pretty simple to write a Maven plugin, or Ant task or just a bean, that can take these files and pipe them into JIRA to clear any bugs associated with now, working unit tests, or to reopen any bugs due to unit test cases failing. I guess this should happen whenever a distribution or release build is done.
8:17:58 PM
|