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
Logging in tests is important for troubleshooting, but works very differently then in production.
minio
Wrapper around the minio server binary to run ephemeral instances of S3-compatible object storage for testing
tar
Test helpers for working with tar archives, such as extracting them to temp dirs so their contents can be validated against expected test data.
test_data
Create test data in S3-compatible object storage

Type Aliases§

Result
Test code that reports errors can just cheat and use eyre