Skip to content

Commit 7fea0ac

Browse files
Merge pull request #18 from gjsjohnmurray/prepare-0.2.2
Prepare 0.2.2
2 parents 33d1335 + 644c056 commit 7fea0ac

File tree

2 files changed

+6
-39
lines changed

2 files changed

+6
-39
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2 (10-Jun-2023)
2+
* Handle method names containing numerics.
3+
* Support workspaces that don't use Server Manager.
4+
15
## 0.2.1 (08-Jun-2023)
26
* Discover client-side tests when using `objectscript.conn.docker-compose` settings (#10)
37

README.md

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -34,43 +34,7 @@ In order to support topologies in which client-side-managed test classes have to
3434
3535
## Workspace Preparations
3636
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.
7438
7539
> By setting this at the workspace level you can have different file layouts for different projects.
7640
@@ -103,9 +67,8 @@ Hovering on a run's folder reveals an action button which launches %UnitTest's o
10367
10468
This extension is a preview and has some known limitations:
10569
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.
10771
- 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.
10972
- 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.
11073
- The `/autoload` feature of %UnitTest is not supported. This is only relevant to client-side mode.
11174
- 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

Comments
 (0)