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

Fixes #190 / #203: allow control over when stub server starts and stops. #211

Merged
merged 1 commit into from
Feb 15, 2021

Conversation

solarmosaic-kflorence
Copy link
Contributor

@solarmosaic-kflorence solarmosaic-kflorence commented Jan 17, 2021

This is a fully backwards compatible change. It introduces a new public class, ScalaPactMockServer as well as adding the option to use startServer instead of runConsumerTest in the ScalaPactDescription DSL.

This also partially addresses #203 as tests no longer need to be executed synchronously with this pattern, however this really only affects consumer tests, not provider tests.

@solarmosaic-kflorence solarmosaic-kflorence changed the title Fixes #190: allow control over when stub server starts and stops. Fixes #190 / #203: allow control over when stub server starts and stops. Jan 17, 2021
@solarmosaic-kflorence
Copy link
Contributor Author

@jbwheatley @davesmith00000 anything I can do to help move this through faster?

@jbwheatley jbwheatley merged commit 7adeb0b into ITV:master Feb 15, 2021
@solarmosaic-kflorence solarmosaic-kflorence deleted the test-stubs-190 branch February 22, 2021 17:51
@solarmosaic-kflorence
Copy link
Contributor Author

Thanks! 🎉

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

Successfully merging this pull request may close these issues.

2 participants