aspnet/Testing

Flow errors back to VS

davidfowl opened this issue · 3 comments

Flow errors back to VS

Right now the runner only provides messages of type
Discovery : TestDiscovery.TestFound & TestDiscovery.Response
Execution: TestExecution.TestStarted, TestExecution.TestResult and TestExecution.Response

Runner needs to provide VS with Error messages ( if any) so that VS can display the error messages.

Yep, for this item we need to update TestHost to send back a Log message type.

  • Start using this to actually log information in TestHost
  • Implement an ILoggerFactory and provide it to the test runner so that it can log meanful information as well.

Logging messages should be passed back to the IFrameworkHandle provided by VS, which already provides logging support inside the test discovery/execution process.

Hint for anyone trying this: $env:UTE_Diagnostics = 1