File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Setting up a Development Environment
2
+
3
+ ## Running Tests
4
+
5
+ ``` bash
6
+ export VOUCH_ROOT=` pwd` # if not using GOPATH
7
+ ./do.sh test
8
+ ```
9
+
10
+ After running these tests manually once (which creates a test key pair), it is possible to run the tests with VSCode Test Explorer.
11
+
12
+ To get it to work, we must set some environment variables in ` .vscode/settings.json ` which otherwise would be set by ` do.sh ` :
13
+
14
+ ``` json
15
+ {
16
+ "go.testEnvVars" : {
17
+ "VOUCH_ROOT" : " ${workspaceFolder}" ,
18
+ "VOUCH_CONFIG" : " ${workspaceFolder}/config/testing/test_config.yml" ,
19
+ "TEST_PRIVATE_KEY_FILE" : " ${workspaceFolder}/config/testing/rsa.key" ,
20
+ "TEST_PUBLIC_KEY_FILE" : " ${workspaceFolder}/config/testing/rsa.pub" ,
21
+ }
22
+ }
23
+ ```
24
+
1
25
### Contributing to Vouch Proxy by submitting a Pull Request
2
26
3
27
** _ I really love Vouch Proxy! I wish it did XXXX..._ **
You can’t perform that action at this time.
0 commit comments