-
Notifications
You must be signed in to change notification settings - Fork 36
Report 0% on all templates not covered? #71
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
Comments
Any thoughts? |
@nedbat do you have a minute? |
@erdseb I have not been doing work on this plugin recently, or for some time actually. I think this plugin should be finding unused templates. A quick look at the code suggests that only .htm or .html files are considered. Do you have differently named files? Or, can you share a reproducible scenario with us? |
Hi Ned, thanks for your reply! |
@nedbat yes! Please have a look at https://github.com/erdseb/django_coverage_plugin_issue_71_demo |
Any thoughts? |
@nedbat Please have a look at https://github.com/erdseb/django_coverage_plugin_issue_71_demo — I made it because you asked for it. Thank you! |
Thanks for the reproducible case. And sorry it took so long. And extra sorry that the answer is really simple, and I should have thought of it earlier. You need to use the I hope that helps. |
@nedbat I can confirm that use of (At the same time I'm getting a screen full of "already-imported" warnings now that no value of |
The already-imported warnings are now fixed in nedbat/coveragepy#1150 |
Hi!
Thanks for making this plug-in and sharing it with the community as software libre! 👍
I noticed that right now only the templates that are actually touched by existing tests make it into the report, i.e. if no tests gets template X loaded, it will not appear with 0% in the report and hence the resulting picture is more optimistic than reality. Is there a way to get all templates of first party Django apps into the report?
Thanks and best
Sebastian
The text was updated successfully, but these errors were encountered: