You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @MikolajKakol, sorry for my delay. Yeah, it makes sense, I think we can define an exception message including the constraint violations to make debugging easier. I'd would like to receive a PR adjusting it, feel free to contribute.
Is your feature request related to a problem? Please describe.
I often write few happy path examples for validation. However, if we hit an error when running them stacktrace is not helpful. We get
It would be good to know what happened by just looking into stracktrace
Describe the solution you'd like
Maybe implementing
toString
in ConstraintViolationException would suffice.Alternative solution
Maybe adding
shouldPassValidation
method to test framework would be even better?The text was updated successfully, but these errors were encountered: