Custom Tests

Hello,

How does TeamCity determine if a test passes or fails when using custom tests from within MSBuild? Does it look for the exit code or something else like any stdout?

Edited by: Steven on Sep 11, 2008 9:18 PM

0
1 comment

In case you use custom tests as a process all information that is used is of course exit code. You may write some condition on it inside MSBuild script.

From the other hand, your process may report tests using TeamCity service messages (http://www.jetbrains.net/confluence/x/KAAs, http://www.jetbrains.net/confluence/x/RIB4). This is the way to report all tests to TeamCity in the way build runner do.

Thanks!

0

Please sign in to leave a comment.