-
Spike
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
5
-
True
-
-
True
-
subs-swatch-lightning
-
-
Both Ibutsu and Report Portal accept XML Surefire reports but don't show run tags and test markers.
It's possible to manipulate them once the report is uploaded by leveraging the APIs (see https://ibutsu-api.insights.corp.redhat.com/api/ui and Report Portal, the Ibutsu OpenAPI spec is wrong in some definitions).
But the ideal solution would be to set tags and markers directly into the XML file. Some JUnit plugin could do the job.
Note that the XML set failed tests as error instead of failure, fix this.
If no solution is found to set them in XML in a native way, one approach that can be adopted is setting metadata in XML by parsing test files with a simple script and update in batch the report.
Acceptance Criteria:
- Test reports uploaded through the new testing framework are tagged properly with component under test and additional markers for each test involved.
- the solution found is maintainable and it's as native as possible (hence no strange scripting is required)
- is blocked by
-
SWATCH-3838 Spike: Investigate options to run component tests
-
- Release Pending
-
- relates to
-
SWATCH-4059 Enhance Report Portal integration with event type and pipeline name tags for improved test analytics
-
- To Do
-