Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 890 Bytes

01-intro.md

File metadata and controls

68 lines (43 loc) · 890 Bytes

Why do we test?

interaction!!

pen & paper -> write sticky notes


  • prevent regression bugs
  • improve quality / exposes edge cases
  • find bugs early
  • documentation
  • simplifies debugging
  • forces us to think about design (for example integration with other components)

Different kinds of tests

  • unit tests
  • integration tests
  • smoke tests
  • end-to-end tests
  • system tests
  • acceptance tests
  • ui tests
  • ...

Test pyramide


img


img


img


img


img


img


Agenda

  • purpose of testing
  • testing frameworks basics
  • assertion libraries
  • we code!
  • integration testing & mocking
  • we code!
  • introduction to TDD