Livestreams

Testing Superpowers: Using CLion to Add Tests Easily – Webinar Recording

The recording of our webinar, Testing Superpowers: Using CLion to Add Tests Easily, with Clare Macrae, is now available. Subscribe to our community newsletter to receive notifications about future webinars.

This webinar was produced in response to a question someone asked in Arne Mertz’s "Refactoring C++ Code" webinar: "What can we do if we don’t have tests on the project and can’t easily check the changes introduced by refactorings?" Our speaker, Clare Macrae, is an independent consultant who helps teams streamline their work with legacy and hard-to-test C++ and Qt code. She is also a core contributor to the Approval Tests for C++ library, which makes it really easy to cover legacy code with tests. In this one-hour webinar, she discusses how to add tests for untested code, what the Approval Test approach is, and how code coverage tools can guide your testing.

Timeline:
00:00 Webinar begins
01:53 An Introduction from Clare
04:15 Let’s look at the code
07:24 Dependencies used in the webinar
08:50 Adding Catch2 tests to the project
17:22 Using Approval Test
26:38 Summing up the Approval Test approach
32:45 First QA session
44:14 Using built-in Code Coverage in CLion
47:15 C/C++ Code Coverage plugin for CLion
51:00 Improving tests
01:00:23 Summary from Clare
01:05:55 Second QA session
01:08:43 Wrapping up the webinar

Useful links:

We are very grateful to everyone who joined us for the live stream. It was our first YouTube-based webinar and we are very interested in getting your feedback on it! Please share your thoughts in the comments.

Your CLion team
JetBrains
The Drive to Develop

image description

Discover more