def create_system_test_suite(): # Order is important. It represents ascending dependencies between modules. modules = [ system_test_directory, system_test_file ] modules += [ system_test_class_header_template, system_test_class_source_template, system_test_class_tests_template, system_test_license_header_template, system_test_top_level_cmakelists ] modules += [ system_test_project ] modules += [ system_test_implementation_creator, system_test_interface_creator, system_test_class_creator, system_test_command_create_project ] modules += [ system_test_command_create_class, system_test_command_create_implementation, system_test_command_create_interface ] SystemTest.reset("testing") return TestSuite.create_from_modules(modules)
def create_unit_test_suite(): # Order is important. It represents ascending dependencies between modules. modules = [test_file_template] modules += [ test_class_header_template, test_class_source_template, test_class_tests_template, test_license_header, test_license_header_template, test_project_paths, test_top_level_cmakelists ] modules += [ test_class_header, test_class_source, test_class_tests, test_interface_header ] modules += [ test_implementation_header, test_implementation_source, test_implementation_tests ] modules += [test_command_create_project] modules += [test_command_parser] return TestSuite.create_from_modules(modules)