A Test a Day Keeps Your Manager Away!
summary
A concise how-to that wires C++ analysis into CI by building a hello world CI project that actually runs on Travis CI and AppVeyor and pulls in Astyle/Clang-Format, Clang Tidy & Sanitizers, CppCheck, Coverity Scan, Valgrind, Doxygen, Codecov/Coveralls and test libs like Catch and Hippomocks. The repo demonstrates concrete scripts and CMake targets, shows failures (trailing whitespace, style diffs, static and runtime bugs) and reports that a heavily tested project (Bareflank) reaches 100% code coverage but can add days to PR turnaround.
AI-written summary · about
chapters (8)
- 0:00Introduction and motivation
- 10:30What is continuous integration
- 15:08Compile and run checks
- 17:35Whitespace and formatting checks
- 21:08Static analysis tools
- 32:08Dynamic analysis tools
- 43:10Code coverage and documentation
- 51:19Q&A session
related talks
30mAutomating Code Quality
05mLightning Talk: Automation and Process to Increase Code Quality
42mFocus on What Matters by Automating the Small Things
05mSet it and forget it!
01h 01mBack to Basics: Debugging and Testing in C++ Software Development
25mAdopting a Test driven Mindset in the Workplace
32mBuilding Confidence Together: Continuous Integration & Testing
01h 40mTesting, Preconditions, Coverage and Templates in Safety-Critical C++ Code
