borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.23k stars 743 forks source link

untangle & simplify tests #4048

Open ThomasWaldmann opened 6 years ago

ThomasWaldmann commented 6 years ago

the archiver tests (also fuse tests, iirc) are way too complex, testing too much stuff in a single test.

so, let's add way more simple tests, only testing one specific and small thing per test, using pytest and fixtures.

tests requiring (fake)root should be separate and only contain the stuff requiring root.

it's a lot of work, so do it step by step:

ThomasWaldmann commented 3 days ago

some improvements were recently done: