Class QtafTestExecutionConfigHelper
java.lang.Object
de.qytera.qtaf.core.config.helper.QtafTestExecutionConfigHelper
Class that provides methods for extracting information about the test execution from the configuration.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanA boolean value that indicates weather failed assertions should finish a running test immediately or if the test should continue.Get all groups that should run.static booleanQTAF users have the option to configure if the test steps should get logged to the console.
-
Field Details
-
config
Holds values from JSON configuration files. -
LOGGING_LOG_STEPS
Flag for toggling step logging on or off.- See Also:
-
-
Method Details
-
getTestGroupsFromConfiguration
Get all groups that should run.- Returns:
- List of names of test groups
-
continueOnAssertionFailure
public static boolean continueOnAssertionFailure()A boolean value that indicates weather failed assertions should finish a running test immediately or if the test should continue.- Returns:
- true if tests should continue when assertions fail, false otherwise
-
isStepLoggingEnabled
public static boolean isStepLoggingEnabled()QTAF users have the option to configure if the test steps should get logged to the console. This is useful if the user wants shorter logs.- Returns:
- true if step logging is wanted and false if logging is unwanted
-