Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
4.5.1
State
Fixed
Assignee
Unassigned
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
5.0.1612.107  
  • Created by   Ron Gross
    2 years ago (19 May 2009 17:18)
  • Updated by   Ron Gross
    2 years ago (19 May 2009 17:32)
  • Jira: RSRP-108314
    (history, comments)
 
RSRP-108314 ExpectedException doesn't work
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
The following test fails when run through R# (it works from nunit itself):

[TestFixture]
public class Class1
{
[ExpectedException(typeof(Exception))]
[Test]
public void Test()
{
throw new Exception("Aasdsda");
}
}

Issue was closed
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Ilya Ryzhenkov
  Ilya Ryzhenkov
19 May 2009 17:31
2 years ago
You probably upgraded NUnit, and they changed property names. Try latest nightly builds, it has been fixed for 4.5.1.