
Scroll down to see the files add, and changes made
with the changes made during the webinar. with the original code, and checklist which can be used to try it out at home If you're using an IDE such as Clion, you'll be able to run your unit tests with coverage and get the results in a. I’ve added a bunch of useful links and credits to its README. WebIn CMake and CTest, a test is any command returning an exit code. The code is in my fork of Arne Mertz’s commandline-videostore-cpp. 2023 In CLion, you can run CMake applications and tests with code coverage. LTO Visibility SafeStack ShadowCallStack Source-based Code Coverage. CLion includes such features as a smart editor, code generation, code quality assurance. Visual Studio Code is a modern, open-source IDE developed by Microsoft. Improving the tests, with Combination Approvals CLion is a cross-platform C/C++ IDE for Linux, OS X, and Windows. Share Improve this answer Follow answered at 18:07 user7860670 35.2k 4 57 83 2 the question mentions vscode in the title, the text and the tags and they mention linux. For VS Code you can only utilize some command line utils, such as gcov. Using Code Coverage tools to improve the tests Our Squish Coco code coverage tool is a complete, cross-platform, cross-compiler tool chain allowing to analyze the test coverage of C, C++, C and Tcl code. Code coverage reports seems to be available only in real Visual Studio Enterprise edition.
JetBrains Blog Post, with timings, and links to other useful resources.I had a mix of demo and slides: there’s always so much that I want to say in talks, and never enough time, but I really enjoyed the experience, and am grateful for the invitation. Today I gave my webinar demo of adding tests un-tested code in CLion, with Catch2 and Approval Tests.Īs ever, although I find that writing talks and demos takes me longer than I expect, I learn plenty doing the preparation, so the time pays off. JetBrains CLion Webinar: Video, Code and Slides