pact-foundation / pact-reference

Reference implementations for the pact specifications
https://pact.io
MIT License
91 stars 46 forks source link

Add support for JUnit output in verifier #257

Closed gregtyler closed 1 year ago

gregtyler commented 1 year ago

Original Slack thread

The old Ruby verifier supported an option to format the output as JUnit XML (--format=RspecJunitFormatter), which is very helpful when running Pact as part of a larger pipeline since it allows us comb failures from all tests.

It would be great if the new verifier could support JUnit output too.

(NB: there's an existing issue in the Ruby verifier about overwriting output when testing against multiple consumers)

rholshausen commented 1 year ago

/jira ticket

github-actions[bot] commented 1 year ago

👋 Thanks, Jira [PACT-762] ticket created.

rholshausen commented 1 year ago

0.10.3 has been released with a JUnit XML output option