archiecobbs / s3backer

FUSE/NBD single file backing store via Amazon S3
Other
529 stars 75 forks source link

How to test s3backer? (question) #153

Open zenovich opened 2 years ago

zenovich commented 2 years ago

I'm experimenting with s3backer and making some changes. At the same time, I want to be sure all the previously implemented features are still alright. How can I check that?

I know I can create disks on S3 or locally (with --test), format them, populate them with data and validate the data. This approach is good, but it takes too much time. Is there a way to test everything automatically? I see there is program named 'tester', but I don't get how to run it properly and it looks like it's designed to work 24 hours long.

Probably it might be helpful if @archiecobbs (or maybe someone else) shares scripts and tools he personally uses for testing s3backer and/or adds howtos on testing.

archiecobbs commented 2 years ago

Hi @zenovich ,

There is no test suite currently. The tester program is basically all we've got.

Putting together some test scripts (for Linux) written in bash should not be too hard but obviously somewhat tedious.

zenovich commented 2 years ago

Thanks, @archiecobbs