public class CoverageReportUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BOWER_DIR_NAME |
static String |
TARGET_DIR_ROOT
Root directory for all coverage reports.
|
| Constructor and Description |
|---|
CoverageReportUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createClassReport(CoverageTestRunState coverageTestRunState)
Generates a coverage report for the whole test class.
|
static void |
createCurrentTestMethodReport(CoverageTestRunState coverageTestRunState)
Generates graphical test coverage reports for the current test method
run.
|
static void |
createReport(AggregatedCoverage coverage,
String reportDirectory)
Generates a coverage report.
|
protected static String |
getBpmnXml(org.camunda.bpm.engine.repository.ProcessDefinition processDefinition)
Retrieves a process definitions BPMN XML.
|
static void |
setReportDirectory(String reportDirectory)
Changes report directory.
|
public static String TARGET_DIR_ROOT
public static final String BOWER_DIR_NAME
public static void createClassReport(CoverageTestRunState coverageTestRunState)
coverageTestRunState - coverage run state to get the coverage data from.public static void createCurrentTestMethodReport(CoverageTestRunState coverageTestRunState)
coverageTestRunState - coverage run state to get the coverage data from.public static void createReport(AggregatedCoverage coverage, String reportDirectory)
coverage - coverage run state to get the coverage data fromreportDirectory - The directory where the report will be stored.protected static String getBpmnXml(org.camunda.bpm.engine.repository.ProcessDefinition processDefinition) throws IOException
processDefinition - process definition to generate report for.IOException - Thrown if the BPMN resource is not found.public static void setReportDirectory(String reportDirectory)
reportDirectory - report directory.Copyright © 2020 Camunda Services GmbH. All rights reserved.