-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Description
Given the following class:
[TestFixture("X\nY\r\nZ")]
public class Tests
{
public Tests(string x) { }
[TestCase("X\nY\r\nZ")]
public void TestCase(string p1) { }
}
NUnit test exploration produces the following results (I removed irrelevant elements and attributes):
<test-suite type="ParameterizedFixture"
fullname="TestProject25.Tests"
classname="TestProject25.Tests">
<test-suite type="TestFixture"
name="Tests("X
Y
Z")"
fullname="TestProject25.Tests("X
Y
Z")"
classname="TestProject25.Tests">
<test-suite type="ParameterizedMethod"
name="TestCase"
fullname="TestProject25.Tests.TestCase"
classname="TestProject25.Tests">
<test-case name="TestCase("X\nY\r\nZ")"
fullname="TestProject25.Tests("X
Y
Z").TestCase("X\nY\r\nZ")"
methodname="TestCase"
classname="TestProject25.Tests" />
</test-suite>
</test-suite>
Note different ways to present control characters that appear inside the values for TestFixture and TestCase.