Re: More NUnit problems.
From: Alexander Shirshov (alexander_at_omnitalented.com)
Date: 03/11/05
- Next message: doug.dossett_at_gmail.com: "ListBox - Can't get SelectedIndex"
- Previous message: Peter Rilling: "Re: Faster Executible??"
- In reply to: Frank Rizzo: "More NUnit problems."
- Next in thread: Frank Rizzo: "Re: More NUnit problems."
- Reply: Frank Rizzo: "Re: More NUnit problems."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Mar 2005 23:52:24 +0700
Frank,
Did you read my reply to your previous post about the same problem?
In short, if you use AppDomain.CurrentDomain.BaseDirectory from your
business.dll to retrieve the path to the accompanying XML you should be OK.
Don't know how to force NUnit not to perform shadow copying and I wouldn't
do that. This is just how NUnit works, embrace it.
HTH,
Alexander
"Frank Rizzo" <none@none.com> wrote in message
news:uE1GIdlJFHA.1308@TK2MSFTNGP15.phx.gbl...
> Here is the situation. I have a DLL that implements needed functionality.
> I'll refer to it as Business.dll. It depends on an XML (it contains
> config info) file being in the same directory as the DLL.
>
> I then wrote some unit tests for the Business DLL in another DLL (in
> another project). I'll refer to this DLL as Test.dll.
>
> So I run Test.dll through NUnit. For reasons I can't understand, the
> Business.dll is copied to a temp folder. Obviously the accompanying XML
> file is not copied there, so the test always fails.
>
> How can I force the NUnit to execute the test in place, not in some temp
> folder?
>
> Thanks.
- Next message: doug.dossett_at_gmail.com: "ListBox - Can't get SelectedIndex"
- Previous message: Peter Rilling: "Re: Faster Executible??"
- In reply to: Frank Rizzo: "More NUnit problems."
- Next in thread: Frank Rizzo: "Re: More NUnit problems."
- Reply: Frank Rizzo: "Re: More NUnit problems."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|