| Summary: | [build][hudson] group test results in junit view | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||||||
| Component: | Mylyn | Assignee: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P3 | CC: | steffen.pingel, thomas.ehrnhoefer | ||||||||||
| Version: | unspecified | Keywords: | contributed | ||||||||||
| Target Milestone: | 0.7 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Thomas Ehrnhoefer
Turns out they are grouped for a different hudson test build I just connected to. Will investigate further why some test results are not grouped... Created attachment 181233 [details]
patch v1
Ok, it seems some test setups result in a flat hierarchy. Thus for those tests the Junit view will appear flat as well.
This is a tweak of the parsing to introduce the lost level of hierarchy. I am a bit uncertain how robust this will be. I tested it against a test build which appeard hierarchical before, and it still does after applying this patch. And the build I had problems with now also correctly has a test suites hierarchy.
Only information lost is each test suite duration (not for those tests which already had the hierarchy without the patch)
what are your thoughts?
Created attachment 181234 [details]
mylyn/context/zip
Patch looks good to me, it's a much better presentation. I am not worried about the duration of the suites, we could calculate it by summing up the grouped cases but I don't think it's important. Could you adjust the now broken test in JUnitResultGeneratorTest accordingly and add tests for the changes? Created attachment 181240 [details]
patch v2
I guess not checking out the test plugin and thus not breaking any tests locally is not enough, eh?
Created attachment 181241 [details]
mylyn/context/zip
Thanks! I have applied the patch. |