pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
41 stars 7 forks source link

Pact Example Repos #4

Open YOU54F opened 2 years ago

YOU54F commented 2 years ago

A placeholder for discussions around pact & pactflow example repos

mikegeeves commented 2 years ago

For discussion: How to structure examples in as few repos as possible

Random points:

Two suggestions: pactflow/examples <- repo

Preference for the first one

Also talked about e.g. run via Docker

I would have one test command, and set it up so the commands are diff if docker, or local MODE=docker make test MODE=local make test

-> include a Docker example of how to setup e.g. your python env with venv, to then either run locally or have "proven" install steps

pactflow/examples <- repo

Then need to have somewhere to store the expected pacts: pactflow/examples <- repo

For the example, the criteria of success would be for each language implementation they should produce the same Pactfile

-> Overall heading for some big matrix to be able to then have a way to run feature tests across all languages and get a matrix of what does exist, what doesn't -> Low barrier to entry to add in a new feature, or add a test for a feature in a language where there's a gap