← Back to team overview

nunit-core team mailing list archive

[Bug 935952] [NEW] Issue with Expected result when running NUnit 2.5.10 tests under 2.6

 

Public bug reported:

The  following test

[TestCase(1, 2, Result = 3)]
[TestCase(3, 4, Result = 7)]
[TestCase(5, 6, Result = 11)]
public int Add_Test(int a, int b)
{
    return a + b;
}

results in 3 non-runnable tests with the message "Method has non-void
return value" when the test references NUnit 2.5.10 (or earlier) and it
is run using the 2.6 gui or console runner.

This is the result of a change in 2.6 affecting compatibility.

** Affects: nunitv2
     Importance: Critical
     Assignee: Charlie Poole (charlie.poole)
         Status: Triaged


** Tags: framework

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

Title:
  Issue with Expected result when running NUnit 2.5.10 tests under 2.6

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  The  following test

  [TestCase(1, 2, Result = 3)]
  [TestCase(3, 4, Result = 7)]
  [TestCase(5, 6, Result = 11)]
  public int Add_Test(int a, int b)
  {
      return a + b;
  }

  results in 3 non-runnable tests with the message "Method has non-void
  return value" when the test references NUnit 2.5.10 (or earlier) and
  it is run using the 2.6 gui or console runner.

  This is the result of a change in 2.6 affecting compatibility.

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


Follow ups

References