コード例 #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)
コード例 #2
0
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)
コード例 #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)
コード例 #4
0
ファイル: environment.py プロジェクト: jroucher/cookieBanner
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)
コード例 #5
0
ファイル: environment.py プロジェクト: bongadub/Bonga
def before_all(context):
    """Initialization method that will be executed before the test execution

    :param context: behave context
    """
    toolium_before_all(context)
コード例 #6
0
ファイル: environment.py プロジェクト: DubulaBonga/Demo
def before_all(context):
    """Initialization method that will be executed before the test execution

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