
Testing JavaScript Applications, 1st edition
Published by Manning Publications (June 7, 2021) © 2021
- Lucas da Costa
Details
- A print text
- Free shipping
- Also available for purchase as an ebook from all major ebook resellers, including InformIT.com
Currently unavailable
Title overview
about the technology
No developer wants to waste time making sure every application feature still works whenever they push new code to production. Thankfully, automated testing delivers quick and precise feedback on whether your application still functions correctly every time you update it. With automated testing, you can validate your application with a single command—and unlike humans, machines don’t forget steps or make mistakes!about the book
Testing JavaScript Applications is a guide to creating JavaScript tests that are targeted to your application’s specific needs. Dripping with the insight author Lucas da Costa has developed as a core contributor to some of the most popular JS testing libraries, this book offers dozens of detailed code samples that you can apply to your own projects. You’ll learn how to write tests for both backend and frontend applications, covering the full spectrum of testing types so you can pick an approach that’s right for you. Taking on the role of a developer for a bakery’s web store, you’ll learn to validate different aspects including databases, third-party services, and how to spin-up a real browser instance to interact with the entire application. All examples are delivered using the popular testing tool Jest and modern packages of the JavaScript ecosystem.what's inside
- Writing practical tests that make a real business contribution
- Writing tests for both front-end and back-end applications
- Managing the costs and complexity of your tests
- Practicing test-driven development
- Dealing with external dependencies, like databases or third-party APIs
- Supporting tests by creating a "culture of quality"