public enum AnalysisStrategy extends Enum<AnalysisStrategy>
ReportStats| Enum Constant and Description |
|---|
BDD
This is the efault strategy used by BDD tests.
|
CLASS
This strategy is useful when all tests in a suite are grouped together by
their containing Class.
|
SUITE
This strategy is useful if there are 3 levels in the hierarchy: Suite,
Class and Test.
|
TEST
TEST is the default strategy and only tracks the leaf nodes to create
ReportStats |
| Modifier and Type | Method and Description |
|---|---|
static AnalysisStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalysisStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalysisStrategy BDD
IGherkinFormatterModel type, the strategy would default to BDD
and AnalysisStrategy would be ignored.public static final AnalysisStrategy CLASS
public static final AnalysisStrategy SUITE
public static final AnalysisStrategy TEST
ReportStatspublic static AnalysisStrategy[] values()
for (AnalysisStrategy c : AnalysisStrategy.values()) System.out.println(c);
public static AnalysisStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.