Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing style guide #11

Open
mattrosno opened this issue Jun 14, 2021 · 1 comment
Open

Testing style guide #11

mattrosno opened this issue Jun 14, 2021 · 1 comment
Labels
carbon react Library: React implementation of Carbon components
Milestone

Comments

@mattrosno
Copy link
Member

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

  1. When contributing to Carbon, I want to know how components need to be tested, so I can land my changes.
  2. 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

  1. Existing test suite is refactored to use React Testing Library
  2. The team's process is documented in the style docs

Sponsoring team

Carbon team

@mattrosno mattrosno added the carbon react Library: React implementation of Carbon components label Jun 14, 2021
@mattrosno mattrosno added this to the v11 release milestone Jun 14, 2021
@mattrosno
Copy link
Member Author

Epic: carbon-design-system/carbon#8143

@carbon-design-system carbon-design-system locked and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
carbon react Library: React implementation of Carbon components
Projects
None yet
Development

No branches or pull requests

1 participant