1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

Make integration tests use go1.7+ nested tests #2154

* Removed generated code and code generator
  * Updated docs on how to write integration tests
  * Tidied up the actual integration tests
This commit is contained in:
Nick Craig-Wood
2018-04-07 18:48:11 +01:00
parent 42f0963bf9
commit 0fa700b3cf
27 changed files with 1129 additions and 2615 deletions

View File

@@ -303,8 +303,7 @@ Getting going
Unit tests
* Create a config entry called `TestRemote` for the unit tests to use
* Add your fs to the end of `fstest/fstests/gen_tests.go`
* generate `backend/remote/remote_test.go` unit tests `cd fstest/fstests; go generate`
* Create a `backend/remote/remote_test.go` - copy and adjust your example remote
* Make sure all tests pass with `go test -v`
Integration tests