Importing Ant JUnit results gives "Success" when the tests failed to run

I have a build that runs tests that produce results compatible with TeamCity's "Ant JUnit" setting. When the tests run, it correctly reports the number of test failures and successes. But if the tests completely fail to run, producing no XML files, TeamCity reports "Success". I need it to report "Failure". Is there any way to achieve this?

1 comment
Comment actions Permalink

As a workaround you could generate special failure XML report with one test. Or you can use service messages to fail the build:http://www.jetbrains.net/confluence/display/TCD5/Build+Script+Interaction+with+TeamCity

0

Please sign in to leave a comment.