| << Back to previous view |
[QB-4241] Add Package files of Google test JUnit Report
|
|
| Status: | Open |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | 16.0.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Martin Falkner | Assigned To: | Steve Luo |
| Resolution: | Unresolved | Votes: | 0 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| Environment: | Servier on Windows, agent on Ubuntu | ||
| File Attachments: |
|
| Description |
|
When using Google Test in combination with CTest to generate XML output, each test produces an individual XML file containing its results. These files can be published very nicely using a JUnit Report viewer.
However, Google Test does not provide structured test names, which results in the Package field of the JUnit report remaining empty. The Test Suite and Test fields are correctly populated, though. It would be very convenient if the Package name could be derived automatically from the filename of the XML report. This would significantly improve navigation and make it much easier to locate specific tests. |
| Comments |
| Comment by Martin Falkner [ 02/Mar/26 06:13 AM ] |
| Screenshot of report with Package "empty" |
| Comment by Martin Falkner [ 02/Mar/26 06:15 AM ] |
| Soure file with test results used by JUnit |
| Comment by Steve Luo [ 11/Mar/26 03:20 PM ] |
| I don't see any failed tests, is it possible to also add some failed/error tests? |
| Comment by Martin Falkner [ 11/Mar/26 06:15 PM ] |
| As requested, same test report but with some failures. |