doc: add more example formats to run e2e tests

Added more example to run e2e and functional tests using `go test` and
`make` commands.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever 2021-01-19 17:18:45 +05:30 committed by mergify[bot]
parent 47e12a6b6c
commit 0d5efe9147

View File

@ -156,6 +156,18 @@ Functional tests are run by the `go test` command.
go test ./e2e/ -timeout=20m -v -mod=vendor
```
To run specific tests, you can specify options
```console
go test ./e2e/ --test-cephfs=false --test-rbd=false --upgrade-testing=true
```
To run e2e for specific tests with `make`, use
```console
make run-e2e E2E_ARGS="--test-cephfs=false --test-rbd=true --upgrade-testing=false"
```
You can also invoke functional tests with `make` command
```console