|
1 |
| -[](https://travis-ci.com/intersystems/TestCoverage) [](https://codecov.io/gh/intersystems/TestCoverage) |
| 1 | +[](https://codecov.io/gh/intersystems/TestCoverage) |
2 | 2 | [](https://community.objectscriptquality.com/dashboard?id=intersystems_iris_community%2FTestCoverage)
|
3 | 3 |
|
4 |
| -# Unit Test Coverage for ObjectScript |
| 4 | +# Unit Test Coverage for InterSystems ObjectScript |
5 | 5 |
|
6 | 6 | Run your typical ObjectScript %UnitTest tests and see which lines of your code are executed. Includes Cobertura-style reporting for use in continuous integration tools.
|
7 | 7 |
|
8 | 8 | ## Getting Started
|
9 | 9 |
|
10 |
| -Note: a minimum platform version of Caché/Ensemble 2016.2 is required. |
11 |
| -This tool will also work on any version of InterSystems IRIS. |
| 10 | +Note: a minimum platform version of InterSystems IRIS® data platform 2019.1 is required. |
12 | 11 |
|
13 | 12 | ### Installation: ZPM
|
14 | 13 |
|
15 |
| -If you already have the [ObjectScript Package Manager](https://openexchange.intersystems.com/package/ObjectScript-Package-Manager-2), installation is as easy as: |
| 14 | +If you already have the [InterSystems Package Manager](https://openexchange.intersystems.com/package/InterSystems-Package-Manager-1), installation is as easy as: |
16 | 15 | ```
|
17 | 16 | zpm "install testcoverage"
|
18 | 17 | ```
|
@@ -63,7 +62,7 @@ zw ##class(TestCoverage.Utils).GrantSQLReadPermissions("_PUBLIC")
|
63 | 62 | ## User Guide
|
64 | 63 |
|
65 | 64 | ### Running Tests with Coverage
|
66 |
| -Generally speaking, set `^UnitTestRoot`, and then call `##class(TestCoverage.Manager).RunTest()` the same you would call `##class(%UnitTest.Manager).RunTest()`. For more information on InterSystems' %UnitTest framework, see the [tutorial](https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=TUNT) and/or the [class reference for %UnitTest.Manager](https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25UnitTest.Manager). |
| 65 | +Generally speaking, set `^UnitTestRoot`, and then call `##class(TestCoverage.Manager).RunTest()` the same you would call `##class(%UnitTest.Manager).RunTest()`. For more information on InterSystems' %UnitTest framework, see the [tutorial](https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=TUNT) and/or the [class reference for %UnitTest.Manager](https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25UnitTest.Manager). |
67 | 66 |
|
68 | 67 | The "userparam" argument can be used to pass information about code coverage data collection. For example:
|
69 | 68 |
|
@@ -134,7 +133,7 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
|
134 | 133 |
|
135 | 134 | ## Authors
|
136 | 135 |
|
137 |
| -* **Tim Leavitt** - *Initial implementation* - [timleavitt](http://github.com/timleavitt) |
| 136 | +* **Tim Leavitt** - *Initial implementation* - [timleavitt](http://github.com/timleavitt) / [isc-tleavitt](http://github.com/isc-tleavitt) |
138 | 137 |
|
139 | 138 | See also the list of [contributors](https://github.com/intersystems/TestCoverage/contributors) who participated in this project.
|
140 | 139 |
|
|
0 commit comments