File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ to a remote API.
12
12
13
13
### Step 1. Set environment variables
14
14
15
- A lot of tests rely on environment variables for configuration - so you will need
15
+ A lot of tests rely on environment variables for configuration - so you will need
16
16
to set them before running the suite. If you're testing against pure OpenStack APIs,
17
- you can download a file that contains all of these variables for you: just visit
18
- the ` project/access_and_security ` page in your control panel and click the "Download
19
- OpenStack RC File" button at the top right. For all other providers, you will need
17
+ you can download a file that contains all of these variables for you: just visit
18
+ the ` project/access_and_security ` page in your control panel and click the "Download
19
+ OpenStack RC File" button at the top right. For all other providers, you will need
20
20
to set them manually.
21
21
22
22
#### Authentication
@@ -45,12 +45,8 @@ to set them manually.
45
45
46
46
### 2. Run the test suite
47
47
48
- From any directory, run:
48
+ From the root directory, run:
49
49
50
50
```
51
- go test -v -tags acceptance github.com/rackspace/gophercloud/...
51
+ ./script/acceptancetest
52
52
```
53
-
54
- Alternatively, you can execute the above from your nested git folder (i.e. the
55
- workspace visible when browsing the Github repository) by replacing
56
- ` github.com/rackspace/gophercloud/... ` with ` ./... `
Original file line number Diff line number Diff line change 2
2
#
3
3
# Run the acceptance tests.
4
4
5
- exec go test -tags ' acceptance fixtures' ./acceptance/... $@
5
+ exec go test -v -p=1 - tags ' acceptance fixtures' ./acceptance/... $@
You can’t perform that action at this time.
0 commit comments