Annotation Interface JmcMeasureGraphCoverage
This annotation is used to configure the JMC graph coverage measurement for a test method or
class.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanEnable debug mode for the graph coverage measurement.longThe frequency at which the graph coverage will be measured, in milliseconds.booleanEnable recording of the execution graphs.The path where the execution graphs will be recorded.booleanRecord the graph coverage per iteration of the test.The frequency at which the graph coverage will be measured.
-
Element Details
-
debug
boolean debugEnable debug mode for the graph coverage measurement.- Default:
false
-
recordGraphs
boolean recordGraphsEnable recording of the execution graphs.- Default:
false
-
recordPath
String recordPathThe path where the execution graphs will be recorded.Default is "build/test-results/jmc-coverage".
- Default:
"build/test-results/jmc-report"
-
recordUnit
ChronoUnit recordUnitThe frequency at which the graph coverage will be measured.Default is null.
- Default:
SECONDS
-
recordFrequency
long recordFrequencyThe frequency at which the graph coverage will be measured, in milliseconds.Should be specified with the
recordUnit()parameterDefault is null.
- Default:
0L
-
recordPerIteration
boolean recordPerIterationRecord the graph coverage per iteration of the test. Should not be specified with `recordUnit` and `recordFrequency`- Default:
false
-