From 846a39d7be91b709025fee38e03d347a694feb8f Mon Sep 17 00:00:00 2001 From: William Martin Date: Fri, 11 Oct 2024 17:57:08 +0200 Subject: [PATCH] Add go to test instructions in Acceptance README --- acceptance/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acceptance/README.md b/acceptance/README.md index 13cbfe86e..9828bfe74 100644 --- a/acceptance/README.md +++ b/acceptance/README.md @@ -27,7 +27,7 @@ The token to use for authenticatin with the `GH_HOST`. This must already have th A full example invocation can be found below: ``` -GH_ACCEPTANCE_HOST= GH_ACCEPTANCE_ORG= GH_ACCEPTANCE_TOKEN= test -tags=acceptance ./acceptance +GH_ACCEPTANCE_HOST= GH_ACCEPTANCE_ORG= GH_ACCEPTANCE_TOKEN= go test -tags=acceptance ./acceptance ``` #### Code Coverage @@ -35,7 +35,7 @@ GH_ACCEPTANCE_HOST= GH_ACCEPTANCE_ORG= GH_ACCEPTANCE_TOKEN= te To get code coverage, `go test` can be invoked with `coverpkg` and `coverprofile` like so: ``` -GH_ACCEPTANCE_HOST= GH_ACCEPTANCE_ORG= GH_ACCEPTANCE_TOKEN= test -tags=acceptance -coverprofile=coverage.out -coverpkg=./... ./acceptance +GH_ACCEPTANCE_HOST= GH_ACCEPTANCE_ORG= GH_ACCEPTANCE_TOKEN= go test -tags=acceptance -coverprofile=coverage.out -coverpkg=./... ./acceptance ``` ### Writing Tests