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 🎓
github.com/cpp-for-yourself/s...
Related materials 📄
- Googletest Primer: google.github.io/googletest/p...
- Video about CMake: • CMake - the essential ...
- Video about Libraries: • C++ libraries and what...
- CMake tutorial from which I took the submodule idea: 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: www.defendukraine.org/donate
Please support my free work 🙏
- Through Patreon: / code_for_yourself
- Through GitHub Sponsors: github.com/sponsors/niosus
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: deadline.com/gallery/wednesda...
- All the stock footage is from Pexels
- The cat video is from RU-vid
16 июн 2024