Package com.github.invictum.reportportal
Class ReportIntegrationConfig
java.lang.Object
com.github.invictum.reportportal.ReportIntegrationConfig
Configuration entry point for integration.
Allows to redefine configuration for integration module. Configuration should be altered only once, before tests invocation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportIntegrationConfigget()Access to shared configuration instanceharvestSeleniumLogs(boolean harvestLogs) Option allows to enable or disable selenium based logs harvesting Designed to be used in conjunction withSeleniumlog unit Disabled by default that means selenium logs won't be collected even if selenium log unit was added to presetintpreset()inttruncateNames(boolean setting) Option sets names truncation feature, that allows to avoid RP errors with long entities creationuseClassNarrativeFormatter(Function<net.thucydides.core.annotations.Narrative, String> formatter) Overrides class level narrative formatter with custom implementationusePreset(LogsPreset preset) DefinesLogsPresetconfiguration
-
Field Details
-
COMMUNICATION_DIR_KEY
- See Also:
-
MODULES_COUNT_KEY
- See Also:
-
FAILSAFE_RERUN_KEY
- See Also:
-
SUREFIRE_RERUN_KEY
- See Also:
-
-
Constructor Details
-
ReportIntegrationConfig
public ReportIntegrationConfig()
-
-
Method Details
-
get
Access to shared configuration instance -
usePreset
DefinesLogsPresetconfiguration -
preset
-
useClassNarrativeFormatter
public ReportIntegrationConfig useClassNarrativeFormatter(Function<net.thucydides.core.annotations.Narrative, String> formatter) Overrides class level narrative formatter with custom implementation -
harvestSeleniumLogs
Option allows to enable or disable selenium based logs harvesting Designed to be used in conjunction withSeleniumlog unit Disabled by default that means selenium logs won't be collected even if selenium log unit was added to preset -
formatter
-
truncateNames
Option sets names truncation feature, that allows to avoid RP errors with long entities creation -
communicationDirectory
-
retriesCount
public int retriesCount() -
modulesQuantity
public int modulesQuantity()
-