nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02108
[Bug 882517] Re: NUnit 2.5.10 doesn't recognize TestFixture if there are only TestCaseSource inside
** Changed in: nunit-3.0
Milestone: None => 2.9.6
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/882517
Title:
NUnit 2.5.10 doesn't recognize TestFixture if there are only
TestCaseSource inside
Status in NUnit Test Framework:
Triaged
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
Consider this example:
public class T1
{
[TestCaseSource("GetTestData")]
public void Test1(int i)
{}
public IEnumerable<TestCaseData> GetTestData()
{
yield return new TestCaseData(1);
yield return new TestCaseData(2);
}
}
NUnit 2.5.10 doesn't recognize it as a TestFixture, although in
documentation it's said that TestCaseSource attribute is enough to
treat class as fixture.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/882517/+subscriptions
References