Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "pending interactions" explanation to --progress formatter output. #201

Open
bethesque opened this issue Nov 10, 2019 · 3 comments
Open

Comments

@bethesque
Copy link
Member

Need to subclass the RSpec Progress formatter and modify the output text to match lib/pact/provider/rspec/formatter_rspec_3.rb:71

Formatter is configured here:
lib/pact/provider/pact_spec_runner.rb:130

@bethesque
Copy link
Member Author

1 interaction, 1 pending

Pending interactions: (Failures listed here are expected and do not affect your suite's status)

* A request for bar given bar exists

@tancnle
Copy link
Contributor

tancnle commented Nov 18, 2019

@bethesque Happy to put up my hand on this.

@bethesque
Copy link
Member Author

Ta! It's not as high a priority as v3 though. It's not a documented feature, and I only happened to realise it needed to be done because I had a left over example script from when I was seeing if the progress formatter option worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants