← Back to team overview

nunit-core team mailing list archive

Re: [Bug 1022810] Re: Need ability to turn off combinatorial

 

Don't use the GUI for debugging.....directly from the IDE in Visual studio
we can just right click the code in a test and debug or run it...or click
the entire fixture and run it...so never need/use gui...

On Tue, Jul 10, 2012 at 12:49 PM, Charlie Poole <charlie@xxxxxxxxx>
wrote:

> Don't you use the Gui?
>
> On Tue, Jul 10, 2012 at 9:30 AM, Wayne Brantley
> <wayne.brantley@xxxxxxxxx> wrote:
> > Ok, or even an attribute that would just turn it off for
> > now...combinatorial is a great feature...if you do not have to debug it!
> >
> > --
> > You received this bug notification because you are subscribed to NUnit
> > Framework.
> > https://bugs.launchpad.net/bugs/1022810
> >
> > Title:
> >   Need ability to turn off combinatorial
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/nunit-3.0/+bug/1022810/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1022810
>
> Title:
>   Need ability to turn off combinatorial
>
> Status in NUnit 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/nunit-3.0/+bug/1022810/+subscriptions
>

-- 
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/1022810

Title:
  Need ability to turn off combinatorial

Status in NUnit 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/nunit-3.0/+bug/1022810/+subscriptions


References