Wiki: Bullet Proof Testing for your Design System
For agents: Markdown version · Wiki index · Explore
- Speaker: Chen Feldman
- Event: Reversim Summit 2020
- Video: https://www.youtube.com/watch?v=5xfKDrmCL4k
- Transcript: /transcripts/2020/08-5xfKDrmCL4k.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Frontend, UX Design, Developer Experience, Productivity
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk explores how to build and test a robust design system using component-driven development and modern tooling. The speaker explains the typical pitfalls in frontend development workflows and how adopting a design system bridges the gap between developers, designers, and product teams. The audience learns how to leverage Storybook for building, documenting, and testing UI components efficiently. Additionally, the talk covers strategies for visual, functional, and accessibility testing to ensure long-term maintainability.
Key points
- 1:48 The speaker highlights current frontend development inefficiencies where teams build isolated components without coordination, leading to duplicated work.
- 5:15 Component-Driven Development (CDD) is introduced as a methodology to build user interfaces from the bottom up, starting with small components and scaling up to pages.
- 10:52 A design system acts as a single source of truth and a bridge between engineering, design, and product disciplines.
- 16:31 Storybook is presented as a powerful development environment for building, documenting, and testing design systems in isolation.
- 21:01 The speaker demonstrates helpful Storybook addons such as versioning, Figma integration, and Playroom for rapid multi-screen prototyping.
- 26:36 The testing strategy for design systems should focus on visual regression, unit testing, and accessibility while avoiding brittle snapshot and end-to-end tests.
- 30:02 The Component Story Format (CSF) simplifies writing stories and enables efficient reuse of mock data for testing.
- 41:06 Deploying the design system documentation to platforms like Netlify makes it accessible to the entire company.
Takeaways
- Adopt component-driven development incrementally by starting with small, basic components like buttons and inputs before building complex pages.
- Utilize Storybook addons to integrate design files and accessibility checks directly into the development workflow.
- Implement automated visual and accessibility testing for components to catch bugs early and prevent regressions.
- Involve product and design stakeholders early to ensure alignment and adoption of the design system.
Questions this talk answers
- When is the right time in a company’s growth to introduce a design system?
- How can Storybook be used to automate visual and accessibility testing for UI components?
- What is the recommended testing strategy for a design system without getting overwhelmed by maintenance?
Technologies
React, Angular, Vue, Storybook, Figma, Sketch, Adobe XD, Jest, Material UI, Bootstrap, Netlify, GitHub
Tags
accessibility, component driven development, design system, developer workflow, frontend testing, storybook, ui components