{"repo":"NoriSte/ui-testing-best-practices","free":true,"listed":false,"github":"https://github.com/NoriSte/ui-testing-best-practices","clone":"git clone https://github.com/NoriSte/ui-testing-best-practices.git","description":"The largest UI testing best practices list (last update: March 2025)","language":null,"stars":1737,"topics":["ui-testing","e2e-testing","best-practices","cypress","puppeteer"],"license":"CC-BY-SA-4.0","category":"scrapers-browser-automation","readme_excerpt":"🇬🇧 English version 🇨🇳 中文 (Chinese version) UI Testing Best Practices Follow us on Twitter or LinkedIn! : - @NoriSte - Stefano Magni - @MuratKeremOzcan - Murat Ozcan and reach out to us if you need a consultancy or a course. Built and maintained by our Steering Committee and Collaborators Table of Contents 1. Testing strategies (5) 2. Generic Best Practices (6) 3. Server Communication Testing (3) 4. Beginners (1) 5. Generic testing perks (1) 6. Tools (2) 7. Advanced (5) 8. Real Life Examples (2) 9. Obsolete chapters (3) 1. Testing strategies 1.1 Component tests vs (UI) Integration tests vs E2E tests TL;DR: Identifying the test types is the starting point to understand and master all the UI testing strategies, the tools, and the pro/cons of them. UI integration tests are the most effective ones (you are going to love them), E2E tests give you the highest confidence, and Component tests allow you to test the units of the UI in isolation. Otherwise: You end up writing a lot of E2E tests without leveraging other simpler kind of tests. E2E tests are the most confident type of tests but even the hardest, slowest and most brittle ones. 🔗 Read More: Component vs (UI) Integration vs E2E tests 1.2 In the beginning, avoid perfectionism TL;DR: Software Testing is an amazing topic but a limited experience could make you fighting with a new enemy instead of relying on a new ally. Avoid, if you can, to test every complex user flows since the beginning of your UI testing journey. The sim","default_branch":null,"files":null,"tree":[],"storefront":"/r/NoriSte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NoriSte/ui-testing-best-practices/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}