Jeffrey McArthur

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.

Refactoring To Allow Unit Testing

Saturday, May 11th, 2013 at 1:30 pm in 226

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.