-
Notifications
You must be signed in to change notification settings - Fork 182
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
Code coverage testing #2773
Comments
Code coverage analysis (for C++) is possible using the appropriate compiler flags.
produces the following output:
Note that it's important to compile in Debug mode since the compiler may optimise out some code otherwise (running the test may take a while because of this). So doing this with Github Actions' dual core machines is probably going to take a while (edit: actually just tested it and it takes about 2 hours so should be possible). |
|
|
|
Came back to mind given I've been running some post-
cmake
-transition tests for #2772.We are quite aware that our suite of tests is far from exhaustive. If we're going to the effort of performing more comprehensive tests, partly as facilitated by structural changes, and particularly if doing so has exposed a number of previously unknown bugs, it might be worth integrating quantification of coverage, both for C++ and Python, and using those holes to target expansion of the test lists. It would also push us to be more diligent in adding tests for both bug rectification and addition of new features.
The text was updated successfully, but these errors were encountered: