Closed apop5 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 1.35%. Comparing base (
7cf3382
) to head (0785913
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It should be noted that the scenario in which the error is not truly caught, is when the error happens during the setup before tests start to run. As soon as individual tests run and the the xml is created, the error would be caught. But Aaron has found scenarios where the error and subsequent exiting of the program happens before a single test is run, and we do not catch this.
Description
When a compiled test encounters an error in running, an error will be output to the log but it will not be logged as a CI failures case.
Adding tests failing to run as a CI failure case by incrementing the failure_count.
How This Was Tested
In a Repo where there were errors in the host based tests being executed, saw the messages of format in the CI Log, but CI passed:
ERROR - UnitTest Execution Error: <TestName>
After making this change, the UnitTest Execution errors were reported as CI failures.
Integration Instructions
Unit tests that failed to execute will now be reported as CI errors. This will require the UnitTests to be examined as corrected on a case by case basis.