← Back to context

Comment by chris_wot

5 years ago

One of the biggest issues I have found is that I can sometimes not easily create a test for code that I have modified because it is part of a larger class (I'm coding in C++). This normally happens when I cannot extract the function out of the class and it relies on internal state, and the class is not already being tested.

Love to know if there is an easy way of doing this!