Struct stubr::Stubr [−][src]
pub struct Stubr { /* fields omitted */ }
Expand description
Allows running a Wiremock mock server from Wiremock stubs. Delegates runtime to wiremock-rs.
Implementations
Runs a mock server. The server is unbinded when the instance is dropped. Use this in a test context.
stubs
- folder or file containing the stubs
Runs a mock server in a blocking way. The server is unbinded when the instance is dropped. Use this in a test context.
stubs
- folder or file containing the stubs
Runs a mock server with some configuration. The server is unbinded when the instance is dropped. Use this in a test context.
stubs
- folder or file containing the stubsconfig
- global server configuration
Runs a mock server in a blocking way with some configuration. The server is unbinded when the instance is dropped. Use this in a test context.
stubs
- folder or file containing the stubsconfig
- global server configuration
Runs stubs of a remote producer app.
name
- producer name
Runs stubs of a remote producer app.
name
- producer name
Runs stubs of a remote producer app.
name
- producer name