-
Notifications
You must be signed in to change notification settings - Fork 39
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
Strottie cpp cobertura #44
base: main
Are you sure you want to change the base?
Conversation
Thank you for the PR. I tried running the PHP integration tests from this repo https://github.com/andythigpen/nvim-coverage-tests and it looks like there may be problems with the changes:
|
Thanks Andrew for pointing at the UT, I'll investigate and get back with a fix. |
I've started investigating but I didn't get far yet because of issues getting the tests to run at all...
I'll continue fighting my way through when time permits again. Any idea is welcome. Cheers. P.S. My issues are not limited to running the PHP tests: e.g., Python tests have similar issues, |
@strottie can you please share how did you manage to install lua-xmlreader? thanks. |
The main goal is to add Cobertura support in C/C++ languages.
Cobertura was supported for PHP only but the implementation was skipping elements of the XML (when entering children, it would start with a "next" call and skip the first child). The custom APIs of the XML parsing implementation was very hard to follow so I reimplemented in a more structured top-down approach.
The new parser also supports extracting branch coverage information.
Cobertura is now supported for C/C++ and PHP.