Package io.cucumber.usageformatter
Class UsageReportSerializer.Builder
java.lang.Object
io.cucumber.usageformatter.UsageReportSerializer.Builder
- Enclosing class:
- UsageReportSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()feature(UsageReportSerializer.PlainTextFeature feature, boolean enabled) Toggles a given feature.maxStepsPerStepDefinition(int n) Limit the number of steps shown per step definition.removeUriPrefix(String prefix) Removes a given prefix from all URI locations.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
feature
public UsageReportSerializer.Builder feature(UsageReportSerializer.PlainTextFeature feature, boolean enabled) Toggles a given feature. -
maxStepsPerStepDefinition
Limit the number of steps shown per step definition.A negative value means all steps are included.
-
removeUriPrefix
Removes a given prefix from all URI locations.The typical usage would be to trim the current working directory. This makes the report more readable.
-
build
-