It is easy to create code that cannot be unit tested. This talk covers techniques to refactor code to allow unit testing. Writing unit tests for code dependent on third party libraries is difficult. This talk discusses how to use the decorator design pattern and interfaces can break the dependency and facilitate writing unit tests and how to use Moq to simulate third party libraries.
Over twenty years of software development. Currently the product development manager at Octagon Research. Responsible for the architecture of Octagon’s Fuse and Quantum products.