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
If the test job fails to generate a report for some reason, and you're using a wildcard to glob for the report, this plugin will report success, even though 0 tests were reported.
I'd say it should fail if there are 0 files returned by the glob and/or 0 tests reported. I'd argue this should happen whether fail-build-on-error is set or not, but that's debatable.
The text was updated successfully, but these errors were encountered:
Reviewed the code of the plugin and if the glob finds no artifacts the command will fail anyways.
So that leaves the other scenario: empty files or no run tests. Which means that this is a feature request for a "minimum amount of tests" to report about
If the test job fails to generate a report for some reason, and you're using a wildcard to glob for the report, this plugin will report success, even though 0 tests were reported.
I'd say it should fail if there are 0 files returned by the glob and/or 0 tests reported. I'd argue this should happen whether
fail-build-on-error
is set or not, but that's debatable.The text was updated successfully, but these errors were encountered: