Book
Testing JavaScript Applications
Lucas da Costa
Summary
Covers testing across the JavaScript stack: Node backends, browser code, and React in particular. Da Costa starts with what to test and when, then works through backend testing, the React testing ecosystem, and the parts that are genuinely difficult, namely asynchronous code, network dependencies, and where to stop mocking. Practical about the testing pyramid rather than doctrinaire.
Target Readers
- JavaScript and Node developers whose test suites are slow or brittle
- Frontend engineers deciding how much to mock when code depends on network calls
Tags
Colophon
- Publisher
- Manning Publications
- ISBN
- 978-1617297915
- Published
- Jun 2021
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Recommended
Frontend Kaihatsu no Tame no Test Nyumon (An Introduction to Testing for Frontend Development)
Essential Knowledge of Automated Testing Strategy, Worth Learning Even Now
Takefumi Yoshii
Reason: Once you've grasped the basics of frontend testing, you dig deeper into the testing strategy for JavaScript apps as a whole. Testing JavaScript Applications systematizes the practice of mocking, async, and integration testing, giving you the ability to operate the techniques learned in the introduction as a 'strategy.'
- Related
Kihon kara Shikkari Manabu Frontend Test Nyumon (Frontend Testing Fundamentals)
Koki Nagai
Reason: Once you've covered frontend-specific testing techniques, you broaden your view to testing strategy for JavaScript apps as a whole. Testing JavaScript Applications digs into integration testing involving mocks and async processing, adding the perspective of operating the techniques from the previous book as a strategy.
Next Books
- Related
Full Stack Testing
A Practical Guide for Delivering High Quality Software
Gayathri Mohan
Reason: Once you've established a JavaScript testing strategy, you broaden your view beyond the frontend to whole-system quality optimization including CI/CD. Full Stack Testing provides a quality strategy spanning contract, performance, security, and E2E, positioning testing as part of development culture.