Problem with multiple Assemblies
Christian Fröbel <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have two Assemblies with tests -- say TestSuite1 and TestSuite2 --,
residing in *different* directories in the file system.
Now I want to run the suites
* separately
* together in a single run
This works well with nunit-console.
But with nunit (the gui-runner) I'm having problems:
Running the suites separately works well.
For running both suites in a single run I prepared an NUnit-project like
this:
<NUnitProject>
<Settings activeconfig="Debug" />
<Config name="Debug" binpathtype="Auto">
<assembly path="path/to/somewhere/TestSuite1" />
<assembly path="path/to/somewhere/else/TestSuite2" />
</Config>
<Config name="Release" binpathtype="Auto" />
</NUnitProject>
which I located in a directory different from the directories mentioned
above.
Now, when I open this project, I get the following error:
"System.ApplicationException: Unable to load TestSuite1 because it is
not under the AppBase
---> System.IO.FileNotFoundException: Could not load file or assembly
'TestSuite1' or one of its dependencies. The system cannot find the file
specified."
I already get this error when I try to create the project using nunit:
* File->New Project...
* Project->Add Assembly...
* select Assembly, click open ==> error.
Regards,
Christian
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/