Company
Date Published
Author
Joanna Lew
Word count
1786
Language
English
Hacker News points
2

Summary

We added Cypress and React Testing Library UI tests to our web platform, starting from having no automated UI tests. We set up an infrastructure for end-to-end testing with Cypress, which mimics our production environment and can be spun up in our CI system. We also started using React Testing Library for integration tests, which are great because they run faster than Cypress tests, allow us to check smaller parts of the UI, and simulate errors and edge cases. To develop a culture of testing, we had an internal workshop, created an internal wiki page with step-by-step instructions, and addressed difficulties in testing directly in code reviews. We're continuously looking at other testing tools and strive for a healthy testing culture that increases our confidence in the quality of our product.