Jani Hartikainen has posted a few suggestions on how you can structure your code to make (unit) testing it easier in the long run.
I've recently been working on a code-base which wasn't designed with test-driven development methodologies, or with unit testing in mind.
As I implemented unit-tests to this code, there were some modifications I had to do on the code. Some modifications popped up more than others.
There were a few things that are more...
Post new comment