re: Unit testing is simple VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Sadly, most posts/introductions about unit tests are usually way too simple with easy pure functions that just calculate some number. You don't hav...
 

Pick up a copy of Working Effectively with Legacy Code by Michael Feathers. It's an entire book about getting code that doesn't have tests into a harness. Essentially, how to deal with what you're talking about. It's worth every penny.

code of conduct - report abuse