Skip to content

Commit

Permalink
feat(examples): update docu for e2e example
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jan 18, 2017
1 parent 24b9888 commit 491f641
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/e2e/README.md
Expand Up @@ -22,13 +22,19 @@ Provides Animal profile information, including interests, zoo location and other

Given an animal profile, recommends a suitable partner based on similar interests.

## Running
## Running the tests

1. `npm install`
1. `npm test:consumer` - Run consumer tests
1. `npm test:publish` - Publish contracts to the broker
1. `npm test:provider` - Run provider tests

# Running the API

If you want to experiment with the API to get an understanding:

1. `npm run provider` - Runs the provider API (animal service)
1. `npm run consumer` - Runs the consumer API (matching service)

## Viewing contracts with the Pact Broker

Expand Down

0 comments on commit 491f641

Please sign in to comment.