Reshaping The Testing Pyramid With Cypress

Chicago JavaScript Meetup Group
Chicago JavaScript Meetup Group
Public group
Location image of event venue

Details

Talk 1:

The Testing Pyramid is an agile guideline for writing tests. At the base of the pyramid are unit tests: we should write many of those. In the middle are integration tests: we should write some of those. At the top of the pyramid are end-to-end tests: we should write a few of those, but they're so difficult to write, maintain, and run that we shouldn't write very many. Or at least...that's how it used to be.

Cypress is a JavaScript-based front-end testing tool that makes it easy to write end-to-end and integration tests. Self-proclaimed, Cypress is "fast, easy and reliable testing for anything that runs in a browser." It includes a powerful UI that gives you visibility into every detail of your tests.

In this session, we'll survey the features of Cypress and walk through many examples of tests. We'll then look at two different patterns for testing a web app with Cypress - and the advantages and disadvantages of each pattern. Finally, we'll look back at the Testing Pyramid and reassess its shape. Now that end-to-end testing is so much easier, should we turn it upside down?

Speaker Bio:

Steven Hicks is a web development generalist with 20 years of experience. He believes that code is for humans, and should be written with them in mind. He is a big fan of JavaScript, and believes that if you ain’t falling, you ain’t learning.

Steve embraces continuous improvement and believes that a developer’s job is to solve problems, not just write code. He is a speaker, a writer, a teacher, a learner, and a teammate.

When he isn’t talking to the duck or smooshing 1s and 0s, you can find Steve outside. He’s probably camping with his family, racing a triathlon, running trails, or climbing fake rocks.

================

Online Meeting Details

Join Zoom Meeting
https://zoom.us/j/796851177

Meeting ID:[masked]

One tap mobile
[masked],,[masked]# US (New York)
[masked],,[masked]# US (San Jose)

Dial by your location
[masked] US (New York)
[masked] US (San Jose)
Meeting ID:[masked]
Find your local number: https://zoom.us/u/aew7BBnD3B

SLACK: https://bitovi.com/community/slack

======

The March meetup will be held at Top Step Trader - 130 S Jefferson St., Suite 200

Top Step Trader is looking for Frontened Engineers and Software Engineers: https://www.builtinchicago.org/company/topsteptrader

TopstepTrader®’s vision is to be where the world goes to safely engage in and profit from financial markets. We evaluate traders’ performance in the Trading Combine® - a real-time, simulated account. When traders follow the risk criteria and meet the profit targets, they receive a Funded Account™ where they trade real capital and keep real profits....