Principles

What makes a good unit test?

Types of Method

Don’t test

How many tests do I need?

How can I make sure there are no bugs with my tests?

When not to write unit tests

  1. If nobody in the team writes testable code
  1. Legacy applications, that have been made with unit tests not in mind
  1. Start ups