Back-end Engineering
Red-Green-Refactor: Practicing TDD with C++ & Google Test
This course focuses on practicing the core TDD workflow: "Red-Green-Refactor." You'll write failing tests (Red), implement code to pass them (Green), and refactor while keeping tests passing (Refactor). No new concepts are introduced—just hands-on practice with various requirements to sharpen your TDD skills.
C++
5 lessons
25 practices
3 hours
Badge for Programming, Algorithms, and Data Structures,
Programming, Algorithms, and Data Structures
Course details
Introduction to Test Driven Development with C++ and Google Test
Correct Discount Application Task
Zero Discount Handling Task
Decimal Discount Precision Implementation Task
Negative Price Error Handling in Discount Calculation
Calculate Discount with Error Handling in C++
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal