Crate ssstar_testing
source ·Expand description
Testing helpers for use writing unit and integration tests of the ssstar
crate
This is internal to ssstar
and is not intended for use by any other crates. Breaking changes
can be made at any time. The only reason this is published at all is that cargo publish
requires that all dev-dependencies
be resolvable in the public registry.
Modules§
- Logging in tests is important for troubleshooting, but works very differently then in production.
- Wrapper around the
minio
server binary to run ephemeral instances of S3-compatible object storage for testing - Test helpers for working with tar archives, such as extracting them to temp dirs so their contents can be validated against expected test data.
- Create test data in S3-compatible object storage
Type Aliases§
- Test code that reports errors can just cheat and use
eyre