Broken HTML logger?
See original GitHub issueDescription
I’m trying to use the HTML logger, but it fails with both dotnet test
and dotnet vstest
.
Steps to reproduce
I simply run dotnet test
or dotnet vstest
.
Expected behavior
An HTML test report is generated.
Actual behavior
When I run dotnet test --logger html
or dotnet vstest <path to DLL> --logger:html
:
Html Logger Error : Could not find a part of the path '<path to test folder>\TestResults\TestResult_<user name>_<computer name>_20200204_163900.xml'.
Environment
- Windows 10, 1909
dotnet --version
says 3.1.100
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
logging - HTML Logger in python
But for HTML logging, I am having only print statements and stderr . My query : Is there someway that HTMLTestRunner.HTMLTestRunner will have ......
Read more >simple html logger that appends into a page's body node
simple html logger that appends it self to a page's body. based on the idea of http://www.songho.ca/misc/logger/files/Logger.js. written with ES6 syntax and ...
Read more >W3C Log Validator
Find the most popular invalid documents, broken links, etc., and prioritize the work to ... The Log Validator was first written with Validation...
Read more >Logging Cookbook — Python 3.11.4 documentation
This page contains a number of recipes related to logging, which have been found useful in the past. For links to tutorial and...
Read more >Network Error Logging - HTTP - MDN Web Docs
Network Error Logging is a mechanism that can be configured via the NEL HTTP response header. This experimental header allows websites and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the exact same issue (on macOS with xUnit). My understanding is that the html logger needs to write and intermediary xml file inside the
TestResults
directory but doesn’t ensure that theTestResults
exists. I worked around the problem by manually creating theTestResults
directory before running the tests.Still can’t repro. Do you have a call stack?