Let's say that I have a script that is invoked that runs my tests and produces a JUnit compatible results XML file. Because I want to be able to quarantine failing tests in Bamboo, I therefore ignore the return code from the command invoked in the script.
However, this creates a scenario whereby the test runner could exit prematurely (say, due to an exception), without necessarily causing a test failure (an issue during test fixture?)
The overall test count would drop in this case.
Also, someone could cut out tests (let's assume unintentionally) so that they no longer run at all – also reducing the overall test count.
How can I enable a check for this in Bamboo, and cause a failure?