Software testing is critical to lower the chances of our program failing by running tests with the end-user in mind. Testing-library/react is a testing utility tool that's built to test the actual DOM tree rendered by React on the browser. The goal of the library is to help you write tests that resemble how a user would use your application.

β€’8m read timeβ€’From harshal0902.hashnode.dev
Post cover image
Table of contents
πŸ’‘ What is Software Testing?πŸ€” Why should you write tests?πŸ€– Automated TestingπŸ–₯ Types Of TestingπŸ§ͺ Test-Driven Development (TDD)βš™ Basic setup✍ Writing your first TestπŸ›  Now let's test some componentsπŸ₯‡ Final result🀝 Conclusion
3 Comments

Sort: