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
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera