As you noted, TeamCity cannot perform any further build steps for testing errors in NUnit tests with the execution condition "Only if the build status is successful." However, this does not stop the tests until the stage is completed.
Associated Feature Request TW-23766 .
The only workaround I can consider at this time is not to use the NUnit test runner and implement the logic inside the build script. For example, with nunit-console.exe, as Manuel noted. If you decide to follow this route, consider using TeamCity Addin for NUNit .
Yaegor
source share