We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ScalaPactMock.startServer() always starts the server on a random port because of the following line:
ScalaPactMock.startServer()
val scalaPactSettings = ScalaPactSettings( ... port = Option(0), // `0` means "use any available port". ... )
(https://github.com/ITV/scala-pact/blob/main/scalapact-scalatest/src/main/scala/com/itv/scalapact/ScalaPactMock.scala#L41)
It would be nice if the port can be chosen via a method parameter.
Do you have any opinion on this? If I provide a PR for this, are you willing to merge it and release it?
The text was updated successfully, but these errors were encountered:
sure go for it
Sorry, something went wrong.
Cool, opened a PR if you want to have a look @jbwheatley
No branches or pull requests
ScalaPactMock.startServer()
always starts the server on a random port because of the following line:(https://github.com/ITV/scala-pact/blob/main/scalapact-scalatest/src/main/scala/com/itv/scalapact/ScalaPactMock.scala#L41)
It would be nice if the port can be chosen via a method parameter.
Do you have any opinion on this? If I provide a PR for this, are you willing to merge it and release it?
The text was updated successfully, but these errors were encountered: