-
Notifications
You must be signed in to change notification settings - Fork 75
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
forPackage/forClasses full API #697
Comments
That's a good idea! |
If only my company would let me |
I think I wasn't paying attention when I replied on this thread earlier, because such a feature already (almost) exists. You can do this: EqualsVerifier.configure()
.suppress(...)
.usingGetClass()
.forPackage(...)
.verify(); This won't let you specify certain things, including |
hmm... well per other ticket the What might be better though that would allow me to use |
Glad it worked out! I agree, this feature request should be a new ticket, but I like the idea, so you're free to submit that. The same caveat applies though, I don't have a lot of time so I can't give you any timeframe. But at least you have a workaround now. |
lol, I ended up right back here... since removing |
although this time I'm hitting significant fields. In the mean time I'm going to use parameterized junit |
I think trying parameterized tests is a good idea, right tool for the job and everything... Please let me know how this works out for you. If it works well, I'll add something to the docs for those who run into similar issues! And if it doesn't work out, we can re-evaluate here. |
Is your feature request related to a problem? Please describe.
I dislike writing a customized check for each jpa class
Describe the solution you'd like
Describe alternatives you've considered
just doing this for each class, or writing my own scanner, could also do this in a loop
Additional context
The text was updated successfully, but these errors were encountered: