← Back to team overview

nunit-core team mailing list archive

[Bug 615340] Re: Give warning if CurrentDirectory is changed

 

** Changed in: nunitv2
   Importance: Undecided => Medium

** Changed in: nunitv2
       Status: New => In Progress

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

-- 
Give warning if CurrentDirectory is changed
https://bugs.launchpad.net/bugs/615340
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: In Progress

Bug description:
In order to prepare for 3.0, detect when user code has changed the CurrentDirectory and issue some sort of warning.

We should also provide a TestContext property that returns the directory containing the test assembly, since that's
one way to avoid messing with CurrentDirectory.

TBD: 
  How the warning is issued.
  Whether the warning is triggered/suppressed by a setting of some kind.





References