cucumber/cucumber-jvm — pull request #480 by ericmaxwell2003 (2013-03-12 15:32:45+00:00)
Title: Updates for Issue #477 - JUnitFormatter does not put required name attribute

I updated the JUnitFormatter to add attributes
- name
- skipped
- time

The expected JUnit report outputs have been updated accordingly to reflect this.

**Notes:**
**Unit tests**
The name and skipped counts are being tested.

I was not able to easily test the time within the unit tests. Since the test cases are intentionally "skipped" the time is 0 anyway, so the tests pass. In lieu of a unit test, I tested this by using the new version on another project to see that indeed the times add up appropriately. To unit test, I guess I would have to mock out the cucumber.runtime.Runtime class too. If you feel strongly that this is necessary, I'll try to add it.

**Testsuite Name**
Finally, I use the full JUnitFormatter class name as the testsuite name value. It seemed appropriate as it indicates that the test suite is composed of cucumber junit formatted results. I also considered using the name of the class that sets up the cucumber test runner or the full Cucumber test runner class name.