-
Notifications
You must be signed in to change notification settings - Fork 64
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
Added shouldBeEquivalentTo and shouldNotBeEquivalentTo functionality #184
Conversation
…w exactly the objects should be compared.
…t be equivalent to` with unit tests.
…n the Android build
Looks like only the project admin may run SonarCube analysis. |
…sage in case of non-equivalent collections
Oh I didn't know that, I'll look if I can change the permissions. I'll also review the changes later this week or at the weekend. |
I had a look at the changes and assertions and I'm ready to merge 👍 Would you be willing to add a small documentation about the assertion (especially its options) in the docs/ folder? I think that would help the discovery of this cool assertion :-) |
Sure - will do it tomorrow. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs 82.3% Coverage The version of Java (1.8.0_272) you have used to run this analysis is deprecated and we will stop accepting it accepting it soon.Please update to at least Java 11. |
Let me know if you have any concerns about the created documentation. |
Thank you very much again :-) This is now released under v1.64 :-) |
Description
Added shouldBeEquivalentTo and shouldNotBeEquivalentTo functionality instructing Kluent how to compare objects. By default it will do comparison by each and every non-private property instead of using equals() method.
Checklist
AUTHORS
file, if it wasn't already present.