0

cannot show the trace message in Output window when running unit test

tried to use the output file in the property setting, but it does not work

Run a unit test method, it cannot show the trace log messages in Output window, but it can show in debug model.

  //[TestCategory("XXXNonCritical"), TestMethod]
  // public void XXXContainer
  // {
      //test code  
  //    Assert.IsTrue(metaSettingsData.Any());
  // }

expected to see the trace log messages in Output window

1
  • Have you tried to remove the // from the code? Commented Sep 16, 2019 at 17:58

1 Answer 1

0

there is a link of Output in the unit test result where you can see the log.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.