Back-end Engineering
Refactoring by Leveraging Tests with C++ & Google Test
This course focuses on the Refactor step in TDD, teaching developers to spot code smells and resolve them through refactoring. Using real-world examples, you'll identify common issues, apply refactoring techniques, and ensure functionality is preserved with existing tests.
C++
5 lessons
21 practices
3 hours
Computer Science Fundamentals
Course details
Improving Test Code Maintainability in Shopping Cart Application
Refactor ShoppingCart Tests to Parameterized Google Tests
Refactoring ShoppingCart to Eliminate Code Duplication
Refactoring ShoppingCart to Eliminate Code Duplication
Refactor Magic Numbers into Constants in ShoppingCart
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.

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal