← Back to team overview

nunit-core team mailing list archive

[Bug 1064100] [NEW] Void testcase with expected result should be non-runnable

 

Public bug reported:

We currently allow this...

[TestCase(Result = 1)]
public void SomeTest()
{
}

which will fail, but should really report it as non-runnable.

** 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.2

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

Title:
  Void testcase with expected result should be non-runnable

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  We currently allow this...

  [TestCase(Result = 1)]
  public void SomeTest()
  {
  }

  which will fail, but should really report it as non-runnable.

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


Follow ups

References