Tests with legacy ExpectedException attributes always pass
Bug #498662 reported by
Charlie Poole
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
High
|
Charlie Poole |
Bug Description
Actual behaviour:
The following test when compiled against the NUnit 2.4 'nunit.framework'
passes when executed with NUnit 2.5:
[Test, ExpectedExcepti
public void ShouldFail()
{
throw new NullReferenceEx
}
Expected behaviour:
Test should fail.
This only happens when tests have been compiled against 'nunit.framework'
2.4 or earlier.
I'm guessing it will have something to do with the extra properties in the
2.5 version of this attribute.
[From SF Bug #2837070]
Related branches
Changed in nunitv2: | |
importance: | Undecided → High |
tags: | added: confirm |
Changed in nunitv2: | |
status: | New → Confirmed |
assignee: | nobody → Charlie Poole (charlie.poole) |
Changed in nunitv2: | |
status: | Confirmed → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Needs to be confirmed first.