v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
Issue Details
Find By ID

The Unit Test Runner does not appear to recognize the newer NUnit 2.5 TestCase attribute

Issue Details

Log in to Track Changes or Edit
B142663
Bug Report
Casey Kramer
Yes
Processed
Fixed
Yes
.NET (IDE Productivity Tools)
CodeRush for Visual Studio .NET
9.3.1 (Beta)
v2009 vol 3.2
Windows XP
Microsoft Visual Studio 2008
12/7/2009 9:57:56 AM
-> Created by Casey Kramer 11/30/2009 6:56:41 PM
Description
Steps to Reproduce
Actual Results
Expected Results

The Unit Test Runner does not appear to be recognizing the newer NUnit 2.5 TestCase attribute. According to the NUnit spec the following test is valid:

[TestCase(1,1,Result=2)]
[TestCase(2,1,Result=3)]
[TestCase(4,1,Result=5)]
public int AddSomeNumbers(int num1, int num2)
{
    return num1 + num2;
}

The above test should generate 3 separate tests runs within the NUnit framework, and all three should pass. Currently this method is not recognized by the Unit Test Runner as a test method, and is ignored.

Thanks!

<- Reviewed by DevExpress Team 12/1/2009 10:43:53 AM
<- Processed (Fixed), Reproduced by DevExpress Team 12/1/2009 11:57:01 AM

Hi Casey,

Thank you for the report, and for the detailed description of the problem.

We've already been informed about this problem. Please check this post:

CodeRush Unit Test Runner and [TestCase] in NUnit 2.5.x

Our developers have already made necessary changes, and they will be included into the next product version (v9.3.2).

Thanks,
Vito

Log in to Track Changes or Edit

Peer-to-Peer Discussion in DevExpress Forums

No discussion on this article has been started yet.

Please login to start discussion.

v
v
Search
Searching Tips