The answer about mocking is great.
At the TestCoverage level, by default the tool tracks coverage for the current process only. This prevents noise / pollution of stats from other concurrent use of the system. You can override this (see readme at https://github.com/intersystems/TestCoverage - set tPidList to an empty string), but there are sometimes issues with the line-by-line monitor if you do; #14 has a bit more info on this.
Note - question also posted/answered at https://github.com/intersystems/TestCoverage/issues/33
- Log in to post comments