← Back to team overview

nunit-core team mailing list archive

[Bug 615340] [NEW] Give warning if CurrentDirectory is changed

 

Public bug reported:

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.

** Affects: nunitv2
     Importance: Undecided
         Status: New


** Tags: feature

** Tags added: feature

-- 
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: New

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.





Follow ups

References