November 15, 2019 02:49 pm GMT
Original Link: https://blog.stackpath.com/frontend-testing/
How We Perform Frontend Testing on StackPaths Customer Portal
Nice post from Thomas Ladd about how their front-end team does testing. The list feels like a nice place to be:
- TypeScript - A language, but you're essentially getting various testing for free (passing the right arguments and types of variables)
- Jest - Unit tests. JavaScript functions are doing the right stuff. Works with React.
- Cypress - Integration tests. Page loads, do stuff with page, expected things happen in DOM. Thomas says their end-to-end tests (e.g. hitting services) are
The post How We Perform Frontend Testing on StackPaths Customer Portal appeared first on CSS-Tricks.
Original Link: https://blog.stackpath.com/frontend-testing/
Share this article:
Tweet
View Full Article