You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,27 +36,31 @@ In order to support topologies in which client-side-managed test classes have to
36
36
37
37
1. Ensure your VS Code workspace specifies its server connection(s) by referencing server(s) in the `intersystems.servers` configuration object which InterSystems Server Manager maintains. For example, assuming a server named `iris231` has been defined:
38
38
39
-
- For client-side paradigm (in `settings.json`, or in `"settings"` object in `xxx.code-workspace` file):
39
+
- For the client-side paradigm (in `settings.json`, or in `"settings"` object in `xxx.code-workspace` file):
40
40
```
41
-
"objectscript.conn": {
42
-
"server": "iris231",
43
-
"ns": "USER",
44
-
"active": true
45
-
},
46
-
```
47
-
- For server-side paradigm (in `xxx.code-workspace` file):
41
+
"objectscript.conn": {
42
+
"server": "iris231",
43
+
"ns": "APP",
44
+
"active": true
45
+
},
46
+
```
47
+
48
+
- For the server-side paradigm (in `xxx.code-workspace` file):
48
49
```
49
50
"folders": [
50
51
{
51
-
"name": "iris231:USER",
52
-
"uri": "isfs://iris231:user/?mapped=0"
52
+
"name": "iris231:APP-ISFS",
53
+
"uri": "isfs://iris231:app-isfs/?mapped=0"
53
54
}
54
55
],
55
56
```
57
+
56
58
> We recommend setting the `username` property of the server definition object, and using Server Manager's secure password storage feature to hold that user's password.
57
59
58
60
2. For a workspace using client-side editing, test classes are sought in `.cls` files under the `internal/testing/unit_tests` subfolder, using the conventional layout of one additional subfolder per package-name element. If your test classes are located elsewhere, use the `intersystems.testingManager.client.relativeTestRoot` setting to point there.
59
61
62
+
> By setting this at the workspace level you can have different file layouts for different projects.
63
+
60
64
## Running Tests
61
65
62
66
VS Code provides several different ways to run tests.
@@ -77,4 +81,4 @@ The `...` menu of the Testing panel in Test Explorer includes several useful com
77
81
78
82
The %UnitTest framework persists results of runs in server-side tables. The 'Recent History' root folder lets you explore the most recent ten sets of results for each server and namespace the workspace uses.
79
83
80
-
Hovering on a run's folder reveals an action button which launches %UnitTest's own results browser in an external web browser.
84
+
Hovering on a run's folder reveals an action button which launches %UnitTest's own results browser in an external web browser.
0 commit comments