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

Put hierarchy checks for test trait behind an overridable def #2876

Merged
merged 5 commits into from
Nov 19, 2023

Conversation

lefou
Copy link
Member

@lefou lefou commented Nov 15, 2023

This puts all checks/assertions into a protected def hierarchyChecks, so users have an option to allow trait mix-ins which don't make sense to us now, by overriding it.

I split the logic in a set of matching trait names and the assertion logic. I also added MavenModule and SbtModule to the mix. To get that working, I moved the logic up into JavaModule.

@lefou lefou requested a review from lolgab November 16, 2023 06:59
@lefou lefou marked this pull request as ready for review November 16, 2023 14:09
@lefou lefou merged commit a00eacf into main Nov 19, 2023
37 checks passed
@lefou lefou deleted the refine-test-checks branch November 19, 2023 11:25
@lefou lefou added this to the 0.11.6 milestone Nov 19, 2023
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.

1 participant