Example #1
0
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    # Set Android as default environment
    context.config.userdata.setdefault('env', 'android')
    toolium_before_all(context)
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    # Set iOS as default environment
    context.config.userdata.setdefault('Config_environment', 'ios')
    toolium_before_all(context)
Example #3
0
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    config_files = ConfigFiles()
    config_files.set_config_directory(os.path.join(get_root_path(), 'conf'))
    config_files.set_output_directory(os.path.join(get_root_path(), 'output'))
    config_files.set_config_properties_filenames('properties.cfg', 'local-properties.cfg')
    context.config_files = config_files
    toolium_before_all(context)
Example #4
0
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    config_files = ConfigFiles()
    config_files.set_config_directory(os.path.join(get_root_path(), 'conf'))
    config_files.set_output_directory(os.path.join(get_root_path(), 'output'))
    config_files.set_config_properties_filenames('properties.cfg',
                                                 'local-properties.cfg')
    context.config_files = config_files
    toolium_before_all(context)
Example #5
0
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    toolium_before_all(context)
Example #6
0
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    toolium_before_all(context)