2. 12.03.2020Keep calm and automate your tests • Marius Meisenzahl
🙋♂ About me
● Marius Meisenzahl
● co-founder of
○ located in Bochum
○ we build software from embedded to web
2
/meisenzahl /msnzhl
3. 12.03.2020Keep calm and automate your tests • Marius Meisenzahl
Choose testing framework
● Google Test & Google Mock
● Qt Test
● Boost.Test
● Catch2
● …
3
4. 12.03.2020Keep calm and automate your tests • Marius Meisenzahl
Where to start?
● organize your project to allow tests
○ split into logical units
● refactor your code to allow tests
○ don’t use singletons, ...
● write tests
4
10. 12.03.2020Keep calm and automate your tests • Marius Meisenzahl
Conclusion
● make your code testable
● use Continuous Integration
● force increasing code coverage
● visualize your code coverage
10