I use the MSBuild runner to run NUnit tests. The 'Run recently failed tests first' feature is ticked but the tests get no reordered.
I'm using TeamCity 4.0.2 build 8222
Build runner: MSBuild
Build file path: Project.msbuild
MSBuild version: Microsoft .NET Framework 3.5
MSBuild tools version: 3.5
Run Platform: x86 (Agents running under xp)
Command line parameters: /p:TestCategory=teamcity /p:TCNunitLauncher=%system.teamcity.dotnet.nunitlauncher%
Run recently failed tests first is ticked
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<Exec Command="$(TCNunitLauncher) ANY x86 NUnit-2.4.8 /category-include:$(TestCategory) $(NUnitAssemblies)" />
Tried to directly call the nunit-console runner once. Also this did not work. For this i changed the Exec Command in the MSBuild script to the following:
Command="vendor\NUnit\nunit-console.exe $(NUnitAssemblies) /noshadow /include=$(TestCategory) /config=Debug"
The nunit-console.exe is checked-in in our repository.
All tests with category 'teamcity' are executed and i can see the on-the-fly tests reporting but the tests run always in the same order.
What am i doing wrong?