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 DoesNotUseType recipe for use in preconditions to reject source files #4471

Merged
merged 7 commits into from
Sep 4, 2024

Conversation

Laurens-W
Copy link
Contributor

What's your motivation?

This recipe is required to be used as a precondition for JUnit 4 to 5 migration, which we don't want to do if any TestNG type is used

Anything in particular you'd like reviewers to focus on?

Test coverage

Anyone you would like to review specifically?

@timtebeek

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Laurens-W Laurens-W marked this pull request as ready for review September 4, 2024 14:44
@timtebeek timtebeek changed the title Add recipe to check a type is not used Add DoesNotUseType recipe for use in preconditions to reject source files Sep 4, 2024
@timtebeek timtebeek added the recipe Requested Recipe label Sep 4, 2024
@timtebeek timtebeek merged commit ac74ea6 into main Sep 4, 2024
2 checks passed
@timtebeek timtebeek deleted the not-uses-type branch September 4, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Requested Recipe
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants