Running ncover for multiple test assemblies
I need to get a Coverage report for multiple test assemblies. I know that this is easy if all the test dlls are in the same working directory. But in my case each test dll is in a different location. Ncover is not able to pick up these assemblies. Consider the below example where the unit test dll and integration test dll are in different locations (location1 and location2 are fully qualified path).
<target>
<ncover>
program="C:\Program Files\NCover\NCover.Console.exe"
commandLineExe="${path.nunit.exe}"
workingDirectory="${NAntProjectDirectory}"
commandLineArgs="location1\unittests.dll location2\integrationtests.dll"
coverageFile="release_test_results.xml"
/>
</target>
If I use a similar config then I get an error message (Could not load file or assembly x or one of its dependencies. The system cannot find the file specified.). It would be very helpfull if you could suggest me some solutions.
Thanks
HariKrishnan