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

Add UT with RSpec ShowCase plugin #5422

Open
pavel-mikula-sonarsource opened this issue May 13, 2024 · 0 comments
Open

Add UT with RSpec ShowCase plugin #5422

pavel-mikula-sonarsource opened this issue May 13, 2024 · 0 comments

Comments

@pavel-mikula-sonarsource
Copy link
Contributor

There exists a contract about formatting that is legal to use by rule descriptions, and products are expected to support it.

We need to add UT to validate compliancy with this contract.

Why?

We should make sure we

  • comply with this contract,
  • are able to automatically catch new features,
  • and are aware of any elements that are not supported yet.

It will help reduce friction and bring clarity to situations like this: #5414

What?

The UT should

If anything fails, there should be a ticket created for the specific feature and some string-replace mechanism to suppress this particular error. The suppression should make sure, that another error in the same file is discovered and handled separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant