Don't Let Your Unit Tests Slow You Down - Improve Your Front-End Testing
Offered By: React Conferences by GitNation via YouTube
Course Description
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
Related Courses
Intro to AJAXUdacity Web Design for Everybody Capstone
University of Michigan via Coursera Web Design for Everybody Capstone
University of Michigan via Coursera Developing Dynamic Web Applications Using Angular
Microsoft via edX Project Management: Mastering Complexity
Delft University of Technology via edX