Class QtafTestExecutionConfigHelper

java.lang.Object
de.qytera.qtaf.core.config.helper.QtafTestExecutionConfigHelper

public class QtafTestExecutionConfigHelper extends Object
Class that provides methods for extracting information about the test execution from the configuration.
  • Field Details

    • config

      protected static final ConfigMap config
      Holds values from JSON configuration files.
    • LOGGING_LOG_STEPS

      public static final String LOGGING_LOG_STEPS
      Flag for toggling step logging on or off.
      See Also:
  • Method Details

    • getTestGroupsFromConfiguration

      public static List<String> 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