Void testcase with expected result should be non-runnable

Bug #1064100 reported by Charlie Poole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
Medium
Simone Busoli

Bug Description

We currently allow this...

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

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

Related branches

Changed in nunitv2:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.6.2
Changed in nunitv2:
assignee: nobody → Simone Busoli (simone.busoli)
Changed in nunitv2:
status: Triaged → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.