<https://blog.frankel.ch/comparison-assertion-libr...
# feed
r
Did you look at Hamkrest? https://github.com/npryce/hamkrest
n
no, didn’t get the chance
c
Copy code
expectThat(frodo.age).describedAs("${frodo.name}'s age").isEqualTo(44)
can also be written as
expectThat(frodo).get{age}.isEqualTo(44)
in strikt. thats one of the main advantages of strikt
n
it seems in my snippet, you get a specific failure message
c
yes when you use
get
you also get a specific error message that mentions the field name