nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01582
[Bug 697553] Re: TestContext.CurrentContext.Test.Name always null
According to comments on the cited thread, you are not running the tests
under NUnit, which means there's nothing we can fix. I'm therefore
marking this bug as invalid.
** Changed in: nunitv2
Status: New => Invalid
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/697553
Title:
TestContext.CurrentContext.Test.Name always null
Status in NUnit V2 Test Framework:
Invalid
Bug description:
I asked this first on Stackoverflow
http://stackoverflow.com/questions/4602288/nunit-testcontext-
currentcontext-not-working.
I am using nunit 2.5.9.10348 and trying to extract the current test
name in the TearDown event so I can assign a screengrab filename the
test name however it is always null. The private _context variable
does have the TestName however this is no use to me!
References