nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01985
[Bug 882517] Re: NUnit 2.5.10 doesn't recognize TestFixture if there are only TestCaseSource inside
** Changed in: nunitv2
Status: Triaged => Fix Committed
** Also affects: nunit-3.0
Importance: Undecided
Status: New
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunit-3.0
Importance: Undecided => High
** Changed in: nunit-3.0
Assignee: (unassigned) => Charlie Poole (charlie.poole)
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
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