Skip to content

Commit

Permalink
feat(verifier): Add verbose option to improve debugging during verifi…
Browse files Browse the repository at this point in the history
…cation
  • Loading branch information
TimothyJones committed Mar 23, 2020
1 parent d4e353e commit 3f0a5a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ pact.verifyPacts({
| `providerVersion` | false | string | Provider version, required to publish verification result to Broker. Optional otherwise. |
| `timeout` | false | number | The duration in ms we should wait to confirm verification process was successful. Defaults to 30000. |
| `format` | false | string | What format the verification results are printed in. Options are `json`, `xml`, `progress` and `RspecJunitFormatter` (which is a synonym for `xml`) |
| `verbose` | false | boolean | Set logging mode to verbose. |

### Pact Broker Publishing

Expand Down
2 changes: 2 additions & 0 deletions src/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class Verifier {
providerVersion: '--provider-app-version',
provider: '--provider',
customProviderHeaders: '--custom-provider-header',
verbose: '--verbose',
monkeypatch: '--monkeypatch',
format: '--format',
out: '--out',
Expand Down Expand Up @@ -234,6 +235,7 @@ export interface VerifierOptions {
providerVersion?: string;
timeout?: number;
tags?: string[];
verbose?: boolean;
monkeypatch?: string;
format?: 'json' | 'xml' | 'progress' | 'RspecJunitFormatter';
out?: string;
Expand Down

0 comments on commit 3f0a5a3

Please sign in to comment.