Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: Update integration testing guide

Stefan Breunige57a38885146
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 73d98be19..a4e704812 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -100,21 +100,24 @@ need to make a remote called `TestDrive`.
You can then run the unit tests in the drive directory. These tests
are skipped if `TestDrive:` isn't defined.
- cd drive
+ cd backend/drive
go test -v
You can then run the integration tests which tests all of rclone's
operations. Normally these get run against the local filing system,
but they can be run against any of the remotes.
- cd ../fs
+ cd fs/sync
go test -v -remote TestDrive:
go test -v -remote TestDrive: -subdir
+ cd fs/operations
+ go test -v -remote TestDrive:
+
If you want to run all the integration tests against all the remotes,
-then run in that directory
+then change into the project root and run
- go run test_all.go
+ make test
## Code Organisation ##