docs.rs failed to build wasmcloud-test-util-0.18.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
wasmcloud-test-util-0.16.0
wasmcloud-test-util
This repository contains utilities for writing tests for the wasmCloud ecosystem.
This crate provides utilities for:
- Manipulating a wasmCloud host programmatically
- Starting/stopping workloads (i.e. providers and components)
- Dealing with OS-level dependencies (ex. random ports)
- ... and more
This crate is meant to be used by programs, utilities and infrastructure targeting the wasmCloud platform.
Installation
To use wasmcloud-test-util
in your project, you can add it via cargo add
as a test (development) dependency:
cargo add --dev wasmcloud-test-util
Or include the following in your Cargo.toml
:
= "0.13.0"
Features
wasmcloud-test-util
comes with the following features:
Feature | Default? | Description |
---|---|---|
http | no | Enable HTTP related test utilities |
os | no | Enable OS-level test utilities |
testcontainers | no | Enable testcontainers -related extensions |
Using wasmcloud-test-util
wasmcloud-test-util
does not provide a prelude
, but instead exports types as needed under appropriate modules.
use Duration;
use ClientBuilder;
use ;
use wait_for_nats_connection;
use StartProviderArgs;
use ;
use ;
async
Contributing
Have a change that belongs be in wasmcloud-test-util
? Please feel free to file an issue and/or join us on the wasmCloud slack!