← Back to team overview

nunit-core team mailing list archive

[Bug 1052298] Re: Allow TestCaseSource to be an instance of IEnumerable

 

** Changed in: nunitv2
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1052298

Title:
  Allow TestCaseSource to be an instance of IEnumerable

Status in NUnit V2 Test Framework:
  Fix Released

Bug description:
  TestCaseSource currently supports named fields, methods and properties. Since the names are strings, this approach is not type-safe and is hard to refactor. NUnitLite has the ability to simply specify a Type argument to TestCaseSource. The type
  must implement IEnumerable and return test cases when it is used. We should port this feature to standard NUnit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1052298/+subscriptions


References