From 2f3ca70d7b3a30031bae7d37a8f8ccd8c1bbea9c Mon Sep 17 00:00:00 2001 From: Arthur Barr Date: Wed, 29 Nov 2017 16:08:12 +0000 Subject: [PATCH] Document running a single test --- docs/developing.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developing.md b/docs/developing.md index 20bd753..895d877 100644 --- a/docs/developing.md +++ b/docs/developing.md @@ -50,6 +50,12 @@ or: 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:: + +``` +TEST_OPTS_DOCKER="-run TestGoldenPath" make test-advancedserver +``` + ### Running the Docker tests with code coverage You can produce code coverage results from the Docker tests by running the following: