Details
-
Bug
-
Resolution: Unresolved
-
Low
-
68
-
Description
Hi,
I'm using TSLint to generate a Junit XML file to be reported on by Pipelines.
However, when I run my builds and the XML I've attached to this ticket gets generated in a folder called 'test-reports', I get the following messaging from Pipelines:
_Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4
Found matching test report file /opt/atlassian/pipelines/agent/build/test-reports/lint.xml
Located test suite containing 0 tests, with 0 failures and 0 errors.
Located test suite containing 0 tests, with 0 failures and 0 errors.
Finished scanning for test reports. Found 1 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors._
Pipelines appears to be locating the file correctly and it's even managed to determine that there are two test suites. However, it doesn't appear to have noticed that there are some tests in these suites and some of them are failing (as per the XML).
The only difference I've found between this Junit XML output by TSLint and that of something like a Jest JUnit output is that this is missing some attributes (such as success/failure). However, I would have thought that Pipelines would have been able to infer these figures from the hierarchy?
Attachments
Issue Links
- mentioned in
-
Page Loading...