Skip to content

Commit 021a257

Browse files
committed
Add further examples for NUnit
1 parent 9025ab0 commit 021a257

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

TestFrameworkSamples/NUnitProject/BasicTest.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,17 @@ public void TestMethod1()
1616
public void TestMethod2()
1717
{
1818
}
19+
20+
// description not displayed: VS Test Explorer, ReSharper
21+
[Test]
22+
[Description("Test Method 3")]
23+
public void TestMethod3()
24+
{
25+
}
26+
27+
// description is displayed in VS Test Explorer, but ReSharper shows it as a subtest
28+
[TestCase(TestName = "Test Method 4")]
29+
public void TestMethod4()
30+
{
31+
}
1932
}

0 commit comments

Comments
 (0)