I use nant as the build runner. and use the Nunit2 task to run the Nunit.
<formatter type="Plain" />
<test assemblyname="../bin/tests/forecast/Tests.dll" />
And the dependant assembly locates at different folder. As long as I copy all the dependant assemblies to the same folder as the Tests.dll. Everything works fine.
I an wondering is that a way to specify the dependant assembly path that nunit2 task can load it that way. Like the "nunit-console.exe", we can create a nunit project which we can use the binpath property to specify the dependant assembly path. For the Nunit2 task in Nnant ot nunit task in MSbuild. Can we specify the dependant assembly path?
I can run "nunit-console.exe" inside nant to run unit test. but TeamCity can not reports tests results on-the-fly.
Nunit works fine with the TeamCity. My problem is the dependant assemply. I don't want to copy all dependant assempliesto the test folder cause lots of test project depend on these assemblies.