Skip to content

Commit 967e878

Browse files
committed
Prepare v2.0.1 release
1 parent cc8e64d commit 967e878

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1 (28-Jul-2025)
2+
* Activate the Covering Tests filter in the editor's Test Coverage Toolbar (#44)
3+
* Various bugfixes and improvements.
4+
15
## 2.0.0 (23-Jul-2025)
26
* Use [Test Coverage Tool](https://openexchange.intersystems.com/package/Test-Coverage-Tool) to present coverage information (#24)
37

README.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,22 @@ _Server-side editing workspace_
2222

2323
When used alongside [Test Coverage Tool](https://openexchange.intersystems.com/package/Test-Coverage-Tool) this extension presents coverage inside VS Code:
2424

25-
![Code coverage example](images/README/Coverage-example.png)
25+
![Test coverage example](images/README/Coverage-example.png)
2626

27-
_Code coverage example showing coverage of Test Coverage Tool's own unit tests_
27+
_Coverage example showing coverage of Test Coverage Tool's own unit tests_
28+
29+
In the above screenshot the Test Coverage view has been dragged to the secondary sidebar.
30+
31+
32+
Displaying which code lines your tests cover aids the improvement of those tests. The greater the percentage of code lines covered by testing, the more likely your tests will detect regressions.
33+
34+
Below is an example from the [InterSystems Package Manager](https://github.com/intersystems/ipm) repository. Two test classes ran code in the %IPM.Repo.Definition class, but neither of them covered line 88 in the screenshot below:
35+
36+
![Tests missed part of a method](images/README/Coverage-missed-part-of-method.png)
37+
38+
_Tests failed to cover line 88_
39+
40+
The optional Test Coverage Toolbar at the top of the class's editor and the coverage decorations in the Explorer tree combine to promote good testing habits.
2841

2942
In order to support topologies in which client-side-managed test classes have to be run in the namespace of a remote server, this extension uses the `/_vscode` web application on the test-running server, no matter whether local or remote.
3043

@@ -82,12 +95,13 @@ Hovering on a run's folder reveals an action button which launches %UnitTest's o
8295
8396
## Known Limitations
8497
85-
This extension is a preview and has some known limitations:
98+
This extension has some known quirks and limitations:
8699
87100
- 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.
88-
- 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.
89-
- 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.
90-
- The `/autoload` feature of %UnitTest is not supported. This is only relevant to client-side mode.
101+
- Launching the IRIS debugger requires a document on the target server namespace to be open and active. This extension opens one automatically at the beginning of all types of test (Run, Debug and Run With Coverage).
102+
- The very first coverage-type run after installation may report that the Test Coverage Tool is missing. Use the Refresh Tests button on the Test Explorer view, then retry your coverage run.
103+
- The extension has only been tested with InterSystems IRIS instances that use the English locale. Its technique for parsing the output from %UnitTest may fail when used with other locales.
104+
- The `/autoload` feature of %UnitTest is not currently supported. This is only relevant to client-side mode.
91105
- 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.
92106
93107
## Feedback
404 KB
Loading

0 commit comments

Comments
 (0)