z/TPF scriptable code coverage support
z/TPF scriptable code coverage support provides REST services for you to collect code coverage data for your z/TPF applications.
You can create code coverage result files in one of the following formats:
| Format | Viewing tool |
|---|---|
| IBM® format | TPF Toolkit |
| SonarQube format | SonarQube server |
| Cobertura format | Any tool that supports the Cobertura format such as a SonarQube server |
By using scriptable code coverage
REST services, you can generate formatted code
coverage results on the z/TPF system or remotely on Linux® on IBM Z®. The
following table summarizes the differences between those formatting methods.
| Formatting location | Is TPF Toolkit required? | Can source files be included with results? |
|---|---|---|
| Native | No | No |
| Remote | Yes | Yes |
Note: Source files cannot be included when code coverage results are formatted on the z/TPF system because the z/TPF code coverage native formatting service (tpfccv) on the z/TPF system does not have access to source
files on Linux on IBM Z.