Re: Current Working Directory
"Charlie Poole" <[email protected]> Tue, 20 May 2008 23:29:11 +0200
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <004501c8bac0$8dc90db0$660d0c0a@ferrari> |
Hi Kelly, > It's using your DataSource. My Addin doesn't have anything to > do with this one. So, I think it's a bug at this point unless > there is some property or something I may have messed with > inadvertently. I didn't mean /your/ addin, but whether we are talking test code or addin code, since the rules are defined in one case and undefined in the other - until we decide upon some guarantee. So, do you mean it's code in the property with DataSourceAttribute? If so, that's a new area and I'm open to proposals about whether the current directory should be guaranteed and - if so - to what. Charlie > -Kelly > > On Tue, May 20, 2008 at 3:02 PM, Charlie Poole > <[email protected]> wrote: > > Hi Kelly, > > > > Is this in a test or in your addin code? If the former, > it's a bug, > > because NUnit guarantees that each test is run with the current > > directory set to the location of the test assembly. If it's in an > > addin, there is no guarantee that applies to all addins, but for > > those that load tests, it should also be the location of the test > > assembly. > > > > Charlie > > -------------------------------------------------------------- > ----------- > 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/ > _______________________________________________ > nunit-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-developer > ------------------------------------------------------------------------- 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/