Do you even test? (your code with CMake)

Help me keep doing these videos! This works relies on your support! You can show it in one of these ways: 📚 Start a FREE Audible trial: https://www.audibletrial.com/CodeForY... 🛍️ Buy gear I use to make this video: https://github.com/cpp-for-yourself/s... 💶 Directly become a sponsor on GitHub: https://github.com/sponsors/niosus 📺 Watch my videos to the end and leave comments ⁉️ Find your way to support this work here: https://github.com/cpp-for-yourself/s... It's time we talked about testing our C++ code! We chat about what testing is and look into how to integrate one of the most used testing frameworks (Googletest) into our CMake project. Script 🎓 https://github.com/cpp-for-yourself/s... Related materials 📄 Googletest Primer: https://google.github.io/googletest/p... Video about CMake:    • CMake - the essential package   Video about Libraries:    • C++ libraries and what inline has to do wi...   CMake tutorial from which I took the submodule idea: https://cliutils.gitlab.io/modern-cmake/ Support Ukraine 🇺🇦 Ukraine is fighting a war against unprovoked russian aggression. Please donate to one of the funds to support them: https://www.defendukraine.org/donate Contents 00:00 - Intro 00:53 - What is testing? 01:39 - Which framework to use? 02:18 - One way to integrate testing into your project 05:11 - Maybe, let's add the C++ code? 08:42 - A better way to integrate testing into your project 11:02 - Adding some magic Reference Image of Wednesday taken from: https://deadline.com/gallery/wednesda... All the stock footage is from Pexels The cat video is from YouTube