Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML report fails if output file directory does not exist. #285

Closed
nedbat opened this issue Jan 31, 2014 · 3 comments
Closed

XML report fails if output file directory does not exist. #285

nedbat opened this issue Jan 31, 2014 · 3 comments
Labels
bug Something isn't working xml

Comments

@nedbat
Copy link
Owner

nedbat commented Jan 31, 2014

Originally reported by Chris (Bitbucket: offbyone, GitHub: offbyone)


The HTML reporter creates its directory tree as needed, and the XML report should do the same. It currently fails because outfile is opened in control.py instead of allowing the reporter to create it in report_files as it does for the HTMLReportoer.


@nedbat
Copy link
Owner Author

nedbat commented Feb 2, 2014

Thanks, I guess the difference is the HTML report is a whole directory of files, but the XML report is a single file.

@nedbat
Copy link
Owner Author

nedbat commented Feb 3, 2014

Original comment by Chris (Bitbucket: offbyone, GitHub: offbyone)


Pull request opened:

https://bitbucket.org/ned/coveragepy/pull-request/31/resolve-285-precreate-the-xml-reports/diff

@nedbat
Copy link
Owner Author

nedbat commented Feb 14, 2014

Original comment by Chris (Bitbucket: offbyone, GitHub: offbyone)


Any chance this'll be merged?

@nedbat nedbat closed this as completed Mar 1, 2014
@nedbat nedbat added major bug Something isn't working xml labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working xml
Projects
None yet
Development

No branches or pull requests

1 participant