Reformatted testing.md and adding required step make build-devjmstest to Docker tests instructions

This commit is contained in:
Thomas-Apter
2020-08-17 14:57:31 +01:00
committed by LPowlett
parent cd69f6287f
commit 372f2e4a36

View File

@@ -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: