You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the test reporter with 2 reports: surefire and failsafe. It fails with the error
Using test report parser 'java-junit'
Creating test report Test Report
Processing test results for check run Test Report
Error: Processing test results from target/failsafe-reports/failsafe-summary.xml failed
Error: TypeError: Cannot read properties of undefined (reading '$')
To Reproduce
Steps to reproduce the behavior:
Run unit and integration tests for java project. Configure generate test report as follows:
- name: Generate Test Reportuses: dorny/test-reporter@mainwith:
name: Test Reportpath: target/surefire-reports/*.xml,target/failsafe-reports/*.xmlreporter: java-junitfail-on-error: true
Expected behavior
It's able to generate a report with multiple report xmls
The text was updated successfully, but these errors were encountered:
- name: Publish Unit Test Reportuses: dorny/test-reporter@v1if: success() || failure()with:
name: Maven Unit Testspath: target/surefire-reports/*.xmlreporter: java-junit
- name: Publish Integration Test Reportuses: dorny/test-reporter@v1if: success() || failure()with:
name: Maven Integration Testspath: target/failsafe-reports/*.xmlreporter: java-junit
However, it passed on the Publish Unit Test Report but on the Publish Integration Test Report received:
Using test report parser 'java-junit'
Creating test report Maven Integration Tests
Processing test results for check run Maven Integration Tests
Error: Processing test results from target/failsafe-reports/failsafe-summary.xml failed
Error: TypeError: Cannot read properties of undefined (reading '$')
I then realized it was actually erroring out on the failsafe-summary.xml which is just a summary file, it would be good if we could have something like an ignore filter or have the java-junit reporter ignore that file by default.
Describe the bug
Running the test reporter with 2 reports: surefire and failsafe. It fails with the error
To Reproduce
Steps to reproduce the behavior:
Run unit and integration tests for java project. Configure generate test report as follows:
Expected behavior
It's able to generate a report with multiple report xmls
The text was updated successfully, but these errors were encountered: