Write component tests in 3 simple steps đź––
Component documentation is critical but doesn’t tell the whole story. Wouldn’t it be nice if stories could show you how a component looks after a user interacts with it? Component testing allows you to capture these interactions as stories using testing-library!
In our latest YouTube tutorial, chantastic explores interactive component testing in Storybook 6.5. You’ll learn how to simulate user clicks and keypresses using play functions, testing-library, and Jest.
We’re hiring!
Join the team behind Storybook and Chromatic. Build tools that are used in production by 100s of thousands of developers. Remote-first. View openings »
Why Storybook in 2022?
Thousands of companies love Storybook. But the breadth of possible use cases makes it tricky to understand Storybook’s core value. This article breaks down the what, how, and why behind Storybook in 2022.