Give warning if CurrentDirectory is changed

Bug #615340 reported by Charlie Poole
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
Medium
Charlie Poole

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.

Related branches

tags: added: feature
Changed in nunitv2:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Charlie Poole (charlie.poole)
Changed in nunitv2:
milestone: none → 2.5.8
tags: added: framework
Changed in nunitv2:
status: In Progress → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.