-
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
Add support for soft assertions #178
Comments
Hi igor, would you like to propose a draft on how this could work in Kluent? The most important things in this are, in my opinion, that all assertions are run (no matter if some fail) and that there is a unified failure message. The way our assertions are currently built, the method would actually have to take vararg functions to accomplish this, like so: person.assertAll(
{ it.name.shouldBe("Name") },
{ it.age.shouldBe(18) }
) that way What do you think? |
Also we could probably keep |
Do you want to give the implementation following your design a shot? 😊 |
#178: added support for assertSoftly
This is now part of version 1.65 :-) |
Similar to
assertSoftley
https://twitter.com/kotlintesting/status/1267350165750308864
The text was updated successfully, but these errors were encountered: