Update CONTRIBUTING with more info about integration tests.
This commit is contained in:
parent
29286cc8b3
commit
c2ce3114f4
1 changed files with 8 additions and 0 deletions
|
@ -119,6 +119,9 @@ then change into the project root and run
|
||||||
|
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
This command is run daily on the the integration test server. You can
|
||||||
|
find the results at https://pub.rclone.org/integration-tests/
|
||||||
|
|
||||||
## Code Organisation ##
|
## Code Organisation ##
|
||||||
|
|
||||||
Rclone code is organised into a small number of top level directories
|
Rclone code is organised into a small number of top level directories
|
||||||
|
@ -157,6 +160,7 @@ with modules beneath.
|
||||||
* test_all - Runs integration tests for everything
|
* test_all - Runs integration tests for everything
|
||||||
* graphics - the images used in the website etc
|
* graphics - the images used in the website etc
|
||||||
* lib - libraries used by the backend
|
* lib - libraries used by the backend
|
||||||
|
* atexit - register functions to run when rclone exits
|
||||||
* dircache - directory ID to name caching
|
* dircache - directory ID to name caching
|
||||||
* oauthutil - helpers for using oauth
|
* oauthutil - helpers for using oauth
|
||||||
* pacer - retries with backoff and paces operations
|
* pacer - retries with backoff and paces operations
|
||||||
|
@ -309,11 +313,15 @@ Integration tests
|
||||||
* Make sure integration tests pass with
|
* Make sure integration tests pass with
|
||||||
* `cd fs/operations`
|
* `cd fs/operations`
|
||||||
* `go test -v -remote TestRemote:`
|
* `go test -v -remote TestRemote:`
|
||||||
|
* `cd fs/sync`
|
||||||
|
* `go test -v -remote TestRemote:`
|
||||||
* If you are making a bucket based remote, then check with this also
|
* If you are making a bucket based remote, then check with this also
|
||||||
* `go test -v -remote TestRemote: -subdir`
|
* `go test -v -remote TestRemote: -subdir`
|
||||||
* And if your remote defines `ListR` this also
|
* And if your remote defines `ListR` this also
|
||||||
* `go test -v -remote TestRemote: -fast-list`
|
* `go test -v -remote TestRemote: -fast-list`
|
||||||
|
|
||||||
|
See the [testing](#testing) section for more information on integration tests.
|
||||||
|
|
||||||
Add your fs to the docs - you'll need to pick an icon for it from [fontawesome](http://fontawesome.io/icons/). Keep lists of remotes in alphabetical order but with the local file system last.
|
Add your fs to the docs - you'll need to pick an icon for it from [fontawesome](http://fontawesome.io/icons/). Keep lists of remotes in alphabetical order but with the local file system last.
|
||||||
|
|
||||||
* `README.md` - main Github page
|
* `README.md` - main Github page
|
||||||
|
|
Loading…
Reference in a new issue