Set tCoverageParams("CoverageClasses") = <$ListBuild list of class names for which code coverage data should be collected>
Set tCoverageParams("CoverageRoutines") = <$ListBuild list of routine names for which code coverage data should be collected>
Set tCoverageParams("CoverageDetail") = <0 to track code coverage overall; 1 to track it per test suite (the default); 2 to track it per test class; 3 to track it per test method.>
Do ##class(TestCoverage.Manager).RunTest(,,.tCoverageParams)
It would be nice if CoverageClasses and CoverageRoutines could be expressed as a dynamic array (that is, ["Foo.","Bar."] instead.
Hi Tim @isc-tleavitt , shall we make the method to accept both %DynamicArray and $ListBuild or shall we deprecate $ListBuild in favor of %DynamicArray?
Right now, the documentation says:
It would be nice if CoverageClasses and CoverageRoutines could be expressed as a dynamic array (that is, ["Foo.","Bar."] instead.