carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

[Proposal]: Provide test helper utilities #16242

Open tay1orjones opened 7 months ago

tay1orjones commented 7 months ago

Problem

Currently there are a few problems cropping up within the Carbon ecosystem regarding testing. These surround best practices, code reuse, and stability for consumers.

Proposal

We write and export a series of abstractions that would help write tests more easily and uniformly within the Carbon codebase, other libraries, and consuming projects. These could include:

Benefits

Having these test helpers made available would ensure:

Open questions

github-actions[bot] commented 7 months ago

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

tay1orjones commented 7 months ago

Related https://github.com/carbon-design-system/carbon/issues/16243