Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Don't Let Your Unit Tests Slow You Down - Improve Your Front-End Testing

React Conferences by GitNation via YouTube

Overview

Discover techniques to improve front-end unit testing in this 27-minute conference talk from React Advanced 2019. Learn how to create a test suite that speeds up development rather than slowing it down. Explore strategies for writing effective tests, including following Arrange-Act-Assert, testing component lifecycles, and managing test surface area. Gain insights on refactoring and the role of Test-Driven Development (TDD) in front-end testing. Address common questions about learning testing practices and the effectiveness of snapshot testing in developer workflows.

Syllabus

Intro
tl;dl Good tests remove fear of change.
tdd This is not a talk about test-driven
example "TDD isn't about unit testing!"
Always follow Arrange-Act-Assert.
Test the lifecycle of your components
Be aware of each test's surface area
Make a mess, then refactor. (Okay, so this is kind of about TDD.)
Question: How are you going to learn testing?
Question: How well do snapshots fit our definition of developer tests?

Taught by

React Conferences by GitNation

Reviews

Start your review of Don't Let Your Unit Tests Slow You Down - Improve Your Front-End Testing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.