Testing JavaScript Applications
- 8h 54m
- Lucas da Costa
- Manning Publications
- 2021
Testing JavaScript Applications teaches you how to implement an automated testing plan for JavaScript-based web applications.
Summary
Automated testing will help you write high-quality software in less time, with more confidence, fewer bugs, and without constant manual oversight. Testing JavaScript Applications is a guide to building a comprehensive and reliable JS application testing suite, covering both how to write tests and how JS testing tools work under the hood. You’ll learn from Lucas de Costa, a core contributor to popular JS testing libraries, as he shares a quality mindset for making testing decisions that deliver a real contribution to your business. You’ll benefit from informative explanations and diagrams, easily-transferable code samples, and useful tips on using the latest and most consolidated libraries and frameworks of the JavaScript ecosystem.
About the technology
Automated testing is essential to delivering good JavaScript applications every time. A complete testing strategy needs to cover functions in isolation, integration between different parts of your code, and correctness from the end user’s perspective. This book will teach you how to deliver reliable software quickly and confidently.
About the book
Testing JavaScript Applications teaches you how to implement an automated testing plan for JavaScript-based web applications. It describes practical testing strategies, covers useful tools and libraries, and explains how to foster a culture of quality. In this clearly-written, example-rich book, you’ll explore approaches for both backend and frontend applications and learn how to validate your software much more quickly and reliably.
What's inside
- Unit, end-to-end, and integration testing
- Managing test cost and complexity
- Practicing test-driven development
- Dealing with external dependencies
- Tools like like Jest and Cypress
In this Book
-
An Introduction to Automated Testing
-
What to Test and When?
-
Testing Techniques
-
Testing Backend Applications
-
Advanced Backend Testing Techniques
-
Testing Frontend Applications
-
The React Testing Ecosystem
-
Testing React Applications
-
Test-Driven Development
-
UI-Based End-to-End Testing
-
Writing UI-Based End-to-End Tests
-
Continuous Integration and Continuous Delivery
-
A Culture of Quality