Book
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
Summary
A Japanese-language introduction to testing for frontend development, by Takefumi Yoshii. It is written for frontend engineers working on web application development and explains basic knowledge of testing together with concrete practices. It covers how to write basic test code and how to choose test methods and tools according to purpose, with emphasis on issues specific to the frontend, such as UI component testing and visual regression testing. The explanations proceed hands-on with a sample web application built with Next.js, and topics such as improving accessibility and running tests in CI are also included. The tools covered include Jest, Testing Library, Storybook, reg-suit, and Playwright.
Target Readers
- Frontend engineers involved in web application development
- People who understand the need for testing but have not been able to get started, and people with a fair amount of development experience who have never written tests
- People who are not sure whether the testing approach they currently use is the best one, and developers who want to build an automated testing strategy
Tags
Colophon
- Publisher
- Shoeisha
- ISBN
- 978-4798178189
- Published
- Apr 2023
- List price
- ¥3,080incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Recommended
Learning React, 2nd Edition
Modern Patterns for Developing React Apps
Alex Banks, Eve Porcello
Reason: Once you can write components in React, you learn how to write tests that guarantee their behavior. 'Introduction to Testing for Frontend Development' covers frontend-specific testing strategy from unit to integration to E2E, building a foundation for UI development that doesn't break.
- Recommended
Unit Testing Principles, Practices, and Patterns
Vladimir Khorikov
Reason: The principles of test design carry over to the frontend. Building on the test pyramid, you cover the essentials of the UI with a few end-to-end tests and protect logic densely with unit tests—the criteria stay the same across layers.
- Related
Kokai Shinai Tame no Vue Component Sekkei (Vue Component Design You Won't Regret)
Naohiro Nakajima
Reason: Once you can design maintainable components, you confirm that the design is two sides of the same coin as 'testability.' 'Introduction to Testing for Frontend Development' shows what to test and at what granularity, instilling a view that solidifies quality by moving back and forth between design and tests.
Next Books
- Recommended
Testing JavaScript Applications
Lucas da Costa
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.'