muteria.drivers.testgeneration.testcase_formats.base_testformatsrunners module

class muteria.drivers.testgeneration.testcase_formats.base_testformatsrunners.BaseTestcaseFormat[source]

Bases: ABC

abstract convert_from(src_type, src_testfile, dest_testfile)[source]

Convert src_testfile of src_type into dest_testfile of this type

abstract convert_into(dest_type, src_testfile, dest_testfile)[source]

Convert src_testfile of this type into dest_testfile of dest_type

abstract get_supported_convert_from()[source]
abstract get_supported_convert_into()[source]
abstract get_test_suffixes()[source]

Return the test files suffixes

abstract test_duplicates(test_filename_suffixes, dir_list, file_list)[source]

Find duplicate test in given dir_list (having suffix from test_filename_suffixes, Non recursively) and files in file_list :return: list of dupliate elements (each duplicate element

is a list of testcases that are duplicate between each others)

class muteria.drivers.testgeneration.testcase_formats.base_testformatsrunners.TestcaseFormatsCodes[source]

Bases: dict

Set each field to the corresponding test class or None if no class is implemented.

GOOGLE_TESTS = None
JUNIT_TESTS = None
KTEST_V1 = None
KTEST_V2 = None
classmethod is_testcase_format_class(testcase_format)[source]