This site runs best with JavaScript enabled.

Testing Apps with Cypress

Last tended on May 10, 2019
šŸŒ± Evergreen

Illustrated notes on Brett Cassette's egghead course all about testing apps with

Test Production Ready Apps with Cypress is a handy tool for end to end testingIt includes all levels of the stack - from the UI to front-end data stores, to XHR, to APIs, to your database. It's able to test all of these at the same time. It runs a virtual browser that clicks through all the things on all the pagesIt lets us write custom tests that assert true or false statements on specific parts of our app. It also alerts us if any of those tests fail. The tool uses the chai assertion library which makes it easy to write chains of selectors.

Want more illustrated notes on web development?

Take a look at The JAMStack, Gatsby & Contentful, A Fresh Serving of JavaScript ES2019 or A Fruitful Guide to JavaScript's Comparison Operators

Want to share?

Join the newsletter

For weekly notes on visual thinking, ethical technology, and cultural anthropology.

Maggie Appleton Ā© 2020