nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01917
[Bug 878376] [NEW] Add 'One' to the NUnit constraint syntax
Public bug reported:
NUnit allows specifying constraints over IEnumerables using Has.None,
Has.Some, Has.All. It would be useful to support Has.One, which will
verify that the value only appears once in the collection. We may also
consider supporting Has.Exactly(n) as a generalizaion.
** Affects: nunit-3.0
Importance: Medium
Status: Triaged
** Affects: nunitv2
Importance: Medium
Status: Triaged
** Changed in: nunitv2
Status: New => Triaged
** Changed in: nunitv2
Importance: Undecided => Medium
** Changed in: nunitv2
Milestone: None => 2.6.0
** Also affects: nunit-3.0
Importance: Undecided
Status: New
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunit-3.0
Importance: Undecided => Medium
--
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 'One' to the NUnit constraint syntax
Status in NUnit Test Framework:
Triaged
Status in NUnit V2 Test Framework:
Triaged
Bug description:
NUnit allows specifying constraints over IEnumerables using Has.None,
Has.Some, Has.All. It would be useful to support Has.One, which will
verify that the value only appears once in the collection. We may also
consider supporting Has.Exactly(n) as a generalizaion.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/878376/+subscriptions
Follow ups
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2013-10-05
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2011-12-06
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2011-12-06
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Launchpad Bug Tracker, 2011-12-06
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2011-11-26
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2011-11-20
-
[Bug 878376] Re: Add 'Exactly(n)' to the NUnit constraint syntax
From: Charlie Poole, 2011-10-20
-
[Bug 878376] Re: Add 'One' to the NUnit constraint syntax
From: Charlie Poole, 2011-10-20
-
[Bug 878376] Re: Add 'One' to the NUnit constraint syntax
From: Launchpad Bug Tracker, 2011-10-20
-
[Bug 878376] [NEW] Add 'One' to the NUnit constraint syntax
From: Charlie Poole, 2011-10-19
References