nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01486
[Bug 697553] [NEW] TestContext.CurrentContext.Test.Name always null
Public bug reported:
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!
** Affects: nunitv2
Importance: Undecided
Status: New
--
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:
New
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!
Follow ups
References