contents

 

preface

acknowledgments

about this book

about the author

about the cover illustration

Part 1. Testing JavaScript applications

  1 An introduction to automated testing

  1.1  What is an automated test?

  1.2  Why automated tests matter

Predictability

Reproducibility

Collaboration

Speed

  2 What to test and when?

  2.1  The testing pyramid

  2.2  Unit tests

  2.3  Integration tests

  2.4  End-to-end tests

Testing HTTP APIs

Testing GUIs

Acceptance tests and end-to-end tests are not the same

  2.5  Exploratory testing and the value of QA

  2.6  Tests, cost, and revenue

Part 2. Writing tests

  3 Testing techniques

  3.1  Organizing test suites