quarkiverse / quarkus-pact

Pact is a widely-recommended framework for consumer-driven contract testing. This Quarkus extension gives the best Pact integration with Quarkus.
https://pact.io/
Apache License 2.0
11 stars 6 forks source link
consumer-driven-contract-testing pact quarkus-extension

quarkus-pact

All Contributors

Pact Support for Quarkus

provider: Version   consumer: Version

Pact is a polyglot contract testing framework. You can read more about it here: https://pact.io/ This extension ensures Pact works will with Quarkus applications, including with continuous testing.

To get started, add the dependencies. Choose a 1.x version for Quarkus 3, and a 0.x version for Quarkus 2.

Provider tests

    <dependency>
      <groupId>io.quarkiverse.pact</groupId>
      <artifactId>quarkus-pact-provider</artifactId>
      <version>LATEST</version>
      <scope>test</scope>
    </dependency>

Consumer tests

    <dependency>
      <groupId>io.quarkiverse.pact</groupId>
      <artifactId>quarkus-pact-consumer</artifactId>
      <version>LATEST</version>
      <scope>test</scope>
    </dependency>

Features

Continuous testing/dev mode

This extension allows Pact contract tests to run with mvn quarkus:dev and mvn quarkus:test.

Samples and resources

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Holly Cummins
Holly Cummins

💻 🚧
Michal Vavřík
Michal Vavřík

📖
Nicolas Filotto
Nicolas Filotto

💻

This project follows the all-contributors specification. Contributions of any kind welcome!