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 architecture tests for test classes and methods #295

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

jgardn3r
Copy link
Collaborator

It is common for a test name not to represent what it is asserting. An example of this is a test named ...ShouldAddIssue calling verifyNoIssues.

This PR adds some architecture tests targeting checks that assert:

  • Test names are accurate to the assertion
  • All checks have test units
  • All test units have an associated check

Copy link
Collaborator

@Cirras Cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tweaks.
Most of them are just removing FalsePositive from test names.

Copy link
Collaborator

@Cirras Cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 🎉

@Cirras Cirras merged commit 2ec51a3 into master Oct 4, 2024
2 checks passed
@Cirras Cirras deleted the testArchTests branch October 4, 2024 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants