Kód: 53869986
Build confidence in your website-one well-chosen test at a time.A page can look correct while its validation, API calls, or booking process behaves unexpectedly. How do you decide what to test, which testing approach to use, and w ... celý popis
Angličtina
Nákupem získáte 42 bodů
Anotace knihy
Build confidence in your website-one well-chosen test at a time.
A page can look correct while its validation, API calls, or booking process behaves unexpectedly. How do you decide what to test, which testing approach to use, and whether your tests provide meaningful protection?
Web Testing Made Easy gives you a practical path through unit, integration, component, and end-to-end testing. With clear explanations and a running Workshop Booker project, you'll learn how these approaches work together to check the behavior your users depend on.
Follow realistic examples involving workshop selection, booking forms, availability, confirmations, cancellations, and error handling. Understand what each test proves, where its limits lie, and how to choose the right level of testing for a particular risk.
Inside, you'll learn how to:
Choose an effective testing strategy. Understand testing boundaries and decide which checks belong at the unit, integration, component, or browser level.
Test business rules with Vitest. Check validation, calculations, and state transitions using focused examples and meaningful assertions.
Test React components through user behavior. Use Testing Library to interact with forms, controls, and visible feedback.
Check API interactions and failure paths. Use Mock Service Worker to exercise loading states, unsuccessful requests, and responses that your interface must handle correctly.
Automate complete journeys with Playwright. Build browser tests with reliable locators, controlled starting conditions, and assertions tied to observable results.
Handle realistic booking problems. Explore availability conflicts, corrected submissions, cancellation, and consistency between the interface and server state.
Add accessibility and visual checks. Learn what automated scans and screenshot comparisons can reveal-and where additional judgment is needed.
Investigate failures and automate your checks. Work with debugging evidence, coverage reports, and GitHub Actions to make testing part of your development workflow.
-
The book includes practical exercises, worked answers, and complete source listings for reconstructing the example project. A downloadable companion package provides the application, test suites, configuration files, and supporting resources so you can follow along and experiment.
Written for web developers, QA engineers, and testers with basic JavaScript and React knowledge, this guide helps you move from knowing testing terminology to making useful testing decisions.
Learn what to test, how to test it, and how to understand the evidence your tests provide.
Parametry knihy
423 Kč
AngličtinaOsobní odběr Praha, Brno a 47805 dalších
Copyright ©2008-26 nejlevnejsi-knihy.cz Všechna práva vyhrazenaSoukromíCookies
Vrácení do měsíce
571 999 099 (8-15.30h)Nákupní košík ( prázdný )
Nacházíte se: