You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This hard-codes writing the file to the current working directory. Could there be a reason to want to write the file elsewhere? If so, it might make sense for write_results to take a path. Then the user can decide if they want it to be relative, or absolute, and can decide the destination. You could still default to current working directory if only a file name is provided, but you'd also need to handle when the destination does not exist. You can see an example of this in pytest-html https://github.com/pytest-dev/pytest-html/blob/master/pytest_html/plugin.py#L89-L90
Originally posted by @davehunt in #151
The text was updated successfully, but these errors were encountered: