The new version of InterSystems Testing Manager which I released last week brings @Timothy Leavitt's cool
Test Coverage Tool to VS Code, and is my entry for the 2025 Developer Tools contest.
Here's a teaser screenshot showing how the unit tests of the IPM project don't yet cover a feature that apparently allows an IPM repository to override its sort order.
Notice how line 88 is decorated red as a warning to the developer.
A "battery indicator"-style decoration in VS Code's Explorer view shows amber because tests cover only 76% of the executable lines in the methods of this class. Hovering on the indicator shows more information, and the method coverage (8 out of 9) is also displayed as a second indicator in the optional Test Coverage Toolbar on the editor.
Thresholds can be configured in VS Code, as can the colors if red-amber-green are hard to distinguish.
Like what you see? If you're already using the InterSystems %UnitTest framework please try it for yourself. Feedback welcome, as are votes in the contest before voting closes on Sunday August 3rd at midnight Eastern Time.