JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
I am using the pact-jvm to write contract tests and would like to pass the broker URL and auth token as environment variables. I see that System Properties documentation says that these properties can also be set using an OS environment variable but it does not give instructions on how to do this. Any help would be appreciated on this topic.
Just set the environment variable as the same name as the JVM system property. I.e. an environment variable pactbroker.url can be used instead of the system property.
I am using the pact-jvm to write contract tests and would like to pass the broker URL and auth token as environment variables. I see that System Properties documentation says that these properties can also be set using an OS environment variable but it does not give instructions on how to do this. Any help would be appreciated on this topic.