I was playing with dotcover lately and in my build process I need to refer to relative paths, so I switched to latest eap (184.108.40.206) as suggested by this thread in youtrack http://youtrack.jetbrains.net/issue/DCVR-2401 and my configuration file look like this:
As you see I'm using the xunit console runner and xunit tests, if I change to absolute path in dotcover 220.127.116.11 it works (of course, with absolute paths), but for some reasons dotcover eap is not passing my arguments to the xunit runner and I'm getting this error output:
PS C:\src\myproject> dotcover c .\dotcover.xml
JetBrains dotCover Console Runner v18.104.22.168. Copyright (c) 2009-2011 JetBrains s.r.o. All rights reserved.
Coverage session started [3/04/2011 4:14:24 PM]
xUnit.net console test runner (32-bit .NET 4.0.30319.225)
Copyright (C) 2007-10 Microsoft Corporation.
error: file not found: C:\src\myproject\build
Coverage session finished [3/04/2011 4:14:31 PM]
Analysed application exited with code '-1'.
As you see we are passing the working directory, but not the arguments (in this case the test assembly). I've tryied without the WorkingDir and still the same, the arguments are not passed to the xunit console runner
What am I doing wrong?