s3backer icon indicating copy to clipboard operation
s3backer copied to clipboard

How to test s3backer? (question)

Open zenovich opened this issue 2 years ago • 2 comments

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.

zenovich avatar Sep 23 '21 06:09 zenovich

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.

archiecobbs avatar Sep 23 '21 16:09 archiecobbs

Thanks, @archiecobbs

zenovich avatar Sep 24 '21 16:09 zenovich