fohrloop/wakepy

Code coverage not shown on windows (inv test)

fohrloop opened this issue · 0 comments

If code coverage is < 100%, the "inv test" script should open HTML coverage report in web browser. This does not work on Windows. The reason is wrong path separator here (tasks.py):

run("coverage html && python -m webbrowser -t htmlcov/index.html")

shoud be:

run("coverage html && python -m webbrowser -t htmlcov\\index.html")

on Windows.