Sha256: d120bdedd9339adacbe8c04f60a785d3e31f728b89c819ceec5ca2ff79c186a5

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

# Issues

## Reproducing an issue

In [script/reproduce-issue.rb](script/reproduce-issue.rb) you will find a fluent API that allows you to simulate client libraries interacting with the Pact Broker.

You can use it to easily reproduce issues.

To use it:

* Run the Pact Broker using a specific Pact Broker Docker image by setting the required tag for the pact-broker service in the docker-compose-issue-repro-with-pact-broker-docker-image.yml file.

    ```
    # might need to try twice if it doesn't connect to postgres
    docker-compose  -f docker-compose-issue-repro-with-pact-broker-docker-image.yml up pact-broker

    # if needing webhooks - new window
    docker-compose -f docker-compose-issue-repro-with-pact-broker-docker-image.yml up webhook-server

    # new window
    docker-compose -f docker-compose-issue-repro-with-pact-broker-docker-image.yml run repro-issue

    ```

* Run the reproduction script.

    ```
    docker-compose -f docker-compose-issue-repro-with-pact-broker-docker-image.yml run repro-issue
    ```

You can modify `script/reproduce-issue.rb` and then re-run it with the change applied.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-2.76.2 ISSUES.md