Join Slack
when doing mockmvc tests with result matchers, is it possible to check the shape of a json object re...
# announcements
x
xii
03/15/2021, 7:06 PM
when doing mockmvc tests with result matchers, is it possible to check the shape of a json object response?
xii
03/15/2021, 7:06 PM
what i mean is, is it possible to check shape instead of comparing to a json object? kind of like its done in typescript
xii
03/15/2021, 7:07 PM
i'm thinking about iterating keys and checking that they have the strings expected, but maybe there's a better way
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by