Now that front-ends are built with frameworks, they come with their own test suites. Unit tests are fast, but with a front-end, it's much easier for a unit to work and not integrate well. End-to-end tests and visual tests help fill the gap but run slowly. What's the best way to divide your time?

In the last few years, front-ends have gotten much more complicated through the use of frameworks like Vue, React, and Angular. This means front-ends now have their own test suites. These suites typically include unit and end-to-end tests and possibly visual regression tests. We'll talk about the pros and cons of each test type and ways to arrange your tests for best usage of time spent developing the tests and running them with CI software.

Comments

Comments are closed.

Very good talk which helped inform my own ideas about how to prioritize and balance different testing methods to make a cohesive testing strategy.