Community
Participate
Working Groups
On big test runs the junit results are one long spaghetti of test cases. Maybe one could add the test suite hierarchy level again to add readability.
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.