Book Image

Learning Behavior-driven development with Javascript

Book Image

Learning Behavior-driven development with Javascript

Overview of this book

Table of Contents (17 chapters)
Learning Behavior-driven Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Final Thoughts

This is the final chapter of the book; here, you will find a wrap-up of the testing approach presented throughout the book, together with some general advice. In this chapter:

  • We will explore the key difference between TDD and BDD

  • We will look at an explanation of what distinguishes a good test from a bad one

  • You will learn why integration and end-to-end tests are not good tests

  • You will learn the correct granularity for a BDD test

  • I will present a summary of which kind of testing approach and which tools you should use to test each part of your system