Currently, our test suite is a mix of enzyme, React Testing Library, and a custom solution with an RTL-like API. We are in need of an official "testing style guide" that maintainers and contributors can reference when authoring or updating components.
Job stories
When contributing to Carbon, I want to know how components need to be tested, so I can land my changes.
When evaluating and using Carbon, I want to know how components are tested so I can have confidence in test coverage and save time by not maintaining Carbon-level tests within my product's test suite.
Success measures
Existing test suite is refactored to use React Testing Library
The team's process is documented in the style docs
Summary
Currently, our test suite is a mix of enzyme, React Testing Library, and a custom solution with an RTL-like API. We are in need of an official "testing style guide" that maintainers and contributors can reference when authoring or updating components.
Job stories
Success measures
Sponsoring team
Carbon team