Join Slack
Powered by
when doing mockmvc tests with result matchers, is ...
# 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
3
Views
Open in Slack
Previous
Next