An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
February 25, 2021 05:52 pm GMT
Original Link: https://dev.to/dinosaurenby/how-do-you-test-a-design-system-1ije
How do you test a design system?
I've inherited a component library that I'm bringing back to life.
In the past I've worked on React component libraries and used tools like Storybook to develop them. Testing these is pretty easy - I tend to use mostly react-testing-library and jest.
But this particular library is differenteach component is:
- a scss file for styling
- optionally, some javascript
- a markdown file that combines written guidance for using the component with code samples and live previews
It's not that different from the GOV.UK design system.
Testing the javascript parts is easy enough, but it's only a small part of the overall library.
How do you go about testing something like this in a robust way?
Original Link: https://dev.to/dinosaurenby/how-do-you-test-a-design-system-1ije
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To