SpringCloud JUnit和Spring的通用Properties
您可以使用系统属性或Spring配置属性来设置重复属性。这是它们的名称及其默认值:
Property名称 | 默认值 | 描述 |
---|---|---|
stubrunner.minPort | 10000 | Minimum value of a port for a started WireMock with stubs. |
stubrunner.maxPort | 15000 | Maximum value of a port for a started WireMock with stubs. |
stubrunner.repositoryRoot | Maven repo URL. If blank, then call the local maven repo. | |
stubrunner.classifier | stubs | Default classifier for the stub artifacts. |
stubrunner.stubsMode | CLASSPATH | The way you want to fetch and register the stubs |
stubrunner.ids | Array of Ivy notation stubs to download. | |
stubrunner.username | Optional username to access the tool that stores the JARs with stubs. | |
stubrunner.password | Optional password to access the tool that stores the JARs with stubs. | |
stubrunner.stubsPerConsumer | false | Set to |
stubrunner.consumerName | If you want to use a stub for each consumer and want to override the consumer name just change this value. |
更多建议: