freshen
freshen copied to clipboard
xunit XML output has the same name for all tests
When you run a Freshen note test with the --with-xunit option, the generated XML file has "runTest" as the name for all entries. It would be great if the "name" attribute would reflect the actual title that is being displayed in the console.
Here's a sample
in "those that weren't:" # features/db/db.feature:18 ]]>
Oops, sorry I closed this one by mistake...how do you re-open it?
Please consider adding to FreshenTestCase method:
def id(self):
return "%s.%s"%(self.feature.name, self.scenario.name)
This is later on used in xunit xml's giving you a nice output
I've put in an alternative solution in #35. By creating sub-classes with feature names having scenario names as test methods, any other plugins introspecting test classes will get a consistent view.
I think we can close this now that we have merged #35; or do we want to wait for the release?