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
{{ message }}
Repository navigation
Add custom information to an assertion error message. #344
This came up as a response to #12. It would be useful to add additional information to a failure to aid with tracking down the cause. Some bikeshed syntax (may change):
assertThat(success, context = { "DB state: "+ repository.findUser(USER_ID) }).hasSize(1)
// expected [size]:<1> but was:<0>// DB state: User { name = "Tim" }"
Activity