Hey. I'm wondering if there is a quicker way to cr...
# pact-jvm
g
Hey. I'm wondering if there is a quicker way to create the consumer pact matchers. We have some huge responses of 200+ keys. How would one go about writing tests in such cases? Doesn't seem reasonable to write them by hand. We created a library to convert java DTOs into pactDslPart matchers, but it seems like its going against the whole idea of contract testing. Some of the DTOs are generated from Swagger spec. Any ideas appreciated.
b
My focusing questions for this are usually: • Are all the fields always relevant? • Could you compose chunks of related fields together, to DRY out the interaction declaration?