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

Is it possible to include HEEX files in the coverage? #288

Open
thbar opened this issue Sep 4, 2022 · 0 comments
Open

Is it possible to include HEEX files in the coverage? #288

thbar opened this issue Sep 4, 2022 · 0 comments

Comments

@thbar
Copy link

thbar commented Sep 4, 2022

@ChristianAlexander raised this interesting issue a few months ago (and today I wonder the same), I thought it would be worth creating an issue here, to give this problem a bit more visibility:

https://elixirforum.com/t/heex-template-files-not-included-in-code-coverage/47572

Since the HEEX templates are compiled into functions, I presume there would be a way to make this work (and it would provide a lot of maintenance value, to figure out which templates are actually rendered during the tests).

My understanding is that excoveralls relies on Erlang's cover (https://github.com/parroty/excoveralls/blob/master/lib/excoveralls/cover.ex), but I'm not sure yet where the fix would need to go, if one can be found.

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

1 participant