Reputation: 329
Pytest results are written out as an xml test report - the job generates 2 xml reports. I have configured an Atlassian bamboo job to parse the report using JUnit parser (available in bamboo). It however only parses the first xml file and ignores the 2nd. Is there a way to parse both and display the test results in the Tests tab of the bamboo job?
Upvotes: 0
Views: 859
Reputation: 329
Although adding separate JUnit parser tasks, one for each xml artifact, a comma separated list of artifacts works as well (answer given by @Alex)
Upvotes: 0
Reputation: 329
Adding a single JUnit parser task and selecting the artifact as '*.xml' did not work. I tried creating two JUnit parser tasks, pointed each to read the specific xml file in the bamboo agent build-directory, and, dragged them under 'final' tasks. This seemed to work. Now the test results from both xmls are parsed.
Upvotes: 0