jeudi 21 mars 2019

PACT contract tests per endpoint

Hi doing some preliminary research regarding contract testing using PACT. In the paradigm in which I am using a pact broker to host the pacts, I understand from a high level that there needs to be a contract test on the consumer side which runs a set of tests against the pact mock server...which would then be published to the pact broker. The provider would also need a contract in which it uses the pact created by the consumer on the pact broker to run its test.

My question is this: On the consumer side, is there a need to write multiple different tests for each endpoint?

Aucun commentaire:

Enregistrer un commentaire