Applying unit tests to legacy code was the very reason Working Effectively with Legacy Code was written. Michael Feathers is the author – as mentioned in other answers, he was involved in the creation of both CppUnit and CppUnitLite.
More Related Contents:
- Detecting superfluous #includes in C/C++?
- How to set up Google C++ Testing Framework (gtest) with Visual Studio 2005
- How can I remove/refactor a «friend» dependency declaration properly?
- Comparison of C++ unit test frameworks [closed]
- Mocking free function
- C++ unit testing framework [closed]
- How to set up googleTest as a shared library on Linux
- Is f(void) deprecated in modern C and C++? [duplicate]
- Refactoring with C++ 11
- Excessive use of `this` in C++ [duplicate]
- Dependency injection with unique_ptr to mock
- Is there a working C++ refactoring tool? [closed]
- Can Google Mock a method with a smart pointer return type?
- How do I deal with “signed/unsigned mismatch” warnings (C4018)?
- Redirect both cout and stdout to a string in C++ for Unit Testing
- google mock – can I call EXPECT_CALL multiple times on same mock object?
- CMake: Project structure with unit tests
- Comparison of arrays in google test?
- How to set up unit testing for Visual Studio C++
- How do I use google mock in C?
- How to use QueryPerformanceCounter?
- Fast textfile reading in c++
- What is wrong with using goto? [duplicate]
- Does std::string have a null terminator?
- Difference between std::regex_match & std::regex_search?
- What is the past-the-end iterator in STL C++?
- using class name in a class template without template parameters
- How to make reading from `std::cin` timeout after a particular amount of time
- Undefined reference to static variable [duplicate]
- Concatenating strings doesn’t work as expected [closed]