Vacuumize tests


Just made a pull request and noted the tests are using environment within which looks kinda strange and requires some local preparations to run and produces "works on my machine" syndrome.

So proposal it vacuumize tests to make the use test-related data only, for instance in my case some tests were failed due to attempt to access ~/.config/rclone/rclone.conf which must not be used in tests at all.

PS. Here's just to discuss, rclone is awesome, thanks! :slight_smile:

Quite a lot of rclone's tests are integration tests and you need config for those.

If you want to run all the tests without the integration parts then use make quicktest which does

RCLONE_CONFIG="/notfound" go test ./...

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.