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

Logger.LogMessage logs a message mutliple times #114

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

Logger.LogMessage logs a message mutliple times #114

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

Comments

@AbhitejJohn
Copy link
Contributor

Steps to reproduce

This came in from a user on a blog post. Add the following piece of code to a TestMethod and run it.

Logger.LogMessage("Hello World");

Expected behavior

Logs "Hello World" to the standard output stream.

Actual behavior

"Hello World" is logged twice to the Standard output and error streams!!

Environment

Scenario: VS IDE.
MSTest.TestFramework: 1.1.11
MSTest.TestAdapter: 1.1.11

@AbhitejJohn AbhitejJohn modified the milestone: S116 Mar 23, 2017
@AbhitejJohn AbhitejJohn self-assigned this Apr 9, 2017
AbhitejJohn added a commit to AbhitejJohn/testfx that referenced this issue Apr 10, 2017
AbhitejJohn added a commit that referenced this issue Apr 12, 2017
* Fix for #114. We were wrapping LogMessageListener over the test methods execution multiple times.

* few cosmetic changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants