Issue with Expected result when running NUnit 2.5.10 tests under 2.6
Bug #935952 reported by
Charlie Poole
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
Critical
|
Charlie Poole |
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.
Related branches
Changed in nunitv2: | |
status: | Triaged → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
NUnit 2.6.1-rc still shows "Method has non-void return value" message if Result = null