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

Improve test suite consistency with static analysis tooling #8475

Closed
tay1orjones opened this issue Apr 21, 2021 · 2 comments
Closed

Improve test suite consistency with static analysis tooling #8475

tay1orjones opened this issue Apr 21, 2021 · 2 comments
Labels
package: react carbon-components-react

Comments

@tay1orjones
Copy link
Member

As we begin to refactor our test suite #8143, it would be nice if we could automate enforcement of a consistent test style, syntax, and best practices. This issue is to explore how we can further codify testing guidance (docs/style.md, #8144) via tools like eslint:

  • Bring in eslint-plugin-testing-library
  • Explore other rulesets and/or tooling
@tay1orjones tay1orjones added the package: react carbon-components-react label Apr 21, 2021
@tay1orjones
Copy link
Member Author

tay1orjones commented Jun 17, 2021

eslint-plugin-jest would also be a logicial addition here

@joshblack
Copy link
Contributor

We currently use:

  • eslint-plugin-jest
  • eslint-plugin-testing-library
  • eslint-plugin-cypress

Going to close this one out as I believe we've added those listed, let me know if I missed any!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: react carbon-components-react
Projects
None yet
Development

No branches or pull requests

2 participants