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

Support multiple and nested template directories #2

Open
OrangeDog opened this issue May 4, 2018 · 2 comments
Open

Support multiple and nested template directories #2

OrangeDog opened this issue May 4, 2018 · 2 comments

Comments

@OrangeDog
Copy link

OrangeDog commented May 4, 2018

Regardless of how coverage sources are configured, this plugin only ever appear to work on a single top-level template directory.

You can set template_directory to a single sub-directory, but then everything in it reports 0% coverage.

This plugin needs to accept multiple top-level template directories, and it needs to correctly handle templates in sub-directories.

As an added bonus (if possible) it should also configure the sources so this doesn't need to be worked-around:

Only importable files (ones at the root of the tree, or in directories with a __init__.py file) will be considered

@OrangeDog OrangeDog changed the title Coverage doesn't consider nested template sources Support multiple and nested template directories May 4, 2018
@BoPeng
Copy link

BoPeng commented Dec 24, 2022

I am having the same problem so just leave a message with the hope that the author might come back and address this.

@BoPeng
Copy link

BoPeng commented Dec 24, 2022

https://github.com/lfdebrux/coverage-jinja-plugin might have fixed this problem.

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