From 64a66f6590b3632a4c8fd311b6958e61c192d393 Mon Sep 17 00:00:00 2001 From: Thomas-Apter Date: Mon, 17 Aug 2020 14:57:31 +0100 Subject: [PATCH] Reformatted testing.md and adding required step make build-devjmstest to Docker tests instructions --- docs/testing.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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: