If the junit output file doesn't exist, that should still count as an error on the target.
Review Request #3407 - Created Feb. 1, 2016 and submitted
If the junit output file doesn't exist, that should still count as an error on the target. We have some junit tests in our repo that fail outside of an actual testmethod, so the junit xml output file doesn't get created. If that file doesn't get created, it's a failure of the target, so that target should still be in TestFailedTaskError even though we don't have a testmethod and testclass.
The tests that fail in our repo are quite inscrutable so I can't tell how to create a simple unit test for this. Would it be ok to submit this as-is?
It works on the degenerate tests in our repo.