File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 4
4
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
"version" : " 0.2.0" ,
6
6
"configurations" : [
7
+
8
+ ////////////////////////////////
9
+ // golang itest example
10
+ ////////////////////////////////
7
11
{
8
- "name" : " Debug itest" ,
12
+ "name" : " single itest example (test_custom_channels) " ,
9
13
"type" : " go" ,
10
14
"request" : " launch" ,
11
15
"mode" : " test" ,
16
20
},
17
21
"args" : [
18
22
" -test.v" ,
23
+
24
+ // Find test names to run in `itest/litd_test_list_on_test.go` and
25
+ // then replace ` ` (spaces) with `_` (underscores).
26
+ // i.e. "test custom channels" --> "test_custom_channels"
27
+ // Some related examples of how to choose multiple tests to run at the
28
+ // same time as well as how to run tests outside of vscode can be
29
+ // found at:
30
+ // https://github.com/lightningnetwork/lnd/blob/master/itest/README.md
19
31
" -test.run=TestLightningTerminal/test_custom_channels" ,
32
+
20
33
" -logoutput" ,
21
34
" -logdir=${workspaceFolder}/itest/.logs" ,
22
35
" -litdexec=${workspaceFolder}/itest/litd-itest" ,
26
39
" -tags=dev integration itest lowscrypt litd autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc peersrpc" ,
27
40
],
28
41
},
42
+
43
+
44
+ ////////////////////////////////
45
+ // react GUI tests
46
+ ////////////////////////////////
47
+
29
48
{
30
- "name" : " Debug Tests" ,
49
+ "name" : " react Debug Tests" ,
31
50
"type" : " node" ,
32
51
"request" : " launch" ,
33
52
"runtimeExecutable" : " ${workspaceRoot}/app/node_modules/.bin/react-scripts" ,
You can’t perform that action at this time.
0 commit comments