doc: Add more info on testing to CONTRIBUTING

This commit is contained in:
Nick Craig-Wood 2019-01-12 18:28:51 +00:00
parent ff0b8e10af
commit f365230aea

View file

@ -351,6 +351,12 @@ Unit tests
Integration tests Integration tests
* Add your backend to `fstest/test_all/config.yaml` * Add your backend to `fstest/test_all/config.yaml`
* Once you've done that then you can use the integration test framework from the project root:
* go install ./...
* test_all -backend remote
Or if you want to run the integration tests manually:
* 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:`