Closed
Description
Description
This came from a user report on a blog.
TestContext.WriteLine does not output the messages anywhere.
Steps to reproduce
In a vanilla desktop unit test project, add the following:
public TestContext TestContext
{
get;
set;
}
[TestMethod]
public void TestMethod1()
{
this.TestContext.WriteLine("Hello There");
}
Run the test from Visual Studio.
Expected behavior
That "Hello There" is printed in the TestOutput pane.
Actual behavior
Nothing is printed anywhere.
Environment
MSTest.TestFramework : 1.1.13
MSTest.TestAdapter : 1.1.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment