In bidirectional contract testing example, newman ...
# pactflow
s
In bidirectional contract testing example, newman results, swagger.yml and pact.json deletes existing for every run
m
Are you referring to this step: https://github.com/pactflow/example-bi-directional-provider-postman/blob/master/package.json#L8 Is there a reason why you wanted to know that?
You should always generate a new pact contract each testing session, so that you don’t have old/outdated interactions (test) in them
On the provider side, we want to make sure we upload a correct contract
s
Thank you
While generating swagger file from postman collection can we specify required fields and optional fields
m
I don’t think so, at least not using the tools I’ve seen.