Concluding the book

In the following figure, we can see a roadmap to the BDD approach presented in this book:

Concluding the book

A BDD roadmap

This figure is just a rough guide; just remember to use your common sense. Developing a test suite implies time and effort; if you do not expect to get enough value in return, just do not do it.

Of course, the architecture of your system may be different from the one I have presented; after all, I have just used one kind of architecture that is popular, but you might have a different one. However, you should always separate your domain layers from the technical ones and slice across functional domains.

Finally, here is a final ...

Get Learning Behavior-driven Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.