Testing is an essential part of software development, but it can be a tricky and time-consuming process. The popular testing-library package is a widely used tool that helps developers write reliable and maintainable frontend tests based on a behavior driven approach, but many users are not fully aware of how it works or why it works the way it does. In this talk, I, as one of the maintainers of the package, give an in-depth look into the testing-library ecosystem, including its structure and foundations. I explain how we built a solution that can be used in every framework, and how you can use it in both Node and browser environments. You will learn how testing-library is designed to encourage good testing practices and how it can help you write more maintainable tests.
Matan is a Software Engineer at Microsoft, the co-organiser of the “Big web theory” meetup and a tech blog writer. He is a React enthusiast and a Testing Library maintainer who's aiming to understand how things work rather than satisfying on a given API. Matan believes that knowledge is worth nothing if not spread.