Module test_data

Module test_data 

Source
Expand description

Create test data in S3-compatible object storage

Structs§

TestObject
TestObjectWithData
The same test object spec as in TestObject, but with the data that is written to the object as well

Functions§

make_test_data
Generate one or more test objects in a bucket.
make_test_data_object
Generate test data for and upload a single test object
prepend_unique_prefix
Generate a unique prefix ending in a / character, and prepend it to the key in a collection of TestObjects.
validate_test_data_in_dir
Validate the test data in a hash map against files in a directory where the file paths relative to path correspond to the keys in TestObjectWithData.
validate_test_data_in_s3
Validate the test data in a hash map against an S3 bucket to which an archive containing the test data has been extracted.