← Back to team overview

nunit-core team mailing list archive

[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax

 

** Changed in: nunit-3.0
       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/878376

Title:
  Add 'Exactly(n)' to the NUnit constraint syntax

Status in NUnit Test Framework:
  Fix Released
Status in NUnit V2 Test Framework:
  Fix Released

Bug description:
  NUnit allows specifying constraints over IEnumerables using Has.None,
  Has.Some, Has.All. It would be useful to support Has.Exactly(n), which
  will verify that the value only appears in the collection the
  specified number of times.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/878376/+subscriptions


References