Struct vaultrs_test::docker::TestInstance [−][src]
pub struct TestInstance {
pub instance: DockerTest,
}Expand description
A single test instance made up of several Compositions which are brought up for executing tests.
Use the run method to run the containers and perform the test logic.
Fields
instance: DockerTestImplementations
Returns a new TestInstance configured with the given Compositions.
Adds a Composition to this TestInstance.
Runs all containers from the associated Compositions, verifying they are running according to their startup conditions, and then calls the passed closure with runtime details.
This is the main method for running the TestInstance. All test logic should be encompassed within the passed closure. Creating and destroying containers happens upon entering/leaving the closure.
Auto Trait Implementations
impl !RefUnwindSafe for TestInstance
impl !Send for TestInstance
impl !Sync for TestInstance
impl Unpin for TestInstance
impl !UnwindSafe for TestInstance
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more