nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02781
[Bug 1022810] [NEW] Need ability to turn off combinatorial
Public bug reported:
When you have a combinatorial attribute such as the following:
[Test, Combinatorial]
public void MyTest(
[Values(1,2,3)] int x,
[Values("A","B")] string s)
{
...
}
Sometimes there is an issue with a certain set of values and you need to debug it. Would be nice to just turn off the combinatorial feature (by not having the attribute!), so that this could work for debugging:
[Test, TestCase(3,"A")]
public void MyTest(
[Values(1,2,3)] int x,
[Values("A","B")] string s)
{
...
}
As it is now, you have to completely redo the signature (and put it back after fixing bug/test) or setup a complex break point, etc....
[Test, TestCase(3,"A")]
public void MyTest(
int x,
string s)
{
...
}
** Affects: nunitv2
Importance: Undecided
Status: New
** Tags: feature
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1022810
Title:
Need ability to turn off combinatorial
Status in NUnit V2 Test Framework:
New
Bug description:
When you have a combinatorial attribute such as the following:
[Test, Combinatorial]
public void MyTest(
[Values(1,2,3)] int x,
[Values("A","B")] string s)
{
...
}
Sometimes there is an issue with a certain set of values and you need to debug it. Would be nice to just turn off the combinatorial feature (by not having the attribute!), so that this could work for debugging:
[Test, TestCase(3,"A")]
public void MyTest(
[Values(1,2,3)] int x,
[Values("A","B")] string s)
{
...
}
As it is now, you have to completely redo the signature (and put it back after fixing bug/test) or setup a complex break point, etc....
[Test, TestCase(3,"A")]
public void MyTest(
int x,
string s)
{
...
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1022810/+subscriptions
Follow ups
References