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
Hi, I dont think PR #214 actually fixes #161, and instead causes a different problem (a subjective one, but still)
Why it doesnt solve #161:
The error in #161 will still fire, as the lines in question are unchanged in #214,
if(results.length===0){core.setFailed(`No test report files were found`)return}
instead, it changes a different behavior that our repo was relying on:
Our workflow job runs tests and does other things as well as running the test reporter, so even with failing tests, i want that job to pass. Hence, i had:
fail-on-error: 'false'
And then the check that was later created would still "fail", providing us with the information that some tests did indeed fail (and not that the testing suite had failed to run).
#214 has now changed that so both the job and the test report check pass even on failing tests, which is a bit confusing to us at least.
Perhaps the ability to control both would be good?
Elsewise, i will probably split the test reporter out into its own job so that can fail on its own.
The text was updated successfully, but these errors were encountered:
So as far as I can gather, with fail-on-error to true, the reports are not generated if any tests fail. So clearly no good if you want to investigate why a test failed and look at the StdOut etc.
If you set fail-on-error to false then failed tests are reported as success - which is surely not what anyone wants either.
So it seems that this plugin is not currently usable.
Hi, I dont think PR #214 actually fixes #161, and instead causes a different problem (a subjective one, but still)
Why it doesnt solve #161:
The error in #161 will still fire, as the lines in question are unchanged in #214,
instead, it changes a different behavior that our repo was relying on:
Our workflow job runs tests and does other things as well as running the test reporter, so even with failing tests, i want that job to pass. Hence, i had:
And then the check that was later created would still "fail", providing us with the information that some tests did indeed fail (and not that the testing suite had failed to run).
#214 has now changed that so both the job and the test report check pass even on failing tests, which is a bit confusing to us at least.
Perhaps the ability to control both would be good?
Elsewise, i will probably split the test reporter out into its own job so that can fail on its own.
The text was updated successfully, but these errors were encountered: