Skip to main content

Chapter 11 Advanced Testing

In this section we will use the flexibility that interfaces provide, and tackle the use of so-called test doubles. We will touch on the following:
  • What are the different kinds of test doubles, and when is each used.
  • How do test doubles affect our testing approaches.
  • How do mocking frameworks make it easier to work with test doubles.
  • What are the different schools of thought when it comes to testing behavior versus state.