You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,7 +293,11 @@ For more information see [Matching](https://docs.pact.io/getting_started/matchin
293
293
## Verifying Pacts Against a Service
294
294
295
295
In addition to writing Pacts for Python consumers, you can also verify those Pacts
296
-
against a provider of any language. After installing pact-python a `pact-verifier`
296
+
against a provider of any language. There are two ways to do this.
297
+
298
+
### CLI
299
+
300
+
After installing pact-python a `pact-verifier`
297
301
application should be available. To get details about its use you can call it with the
298
302
help argument:
299
303
@@ -357,6 +361,18 @@ as the environment variable `PACT_BROKER_PASSWORD`.
357
361
The bearer token to use when contacting the Pact Broker. You can also specify this value
358
362
as the environment variable `PACT_BROKER_TOKEN`.
359
363
364
+
### Python API
365
+
You can use the Verifier class. This has all the same parameters as the cli tool but allows you to write native python code and the test framework of your choice.
0 commit comments