Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestContext.Writeline does not output messages. #120

Closed
AbhitejJohn opened this issue Mar 21, 2017 · 0 comments
Closed

TestContext.Writeline does not output messages. #120

AbhitejJohn opened this issue Mar 21, 2017 · 0 comments
Assignees
Milestone

Comments

@AbhitejJohn
Copy link
Contributor

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

@AbhitejJohn AbhitejJohn modified the milestone: S116 Mar 23, 2017
@AbhitejJohn AbhitejJohn self-assigned this Apr 7, 2017
singhsarab pushed a commit to singhsarab/testfx that referenced this issue Apr 8, 2019
…t#120)

* Use polling for socket receive message instead of timeouts.
In design mode client, wait for communication channel to be connected before sending version check. Fix microsoft#110.

* Add test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant