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

Investigate coverage for templates #193

Open
tseaver opened this issue Jan 16, 2015 · 1 comment
Open

Investigate coverage for templates #193

tseaver opened this issue Jan 16, 2015 · 1 comment

Comments

@tseaver
Copy link
Contributor

tseaver commented Jan 16, 2015

In http://permalink.gmane.org/gmane.comp.python.testing.general/6187, Ned Batchelder announces support for coverage of non-Python

Although that announcement shows Django template support, he mentions Mako (needing fixes from them) and pluggability for other template systems.

@malthe
Copy link
Owner

malthe commented Jan 17, 2015

I wonder if coverage can be made to catalogue the generated .py files directly. The code generator could then insert appropriate # nocover pragmas if necessary.

I think this is a better approach than instrumenting the template engine which is what I think he's suggesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants