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

feat(mock service): add pactfile_write_mode option handling #48

Merged
merged 1 commit into from
May 11, 2017

Conversation

Narazaka
Copy link
Contributor

@Narazaka Narazaka commented May 9, 2017

I want to use the pactfile_write_mode feature for separated test files.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 95.699% when pulling da92274 on Narazaka:master into 5f2c851 on pact-foundation:master.

@mefellows
Copy link
Member

This is a great idea!

Have you tested that this gets through to the underlying Ruby process, though (i.e. have you tested this works).

Likely, this would also need to go into http://github.com/pact-foundation/pact-node also, if not into the CLI of the Ruby process.

@Narazaka
Copy link
Contributor Author

I had tested it with "overwrite" and "update" option values and checked their working fine. The "pactfile_write_mode" option is handled by not cli options but pact mock server's POST /pact API.
The "smart" option seems to depend on rspec so I ignored that.

@mefellows mefellows merged commit cda7c7f into pact-foundation:master May 11, 2017
@mefellows
Copy link
Member

Awesome - I'll bring it in, update the docs etc.

This will be useful for a number of use cases!

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

Successfully merging this pull request may close these issues.

None yet

3 participants