Skip to content

A sub-command to generate test artefacts #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andrewpatto opened this issue Mar 21, 2025 · 0 comments
Open

A sub-command to generate test artefacts #31

andrewpatto opened this issue Mar 21, 2025 · 0 comments

Comments

@andrewpatto
Copy link
Member

andrewpatto commented Mar 21, 2025

Add a sub-command that can be used to make example files/objects.

For instance, cloud-checksum artefact --bucket blah --prefix samples/ABC "uneven-part-size-sample-large"

Some of our testing can be mocked - but some is going to rely on creating actual S3 objects with various difficult settings. We will almost have to hand roll their creation - as for instance aws s3 cp cannot create objects with differing part sizes.

It will not be a lot of code, just lots of boilerplate AWS S3 PutObjects with some minor differences.

I have some versions of this written in Typescript - consider just converting over to Rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant