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

Feature request: Test File Coverage Support #224

Open
Totto16 opened this issue Apr 10, 2024 · 2 comments
Open

Feature request: Test File Coverage Support #224

Totto16 opened this issue Apr 10, 2024 · 2 comments

Comments

@Totto16
Copy link

Totto16 commented Apr 10, 2024

Since VS Code 1.88 the Test coverage API is stable (see e.g. here or here )

This extension could add this data, from meson, if possible, after the test run has completed, and b_coverage=true.

Not sure if this is the right place, but I think it is, since this extension provides test execution. On the other hand, meson produces a lcov file, that would have to be parsed (there are presumably some libraries for this) and the information from that would be used.

So if this is the wrong place, and this should be supported by other extensions, that specialize on coverage, feel free to say it. But I think, they way it was implemented was thought to be, that the extension implementing the test support also implements that.

@tristan957
Copy link
Contributor

I think this seems like a reasonable request. Thanks for bringing it up. It doesn't sound that difficult. Perhaps you would want to submit a PR?

@Totto16
Copy link
Author

Totto16 commented Apr 10, 2024

I thought that myself, I'll look into it, if I have time 👍🏼
Just opened an issue, so that it can be discussed

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