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.
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π€ Conclusion3 Comments
Sort: