JUnitReporter
Extends:
A reporter that creates JUnit-style XML reports.
Test:
Constructor Summary
Public Constructor | ||
public |
Creates a new JUnitReporter. |
Method Summary
Public Methods | ||
public |
Creates and prints the XML reports. |
|
public |
report(filename: string, success: boolean, actual: number, expected: number, uncoveredLines: number[]) Reports the coverage of a file. |
Inherited Summary
From class Reporter | ||
public |
Number of covered identifiers. |
|
public |
Total number of identifiers. |
|
public |
The number of files processed but nut covered. |
|
public |
The number of files processed. |
|
public |
If the report has a failure. |
|
public |
Called once all files have been processed. |
|
public |
report(filename: string, success: boolean, actual: number, expected: number, uncoveredLines: number[]) Reports the coverage of a file. |
Public Constructors
Public Methods
public finish(): Promise<Error, String> source
Creates and prints the XML reports.
Override:
Reporter#finishTest:
public report(filename: string, success: boolean, actual: number, expected: number, uncoveredLines: number[]) source
Reports the coverage of a file.
Override:
Reporter#reportParams:
Name | Type | Attribute | Description |
filename | string | Name of the file. |
|
success | boolean | If the file's documentation coverage meets the threshold. |
|
actual | number | Number of documented identifiers. |
|
expected | number | Number of expected identifiers. |
|
uncoveredLines | number[] | Array of line numbers not documented. |