My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 17: Resharper unit test window does not have correct count for Row[(null)]
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  albert.weinert
Closed:  Jun 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by looney4free, May 09, 2008
What steps will reproduce the problem?
Run the following test case

[RowTest]
[Row("abc")]
[Row("")] // or could use Row[(null)] same effect
[Row("ok")]
public void test(string str)
{
   if(string.IsNullOrEmpty(str))
      Assert.Fail();
   Assert.AreEqual(str, str);
}



What is the expected output? What do you see instead?
* Expected output:
  - Fail on the null or empty string input, pass on anything else

* Actual output:
  - Resharper unit test gui shows it as "not run" (gray).

What version of the product are you using? On what operating system?
Beta 7

Please provide any additional information below.
When debugging it, i think the test case is actually ran but, the gui
doesn't reflect what happened.
 
Comment 1 by looney4free, May 09, 2008
sorry for wrong name. Was posting something else before, but realized count was wrong
because null and "" is treated as some input.
Comment 2 by albert.weinert, Jun 20, 2008
Fixed for Beta 9
Source-Repository Revision 43
Status: Fixed
Owner: albert.weinert
Sign in to add a comment

Hosted by Google Code