When should you write tests?

  • Before you write the code
  • After you write the code
  • When you find a bug