Introducing Unit Testing to Legacy Code

Legacy code presents a problem for introducing unit tests: you generally can’t test without changing the code, but if you change the code you have no tests to verify that it still works. This talk lays out some techniques for introducing tests into your legacy codebase using coding patterns and tools like Microsoft Fakes shim support.

Watch this video on