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
+2-39Lines changed: 2 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,43 +34,7 @@ In order to support topologies in which client-side-managed test classes have to
34
34
35
35
## Workspace Preparations
36
36
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
-
39
-
- For the **client-side** paradigm (in `settings.json`, or in `"settings"` object in `xxx.code-workspace` file):
40
-
```json
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):
49
-
```json
50
-
"folders": [
51
-
{
52
-
"name": "iris231:APP-ISFS",
53
-
"uri": "isfs://iris231:app-isfs/?mapped=0"
54
-
}
55
-
],
56
-
```
57
-
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.
59
-
60
-
> If you are editing client-side and using the `docker-compose` object within your `objectscript.conn` settings to handle dynamic assignment of the web server port at the host end, omit the `server` property. You will have to put credentials in the settings as plaintext, so this should **only** be done with well-known 'standard' ones such as shown as an example below:
61
-
```json
62
-
"objectscript.conn" :{
63
-
"ns": "APP",
64
-
"username": "_SYSTEM",
65
-
"password": "SYS",
66
-
"docker-compose": {
67
-
"service": "iris",
68
-
"internalPort": 52773
69
-
},
70
-
"active": true
71
-
},
72
-
```
73
-
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.
37
+
For a workspace using client-side editing, test classes are by default 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.
74
38
75
39
> By setting this at the workspace level you can have different file layouts for different projects.
76
40
@@ -103,9 +67,8 @@ Hovering on a run's folder reveals an action button which launches %UnitTest's o
103
67
104
68
This extension is a preview and has some known limitations:
105
69
106
-
- The extension uses server-side REST support for debugging even when tests are not being debugged. That support is broken in InterSystems IRIS 2021.1.3, and maybe also in earlier 2021.1.x versions.
70
+
- The extension uses server-side REST support for debugging even when tests are not being debugged. Debug support is broken in InterSystems IRIS 2021.1.3, and maybe also in earlier 2021.1.x versions. Either upgrade to a later version or request an ad-hoc patch from InterSystems.
107
71
- In client-side mode test-run results don't update the testing icons in the editor gutter or the Local Tests tree in Testing view. Workaround is to view them under the Recent History tree.
108
-
- Debugging tests in client-side mode has issues arising from how your workspace stores your test classes outside the source tree of the classes they are testing. Please see the extension's repository (link below) and add new issues if you experience problems not already logged there.
109
72
- The extension has only been tested with InterSystems IRIS instances that use the English locale. Its technique for parsing the output from %UnitTest is likely to fail with other locales.
110
73
- The `/autoload` feature of %UnitTest is not supported. This is only relevant to client-side mode.
111
74
- The loading and deleting of unit test classes which occurs when using client-side mode will raise corresponding events on any source control class that the target namespace may have been configured to use.
0 commit comments