This repository was archived by the owner on Aug 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ As a contributor you will need to setup your workspace in a slightly different
1111way than just downloading it. Here are the basic installation instructions:
1212
13131 . Configure your ` $GOPATH ` and run ` go get ` as described in the main
14- [ README] ( /README.md#how-to-install ) .
14+ [ README] ( /README.md#how-to-install ) but add ` -tags "fixtures acceptance" ` to
15+ get dependencies for unit and acceptance tests.
1516
16172 . Move into the directory that houses your local repository:
1718
@@ -158,25 +159,25 @@ deleted after the test suite finishes.
158159To run all tests:
159160
160161``` bash
161- go test ./...
162+ go test -tags fixtures ./...
162163```
163164
164165To run all tests with verbose output:
165166
166167``` bash
167- go test -v ./...
168+ go test -v -tags fixtures ./...
168169```
169170
170171To run tests that match certain [ build tags] ( ) :
171172
172173``` bash
173- go test -tags " foo bar" ./...
174+ go test -tags " fixtures foo bar" ./...
174175```
175176
176177To run tests for a particular sub-package:
177178
178179``` bash
179- cd ./path/to/package && go test .
180+ cd ./path/to/package && go test -tags fixtures .
180181```
181182
182183## Basic style guide
You can’t perform that action at this time.
0 commit comments