I have followed the official tutorial (https://statlight.codeplex.com/wikipage?title=TFS%202010%20Tutorial&referringTitle=TFS
) to setup a statlight
build template and used it for my build definition. I have also set True to "Fail Build On Test Failure" in Build Definition -> Process tab ->Automated Tests ->Test Assembly -> Fail Build On Test Failure.
When the build finishes, it shows "Build succeeded" with following test failure info:
2 test runs completed - 71% average pass rate (70% total pass rate)
servicename@hostname 2013-08-09 10:35:01_Any CPU_Debug, 201 of 286 test(s) passed
StatLight TestRun, 28 of 39 test(s) passed
the first one is standard .net tests while the second one is silverlight tests. Both of them ran properly and had some failed tests, but the build still succeeded.
Can anyone shed some light? Thanks in advanced.
PS: we are using
- Windows Server 2003 x86 for build server
- TFS 2010 with build service set to Windows Service mode (not Interactive Process)