diff --git a/docs/testing.md b/docs/testing.md index 07bf3a0..f0e9e97 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -14,7 +14,13 @@ There are two main sets of tests: 2. Docker tests, which test a complete Docker image, using the Docker API ### Running the Docker tests -The Docker tests can be run locally on a machine with Docker. For example: +Before running Docker tests, the following command must be ran: + +``` +make build-devjmstest +``` + +The Docker tests can be run locally on a machine with Docker. For example: ``` make test-devserver @@ -25,6 +31,7 @@ You can specify the image to use directly by using the `MQ_IMAGE_ADVANCEDSERVER` ``` MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server:9.2.0.0-amd64 make test-advancedserver +``` You can pass parameters to `go test` with an environment variable. For example, to run the "TestGoldenPath" test, run the following command: