This repository was archived by the owner on Aug 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed 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
11
11
way than just downloading it. Here are the basic installation instructions:
12
12
13
13
1 . 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.
15
16
16
17
2 . Move into the directory that houses your local repository:
17
18
@@ -158,25 +159,25 @@ deleted after the test suite finishes.
158
159
To run all tests:
159
160
160
161
``` bash
161
- go test ./...
162
+ go test -tags fixtures ./...
162
163
```
163
164
164
165
To run all tests with verbose output:
165
166
166
167
``` bash
167
- go test -v ./...
168
+ go test -v -tags fixtures ./...
168
169
```
169
170
170
171
To run tests that match certain [ build tags] ( ) :
171
172
172
173
``` bash
173
- go test -tags " foo bar" ./...
174
+ go test -tags " fixtures foo bar" ./...
174
175
```
175
176
176
177
To run tests for a particular sub-package:
177
178
178
179
``` bash
179
- cd ./path/to/package && go test .
180
+ cd ./path/to/package && go test -tags fixtures .
180
181
```
181
182
182
183
## Basic style guide
You can’t perform that action at this time.
0 commit comments