JavaScript Testing

WHY PEOPLE DONT TEST

  • Missing expertise (How to test? Which tool to use?)
  • Takes too long (environment setup etc.)
  • works-for-me™ (and without tests)

WHY YOU SHOULD

  • Verifies that system meets requirements
  • Improves quality (code and product)
  • Helps to *not* deploy bugs
  • Makes debugging easier

AGILE

“Working software over comprehensive documentation”
“Responding to change over following a plan”

TDD/BDD

TDD

BDD

  • Focused od behaivor
  • Wont brake if the implementation changes

Maintenance

Unit Testing

E2E Testing

</html>

@dinodsaurus