Date for   Saturday, October 6, 2018 8:00:00 AM - Saturday, October 6, 2018 6:00:00 PM

Rethinking Testing React Applications

Testing React applications has followed a fairly standard pattern for a while now: set up enzyme, shallow render a component, and assert against various aspects of said component. Finally, if you were enough of a glutton for punishment, you'd set up some Selenium tests for end-to-end testing. However, some new tools have come onto the scene recently that have changed how I and others think about testing our applications. What we'll cover in this session - Why shallow rendering is still ok, let's just think about why we're using it - Thinking about tests from the users' perspective with react-testing-library - Testing with RTL when using react-router - Using for simple e2e testing - What to mock/stub in my e2e tests



About the session

The session is approved.

The presenter will not allow another presenter.

There are 54 people interested in this session.


Nick Klepinger


1:00 PM - 2:00 PM
Calendar File


Heads up!  Log in to sign up to teach or attend this session.
Edit Session