Description
It would be very handy if we could control the TestName so we could create nice human-readable test names that show up in the test explorer.
Test frameworks like Mocha support this 😊. One example.
Reference: SO Post
Expected behavior
[TestMethod("My user friendly test name with special characters like | or * or \\ etc.")]
public void MyTest()
{
...
}
or
[TestMethod()]
[TestName("My user friendly test name with special characters like | or * or \\ etc.")]
public void MyTest()
{
...
}
Actual behavior
The method name is the test name 😪.
Description
It would be very handy if we could control the
TestNameso we could create nice human-readable test names that show up in the test explorer.Test frameworks like Mocha support this 😊. One example.
Reference: SO Post
Expected behavior
or
Actual behavior
The method name is the test name 😪.