Activity log for bug #538070

Date Who What changed Old value New value Message
2010-03-12 13:05:58 Garth Kidd bug added bug
2010-04-15 03:31:06 Charlie Poole summary TestCaseSource run even if test not run Need a way to generate data when test is executed
2010-04-15 03:31:11 Charlie Poole tags feature
2010-04-15 03:31:33 Charlie Poole nunitv2: status New Confirmed
2010-04-15 03:31:38 Charlie Poole nunitv2: importance Undecided High
2010-09-10 22:06:04 Charlie Poole tags feature feature framework
2010-09-10 22:06:36 Charlie Poole affects nunitv2 nunit-3.0
2011-01-21 20:22:11 Cliff Burger bug added subscriber Cliff Burger
2013-10-19 02:02:29 Charlie Poole description NUnit 2.5.2 and 2.5.3 run every method targeted by TestCaseSource, even if the test targeting it is Explicit or the test fixture is Explicit. The behaviour I expect is: NUnit shouldn't run a test's TestCaseSource if the test itself won't be run. Detail: I have an expensive TestCaseSource generating a few hundred thousand permutations and combinations. I've applied Explicit to both the test targeting the source and the fixture surrounding both test and source. NUnit console spends ten minutes needlessly constructing test cases from the TestCaseSource before ignoring them and proceeding with the non-Explicit tests. If I throw NotImplementedException from the first line of the expensive TestCaseSource. NUnit runs the non-Explicit tests immediately. If I put a MessageBox.Show call in the first line, I see the message box. [Bug now tracked at https://github.com/nunit/nunit-framework/issues/3] NUnit 2.5.2 and 2.5.3 run every method targeted by TestCaseSource, even if the test targeting it is Explicit or the test fixture is Explicit. The behaviour I expect is: NUnit shouldn't run a test's TestCaseSource if the test itself won't be run. Detail: I have an expensive TestCaseSource generating a few hundred thousand permutations and combinations. I've applied Explicit to both the test targeting the source and the fixture surrounding both test and source. NUnit console spends ten minutes needlessly constructing test cases from the TestCaseSource before ignoring them and proceeding with the non-Explicit tests. If I throw NotImplementedException from the first line of the expensive TestCaseSource. NUnit runs the non-Explicit tests immediately. If I put a MessageBox.Show call in the first line, I see the message box.
2013-10-19 02:03:18 Charlie Poole tags feature framework github