Testing JavaScript Applications MEAP V04 cover
Welcome to liveBook!

This is an online version of the Manning book Testing JavaScript Applications MEAP V04. With liveBook you can access Manning books in-browser — anytime, anywhere.


Thank you for purchasing the MEAP edition of Testing JavaScript Applications.

Testing JavaScript Applications will help you write high-quality software in less time, with moreconfidence.

In the last five years, I have been deeply involved in the JavaScript testing scene. I am acore-maintainer of both Chai.js and Sinon.js, two of the most popular testing libraries inJavaScript, and I closely follow projects like Jest and Mocha. In this book, I expect to teach youwhat I've learned during those years in which I've been involved in vetting and implementingfeatures, defining best-practices, and designing the libraries that thousands of people use everyday.

While writing, I've thought mostly about Junior Developers. They are the ones who will benefitthe most from this book's approach to tests, which covers both the "hows" and the "whys" ofwriting automated tests.

Throughout these pages, you will learn how to write automated tests through various diagramsand practical examples we'll build together. Besides covering specific tools, like Jest, andtechniques, like TDD, this book will teach you how to think about tests from a businessperspective.

By the end of this book, you will be capable of writing effective tests for all kinds of JavaScriptApplications and become well equipped to make your own decisions about which is the optimaltesting approach for your specific context.