From: wb0716 Date: Wed, 26 Jul 2023 11:04:41 +0000 (+0800) Subject: mark cases as positive cases or negative cases X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c038b80f20f70056ebea9d563abf752c0b457996;p=tools%2Fgbs.git mark cases as positive cases or negative cases Change-Id: I0711d2d4bb999c85af3e046ca369d98c9ca562f7 Signed-off-by: wb0716 --- diff --git a/output/backup_2023-0726-1759/bugs.json b/output/backup_2023-0726-1759/bugs.json new file mode 100644 index 0000000..3bcb6c1 --- /dev/null +++ b/output/backup_2023-0726-1759/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1759/result.html b/output/backup_2023-0726-1759/result.html new file mode 100644 index 0000000..041d286 --- /dev/null +++ b/output/backup_2023-0726-1759/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases0
Undefined Test Cases97
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
MICtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
MICtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
MICtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
MICtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
MICtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
MICtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
MICtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
MICtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
MICtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
MICtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
MICtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
MICtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
MICtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
MICtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
MICtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
MICtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
MICtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
MICtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
MICtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
MICtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
MICtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
MICtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
MICtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
MICtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
MICtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
MICtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
MICtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
MICtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
MICtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
MICtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC31970097
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1759/result.json b/output/backup_2023-0726-1759/result.json new file mode 100644 index 0000000..a47b278 --- /dev/null +++ b/output/backup_2023-0726-1759/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 0, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1803/bugs.json b/output/backup_2023-0726-1803/bugs.json new file mode 100644 index 0000000..51f1150 --- /dev/null +++ b/output/backup_2023-0726-1803/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_p10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_p1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1803/result.html b/output/backup_2023-0726-1803/result.html new file mode 100644 index 0000000..e4e624f --- /dev/null +++ b/output/backup_2023-0726-1803/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases0
Undefined Test Cases97
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
MICtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
MICtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
MICtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
MICtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
MICtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
MICtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
MICtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
MICtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
MICtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
MICtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
MICtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
MICtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
MICtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
MICtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
MICtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
MICtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
MICtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
MICtest_not_updated_p1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
MICtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
MICtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
MICtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
MICtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
MICtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
MICtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
MICtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
MICtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
MICtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
MICtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
MICtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
MICtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC31970097
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updated_p1Undefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1803/result.json b/output/backup_2023-0726-1803/result.json new file mode 100644 index 0000000..913bfb6 --- /dev/null +++ b/output/backup_2023-0726-1803/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 0, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1804/bugs.json b/output/backup_2023-0726-1804/bugs.json new file mode 100644 index 0000000..a08f712 --- /dev/null +++ b/output/backup_2023-0726-1804/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_p0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_p", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1804/result.html b/output/backup_2023-0726-1804/result.html new file mode 100644 index 0000000..d9a8031 --- /dev/null +++ b/output/backup_2023-0726-1804/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases0
Undefined Test Cases97
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
MICtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
MICtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
MICtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
MICtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
MICtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
MICtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
MICtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
MICtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
MICtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
MICtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
MICtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
MICtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
MICtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
MICtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
MICtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
MICtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
MICtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
MICtest_not_updated_pPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
MICtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
MICtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
MICtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
MICtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
MICtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
MICtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
MICtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
MICtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
MICtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
MICtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
MICtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
MICtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC31970097
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updated_pUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1804/result.json b/output/backup_2023-0726-1804/result.json new file mode 100644 index 0000000..fc93a59 --- /dev/null +++ b/output/backup_2023-0726-1804/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 0, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1807/bugs.json b/output/backup_2023-0726-1807/bugs.json new file mode 100644 index 0000000..1bf720c --- /dev/null +++ b/output/backup_2023-0726-1807/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_p0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_p", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1807/result.html b/output/backup_2023-0726-1807/result.html new file mode 100644 index 0000000..5ea4c15 --- /dev/null +++ b/output/backup_2023-0726-1807/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases1
Undefined Test Cases96
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
MICtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
MICtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
MICtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
MICtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
MICtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
MICtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
MICtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
MICtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
MICtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
MICtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
MICtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
MICtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
MICtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
MICtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
MICtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
MICtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
MICtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
MICtest_not_updated_pPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
MICtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
MICtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
MICtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
MICtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
MICtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
MICtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
MICtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
MICtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
MICtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
MICtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
MICtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
MICtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC31971096
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updated_pUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1807/result.json b/output/backup_2023-0726-1807/result.json new file mode 100644 index 0000000..4a10c62 --- /dev/null +++ b/output/backup_2023-0726-1807/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 1, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "MIC", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_p", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1826/bugs.json b/output/backup_2023-0726-1826/bugs.json new file mode 100644 index 0000000..c49d3fe --- /dev/null +++ b/output/backup_2023-0726-1826/bugs.json @@ -0,0 +1,360 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 138, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 165, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 85, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 160, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 150, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 93, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 106, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 144, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 118, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_neg11", + "line": 170, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 128, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 169, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 143, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 184, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 164, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 178, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 122, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 151, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 129, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 69, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 33, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 46, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true_pos11", + "line": 71, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly_pos11", + "line": 53, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging_pos11", + "line": 79, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all_pos11", + "line": 44, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory_pos11", + "line": 27, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_pos11", + "line": 62, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_neg11", + "line": 96, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm_pos11", + "line": 35, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm_pos1", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "24.49%", + "negative_tc": 24, + "total_tc": 98, + "verification": false} +} diff --git a/output/backup_2023-0726-1826/result.html b/output/backup_2023-0726-1826/result.html new file mode 100644 index 0000000..4fa25a8 --- /dev/null +++ b/output/backup_2023-0726-1826/result.html @@ -0,0 +1,1115 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases32
Total Test Cases98
Negative Test Cases24
Positive Test Cases74
Undefined Test Cases0
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py138
MICtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py165
MICtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py155
MICtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py85
MICtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py160
MICtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py150
MICtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py93
MICtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py106
MICtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py144
MICtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py118
MICtest_log_clone_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py170
MICtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py128
MICtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py169
MICtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py158
MICtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py143
MICtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py184
MICtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py164
MICtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py178
MICtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py122
MICtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py151
MICtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py129
MICtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py69
MICtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py33
MICtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py46
MICtest_config_is_true_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py71
MICtest_command_export_outdir_directly_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py53
MICtest_command_export_disable_fallback_to_native_packaging_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py79
MICtest_command_export_include_all_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py44
MICtest_command_export_directory_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py27
MICtest_command_export_special_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py62
MICtest_command_export_special_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py96
MICtest_command_export_source_rpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py35
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC329874240
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_files_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_clone_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_config_is_true_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directly_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packaging_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_include_all_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directory_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_MappingConfigParser_repo_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_value_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_get_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inherit_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_option_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_line_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_addconf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_section_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_ini_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolation_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_profile_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_user_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convert_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_user_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_local_repo_need_not_auth_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priority_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1826/result.json b/output/backup_2023-0726-1826/result.json new file mode 100644 index 0000000..1344a53 --- /dev/null +++ b/output/backup_2023-0726-1826/result.json @@ -0,0 +1,690 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + } ], + "totalTestCaseCount" : 98, + "positiveTestCaseCount" : 74, + "negativeTestCaseCount" : 24, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "138" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "165" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "85" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "160" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "150" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "93" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "106" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "144" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "118" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "170" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "128" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "169" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "143" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "184" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "164" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "178" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "122" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "151" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "129" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "69" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "33" + }, { + "testName" : "MIC", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "46" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "71" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "53" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "79" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "44" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "27" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "62" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "96" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "35" + } ], + "defectCount" : 32 +} diff --git a/output/backup_2023-0726-1829/bugs.json b/output/backup_2023-0726-1829/bugs.json new file mode 100644 index 0000000..3bcb6c1 --- /dev/null +++ b/output/backup_2023-0726-1829/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1829/result.html b/output/backup_2023-0726-1829/result.html new file mode 100644 index 0000000..041d286 --- /dev/null +++ b/output/backup_2023-0726-1829/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases0
Undefined Test Cases97
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
MICtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
MICtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
MICtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
MICtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
MICtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
MICtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
MICtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
MICtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
MICtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
MICtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
MICtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
MICtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
MICtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
MICtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
MICtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
MICtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
MICtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
MICtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
MICtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
MICtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
MICtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
MICtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
MICtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
MICtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
MICtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
MICtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
MICtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
MICtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
MICtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
MICtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
MICtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
MIC31970097
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
MICtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
MICtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
MICtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
MICtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
MICtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
MICtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
MICtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
MICtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
MICtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
MICtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1829/result.json b/output/backup_2023-0726-1829/result.json new file mode 100644 index 0000000..a47b278 --- /dev/null +++ b/output/backup_2023-0726-1829/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "MIC", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 0, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "MIC", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "MIC", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "MIC", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "MIC", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "MIC", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "MIC", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "MIC", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "MIC", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "MIC", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "MIC", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "MIC", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "MIC", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "MIC", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "MIC", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "MIC", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "MIC", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "MIC", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "MIC", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "MIC", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "MIC", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "MIC", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1830/bugs.json b/output/backup_2023-0726-1830/bugs.json new file mode 100644 index 0000000..3bcb6c1 --- /dev/null +++ b/output/backup_2023-0726-1830/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "0.0%", + "negative_tc": 0, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1830/result.html b/output/backup_2023-0726-1830/result.html new file mode 100644 index 0000000..c10956b --- /dev/null +++ b/output/backup_2023-0726-1830/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases0
Positive Test Cases0
Undefined Test Cases97
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM31970097
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_auto_generate_confUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_fileUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_filesUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_empty_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1830/result.json b/output/backup_2023-0726-1830/result.json new file mode 100644 index 0000000..cec7e08 --- /dev/null +++ b/output/backup_2023-0726-1830/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 0, + "negativeTestCaseCount" : 0, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1839/bugs.json b/output/backup_2023-0726-1839/bugs.json new file mode 100644 index 0000000..6feadaf --- /dev/null +++ b/output/backup_2023-0726-1839/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream2", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec2", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm2", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email2", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist1", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile2", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument1", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree2", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header2", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone1", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments1", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository2", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "2.06%", + "negative_tc": 2, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1839/result.html b/output/backup_2023-0726-1839/result.html new file mode 100644 index 0000000..bb765bd --- /dev/null +++ b/output/backup_2023-0726-1839/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases2
Positive Test Cases4
Undefined Test Cases91
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_specify_upstreamPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_import_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_import_srcrpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_set_author_name_emailPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_path_doesnt_existPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_cant_parse_specfilePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_missing_argumentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_running_from_git_treePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_headerPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_log_clonePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_too_many_argumentsPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_is_not_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM31974291
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_specify_upstreamUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_specUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpmUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_emailUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_existUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfileUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argumentUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_treeUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_headerUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_cloneUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_argumentsUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_is_not_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1839/result.json b/output/backup_2023-0726-1839/result.json new file mode 100644 index 0000000..391f4b5 --- /dev/null +++ b/output/backup_2023-0726-1839/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 4, + "negativeTestCaseCount" : 2, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1843/bugs.json b/output/backup_2023-0726-1843/bugs.json new file mode 100644 index 0000000..a224a12 --- /dev/null +++ b/output/backup_2023-0726-1843/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "8.25%", + "negative_tc": 8, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1843/result.html b/output/backup_2023-0726-1843/result.html new file mode 100644 index 0000000..a91f28e --- /dev/null +++ b/output/backup_2023-0726-1843/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases8
Positive Test Cases10
Undefined Test Cases79
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM319710879
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_local_path_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_pathUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_portUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slashUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfoUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_fileUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_passwordUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dirUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dotUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_password_no_user_by_argUndefined/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1843/result.json b/output/backup_2023-0726-1843/result.json new file mode 100644 index 0000000..7145179 --- /dev/null +++ b/output/backup_2023-0726-1843/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_port", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 10, + "negativeTestCaseCount" : 8, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1846/bugs.json b/output/backup_2023-0726-1846/bugs.json new file mode 100644 index 0000000..b6e3765 --- /dev/null +++ b/output/backup_2023-0726-1846/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since1", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository0", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec1", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit1", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes0", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since0", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated0", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content1", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes1", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "10.31%", + "negative_tc": 10, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1846/result.html b/output/backup_2023-0726-1846/result.html new file mode 100644 index 0000000..dffd5ec --- /dev/null +++ b/output/backup_2023-0726-1846/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases10
Positive Test Cases21
Undefined Test Cases66
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_not_in_git_repositoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_no_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_non_existent_commitPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_wrong_sincePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_updatedPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_new_changes_with_contentPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_update_changesPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197211066
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repositoryUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_specUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_non_existent_commitUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_sinceUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updatedUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_contentUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changesUndefined/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1846/result.json b/output/backup_2023-0726-1846/result.json new file mode 100644 index 0000000..7ff0624 --- /dev/null +++ b/output/backup_2023-0726-1846/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 21, + "negativeTestCaseCount" : 10, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1850/bugs.json b/output/backup_2023-0726-1850/bugs.json new file mode 100644 index 0000000..5d57f6d --- /dev/null +++ b/output/backup_2023-0726-1850/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file1", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "15.46%", + "negative_tc": 15, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1850/result.html b/output/backup_2023-0726-1850/result.html new file mode 100644 index 0000000..f62f339 --- /dev/null +++ b/output/backup_2023-0726-1850/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases15
Positive Test Cases26
Undefined Test Cases56
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_filePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197261556
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_edit_fileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profileUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparserUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapperUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_urlgrabberUndefined/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1850/result.json b/output/backup_2023-0726-1850/result.json new file mode 100644 index 0000000..17d5bf4 --- /dev/null +++ b/output/backup_2023-0726-1850/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 26, + "negativeTestCaseCount" : 15, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1851/bugs.json b/output/backup_2023-0726-1851/bugs.json new file mode 100644 index 0000000..05afdc5 --- /dev/null +++ b/output/backup_2023-0726-1851/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help0", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help0", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "15.46%", + "negative_tc": 15, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1851/result.html b/output/backup_2023-0726-1851/result.html new file mode 100644 index 0000000..cae037c --- /dev/null +++ b/output/backup_2023-0726-1851/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases15
Positive Test Cases32
Undefined Test Cases50
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_helpPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197321550
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_helpUndefined/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1851/result.json b/output/backup_2023-0726-1851/result.json new file mode 100644 index 0000000..5755cb2 --- /dev/null +++ b/output/backup_2023-0726-1851/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 32, + "negativeTestCaseCount" : 15, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1852/bugs.json b/output/backup_2023-0726-1852/bugs.json new file mode 100644 index 0000000..deddade --- /dev/null +++ b/output/backup_2023-0726-1852/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all1", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec1", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly1", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging1", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm1", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true1", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory1", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "15.46%", + "negative_tc": 15, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1852/result.html b/output/backup_2023-0726-1852/result.html new file mode 100644 index 0000000..7bd8b03 --- /dev/null +++ b/output/backup_2023-0726-1852/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases15
Positive Test Cases34
Undefined Test Cases48
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_command_export_include_allPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_special_specPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_outdir_directlyPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packagingPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_source_rpmPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
SCMtest_config_is_truePYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_directoryPYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197341548
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_command_export_include_allUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_specUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directlyUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packagingUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpmUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_config_is_trueUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directoryUndefined/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1852/result.json b/output/backup_2023-0726-1852/result.json new file mode 100644 index 0000000..7bd84ac --- /dev/null +++ b/output/backup_2023-0726-1852/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 34, + "negativeTestCaseCount" : 15, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1853/bugs.json b/output/backup_2023-0726-1853/bugs.json new file mode 100644 index 0000000..eaad34b --- /dev/null +++ b/output/backup_2023-0726-1853/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true_pos11", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly_pos11", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging_pos11", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all_pos11", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory_pos11", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_pos11", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm_pos11", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm_pos1", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "15.46%", + "negative_tc": 15, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1853/result.html b/output/backup_2023-0726-1853/result.html new file mode 100644 index 0000000..c7b2736 --- /dev/null +++ b/output/backup_2023-0726-1853/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases15
Positive Test Cases41
Undefined Test Cases41
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_config_is_true_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_outdir_directly_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packaging_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_include_all_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_directory_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
SCMtest_command_export_special_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_source_rpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197411541
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_config_is_true_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directly_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packaging_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_include_all_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directory_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_addconfUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_iniUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inheritUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_getUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_lineUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_repo_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_optionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolationUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_valueUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_Undefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_sectionUndefined/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1853/result.json b/output/backup_2023-0726-1853/result.json new file mode 100644 index 0000000..9593706 --- /dev/null +++ b/output/backup_2023-0726-1853/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 41, + "negativeTestCaseCount" : 15, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1856/bugs.json b/output/backup_2023-0726-1856/bugs.json new file mode 100644 index 0000000..07341cb --- /dev/null +++ b/output/backup_2023-0726-1856/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true_pos11", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly_pos11", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging_pos11", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all_pos11", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory_pos11", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_pos11", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm_pos11", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm_pos1", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "19.59%", + "negative_tc": 19, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1856/result.html b/output/backup_2023-0726-1856/result.html new file mode 100644 index 0000000..1aa78b7 --- /dev/null +++ b/output/backup_2023-0726-1856/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases19
Positive Test Cases57
Undefined Test Cases21
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_config_is_true_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_outdir_directly_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packaging_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_include_all_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_directory_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
SCMtest_command_export_special_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_source_rpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM3197571921
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_config_is_true_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directly_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packaging_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_include_all_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directory_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_MappingConfigParser_repo_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_value_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_get_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inherit_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_option_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_line_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_addconf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_section_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_ini_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolation_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_local_repo_need_not_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convertUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_apiUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdxUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profileUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_projectUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_authUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priorityUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_userUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_orderUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwriteUndefined/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1856/result.json b/output/backup_2023-0726-1856/result.json new file mode 100644 index 0000000..fcbaaeb --- /dev/null +++ b/output/backup_2023-0726-1856/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Undefined" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 57, + "negativeTestCaseCount" : 19, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + } ], + "defectCount" : 31 +} diff --git a/output/backup_2023-0726-1859/bugs.json b/output/backup_2023-0726-1859/bugs.json new file mode 100644 index 0000000..1d7a5ca --- /dev/null +++ b/output/backup_2023-0726-1859/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true_pos11", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly_pos11", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging_pos11", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all_pos11", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory_pos11", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_pos11", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm_pos11", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm_pos1", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "23.71%", + "negative_tc": 23, + "total_tc": 97, + "verification": false} +} diff --git a/output/backup_2023-0726-1859/result.html b/output/backup_2023-0726-1859/result.html new file mode 100644 index 0000000..c303c39 --- /dev/null +++ b/output/backup_2023-0726-1859/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases23
Positive Test Cases73
Undefined Test Cases1
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_config_is_true_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_outdir_directly_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packaging_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_include_all_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_directory_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
SCMtest_command_export_special_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_source_rpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM319773231
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos2Undefined/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_config_is_true_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directly_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packaging_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_include_all_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directory_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_MappingConfigParser_repo_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_value_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_get_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inherit_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_option_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_line_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_addconf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_section_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_ini_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolation_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_profile_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_user_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convert_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_local_repo_need_not_auth_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priority_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/backup_2023-0726-1859/result.json b/output/backup_2023-0726-1859/result.json new file mode 100644 index 0000000..c7acb87 --- /dev/null +++ b/output/backup_2023-0726-1859/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos2", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Undefined" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 73, + "negativeTestCaseCount" : 23, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + } ], + "defectCount" : 31 +} diff --git a/output/bugs.json b/output/bugs.json new file mode 100644 index 0000000..1d7a5ca --- /dev/null +++ b/output/bugs.json @@ -0,0 +1,349 @@ +{ + "list": [ { + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_is_not_git_repository_neg12", + "line": 136, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_is_not_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_log_clone_pos11", + "line": 168, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_log_clone_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_path_doesnt_exist_neg11", + "line": 163, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_path_doesnt_exist_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_missing_argument_neg11", + "line": 153, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_missing_argument_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_srcrpm_pos12", + "line": 83, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_srcrpm_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_too_many_arguments_neg11", + "line": 158, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_too_many_arguments_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_cant_parse_specfile_neg12", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_cant_parse_specfile_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_import_spec_pos12", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_import_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_running_from_git_tree_pos12", + "line": 104, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_running_from_git_tree_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_error_reading_pkg_header_neg12", + "line": 142, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_error_reading_pkg_header_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_set_author_name_email_pos12", + "line": 116, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_set_author_name_email_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_specify_upstream_pos12", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_import.py", + "function": "test_specify_upstream_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_non_existent_commit_neg11", + "line": 167, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_non_existent_commit_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_new_changes_neg10", + "line": 155, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_new_changes_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_since_pos11", + "line": 140, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_since_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_no_spec_neg11", + "line": 182, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_no_spec_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_wrong_since_neg10", + "line": 162, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_wrong_since_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_in_git_repository_neg10", + "line": 176, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_in_git_repository_neg1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_new_changes_with_content_pos11", + "line": 119, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_new_changes_with_content_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_not_updated_pos10", + "line": 148, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_not_updated_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_update_changes_pos11", + "line": 126, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "function": "test_update_changes_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_edit_file_pos11", + "line": 68, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "function": "test_edit_file_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_subcommand_help_pos10", + "line": 32, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_subcommand_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_help_pos10", + "line": 45, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_help.py", + "function": "test_help_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_config_is_true_pos11", + "line": 67, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_config_is_true_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_outdir_directly_pos11", + "line": 50, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_outdir_directly_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_disable_fallback_to_native_packaging_pos11", + "line": 75, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_disable_fallback_to_native_packaging_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_include_all_pos11", + "line": 42, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_include_all_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_directory_pos11", + "line": 26, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_directory_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_special_spec_pos11", + "line": 91, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_special_spec_pos1", + "languages": [ + "py" + ] +}, +{ + "message": "No Assert Statement Found", + "checker": "PYUNIT.NO_ASSERTION", + "details": "test_command_export_source_rpm_pos11", + "line": 34, + "file_path": "/home/wangbiao/TCA/gbs/tests/test_export.py", + "function": "test_command_export_source_rpm_pos1", + "languages": [ + "py" + ] +}], + "tool": "tcchecker-tca", + "extra": { + "ratio": "23.71%", + "negative_tc": 23, + "total_tc": 97, + "verification": false} +} diff --git a/output/result.html b/output/result.html new file mode 100644 index 0000000..c2dc8c3 --- /dev/null +++ b/output/result.html @@ -0,0 +1,1100 @@ + + + + + + Result Summary + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValue
No Assertion Test Cases31
Total Test Cases97
Negative Test Cases23
Positive Test Cases74
Undefined Test Cases0
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CaseCheckerFileLine
SCMtest_is_not_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py136
SCMtest_log_clone_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py168
SCMtest_path_doesnt_exist_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py163
SCMtest_missing_argument_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py153
SCMtest_import_srcrpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py83
SCMtest_too_many_arguments_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py158
SCMtest_cant_parse_specfile_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py148
SCMtest_import_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py91
SCMtest_running_from_git_tree_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py104
SCMtest_error_reading_pkg_header_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py142
SCMtest_set_author_name_email_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py116
SCMtest_specify_upstream_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_import.py126
SCMtest_non_existent_commit_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py167
SCMtest_no_new_changes_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py155
SCMtest_since_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py140
SCMtest_no_spec_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py182
SCMtest_wrong_since_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py162
SCMtest_not_in_git_repository_neg1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py176
SCMtest_new_changes_with_content_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py119
SCMtest_not_updated_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py148
SCMtest_update_changes_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_changelog.py126
SCMtest_edit_file_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_utils.py68
SCMtest_subcommand_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py32
SCMtest_help_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_help.py45
SCMtest_config_is_true_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py67
SCMtest_command_export_outdir_directly_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py50
SCMtest_command_export_disable_fallback_to_native_packaging_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py75
SCMtest_command_export_include_all_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py42
SCMtest_command_export_directory_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py26
SCMtest_command_export_special_spec_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py91
SCMtest_command_export_source_rpm_pos1PYUNIT.NO_ASSERTION/home/wangbiao/TCA/gbs/tests/test_export.py34
+
+
+ + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
TestNo Assert Test CasesTotal Test CasesPositive Test CasesNegative Test CasesUndefined Test Cases
SCM319774230
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestTest CasePositive / NegativeFile
SCMtest_empty_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwd_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_get_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_one_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_auto_generate_conf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_two_files_pos1Positive/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_bad_passwdx_neg1Negative/home/wangbiao/TCA/gbs/tests/test_passwdx.py
SCMtest_is_not_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_log_clone_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_path_doesnt_exist_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_missing_argument_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_srcrpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_too_many_arguments_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_cant_parse_specfile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_import_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_running_from_git_tree_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_error_reading_pkg_header_neg1Negative/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_set_author_name_email_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_specify_upstream_pos1Positive/home/wangbiao/TCA/gbs/tests/test_import.py
SCMtest_password_no_user_by_arg_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_escape_userinfo_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_passwd_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_reduce_doubel_dot_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_dir_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_a_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_join_with_tailing_slash_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_port_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_only_user_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_local_path_need_not_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_no_user_and_no_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_both_user_and_password_pos1Positive/home/wangbiao/TCA/gbs/tests/test_safe_url.py
SCMtest_non_existent_commit_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_new_changes_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_since_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_no_spec_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_wrong_since_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_in_git_repository_neg1Negative/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_new_changes_with_content_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_not_updated_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_update_changes_pos1Positive/home/wangbiao/TCA/gbs/tests/test_changelog.py
SCMtest_urlgrabber_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GitRefMappingParser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_given_profile_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_repoparser_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_GerritNameMapper_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_edit_file_pos1Positive/home/wangbiao/TCA/gbs/tests/test_utils.py
SCMtest_subcommand_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_help_pos1Positive/home/wangbiao/TCA/gbs/tests/test_help.py
SCMtest_config_is_true_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_outdir_directly_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_disable_fallback_to_native_packaging_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_include_all_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_directory_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_special_spec_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_command_export_source_rpm_pos1Positive/home/wangbiao/TCA/gbs/tests/test_export.py
SCMtest_MappingConfigParser_repo_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_prefix_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_default_value_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_simple_get_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_osc_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_repo_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_profile_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_profile_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_obs_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_inherit_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_option_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_get_source_mapping_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_continuation_line_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_addconf_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_no_such_section_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_invalid_ini_neg1Negative/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_source_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_MappingConfigParser_prefix_meta_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_interpolation_pos1Positive/home/wangbiao/TCA/gbs/tests/test_config.py
SCMtest_profile_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_overwrite_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_user_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_convert_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_profile_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inherit_only_passwdx_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_no_such_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_empty_profile_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_target_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repo_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_only_password_no_user_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_obs_base_project_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_auth_can_be_overwrite_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_local_repo_need_not_auth_neg1Negative/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_inline_highest_priority_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_repos_in_order_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_inherit_auth_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
SCMtest_api_pos1Positive/home/wangbiao/TCA/gbs/tests/test_profile.py
+
+
+ +
+
+
+ +
+
+ + + diff --git a/output/result.json b/output/result.json new file mode 100644 index 0000000..cd85f8c --- /dev/null +++ b/output/result.json @@ -0,0 +1,679 @@ +{ + "testCaseItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_empty_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwd_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_get_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_one_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_auto_generate_conf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_two_files_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_bad_passwdx_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_passwdx.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_password_no_user_by_arg_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_escape_userinfo_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_passwd_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_reduce_doubel_dot_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_dir_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_a_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_join_with_tailing_slash_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_port_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_user_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_path_need_not_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_user_and_no_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_both_user_and_password_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_safe_url.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_urlgrabber_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GitRefMappingParser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_given_profile_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repoparser_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_GerritNameMapper_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_repo_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_prefix_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_default_value_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_simple_get_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_osc_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_repo_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_profile_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_profile_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_obs_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_option_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_get_source_mapping_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_continuation_line_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_addconf_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_section_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_invalid_ini_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_source_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_MappingConfigParser_prefix_meta_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_interpolation_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_config.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_overwrite_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_user_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_convert_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_profile_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_inherit_only_passwdx_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_such_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_empty_profile_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_target_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repo_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_only_password_no_user_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_obs_base_project_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_auth_can_be_overwrite_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_local_repo_need_not_auth_neg1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Negative" + }, { + "testName" : "SCM", + "testCaseName" : "test_inline_highest_priority_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_repos_in_order_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_inherit_auth_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + }, { + "testName" : "SCM", + "testCaseName" : "test_api_pos1", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_profile.py", + "category" : "Positive" + } ], + "totalTestCaseCount" : 97, + "positiveTestCaseCount" : 74, + "negativeTestCaseCount" : 23, + "defectItems" : [ { + "testName" : "SCM", + "testCaseName" : "test_is_not_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "136" + }, { + "testName" : "SCM", + "testCaseName" : "test_log_clone_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "168" + }, { + "testName" : "SCM", + "testCaseName" : "test_path_doesnt_exist_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "163" + }, { + "testName" : "SCM", + "testCaseName" : "test_missing_argument_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "153" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_srcrpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "83" + }, { + "testName" : "SCM", + "testCaseName" : "test_too_many_arguments_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "158" + }, { + "testName" : "SCM", + "testCaseName" : "test_cant_parse_specfile_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_import_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_running_from_git_tree_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "104" + }, { + "testName" : "SCM", + "testCaseName" : "test_error_reading_pkg_header_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "142" + }, { + "testName" : "SCM", + "testCaseName" : "test_set_author_name_email_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "116" + }, { + "testName" : "SCM", + "testCaseName" : "test_specify_upstream_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_import.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_non_existent_commit_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "167" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_new_changes_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "155" + }, { + "testName" : "SCM", + "testCaseName" : "test_since_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "140" + }, { + "testName" : "SCM", + "testCaseName" : "test_no_spec_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "182" + }, { + "testName" : "SCM", + "testCaseName" : "test_wrong_since_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "162" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_in_git_repository_neg1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "176" + }, { + "testName" : "SCM", + "testCaseName" : "test_new_changes_with_content_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "119" + }, { + "testName" : "SCM", + "testCaseName" : "test_not_updated_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "148" + }, { + "testName" : "SCM", + "testCaseName" : "test_update_changes_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_changelog.py", + "line" : "126" + }, { + "testName" : "SCM", + "testCaseName" : "test_edit_file_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_utils.py", + "line" : "68" + }, { + "testName" : "SCM", + "testCaseName" : "test_subcommand_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "32" + }, { + "testName" : "SCM", + "testCaseName" : "test_help_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_help.py", + "line" : "45" + }, { + "testName" : "SCM", + "testCaseName" : "test_config_is_true_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "67" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_outdir_directly_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "50" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_disable_fallback_to_native_packaging_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "75" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_include_all_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "42" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_directory_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "26" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_special_spec_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "91" + }, { + "testName" : "SCM", + "testCaseName" : "test_command_export_source_rpm_pos1", + "checkerId" : "PYUNIT.NO_ASSERTION", + "filePath" : "/home/wangbiao/TCA/gbs/tests/test_export.py", + "line" : "34" + } ], + "defectCount" : 31 +} diff --git a/output/tcm.log b/output/tcm.log new file mode 100644 index 0000000..4907088 --- /dev/null +++ b/output/tcm.log @@ -0,0 +1,184 @@ +[2023-07-26 19:03:51][INFO ] Main.java:126 : TCA Version 1.1.11 / Checker Version 0.9.6 +[2023-07-26 19:03:51][INFO ] MainRunner$Builder.java:169 : --local enabled; Source code directory: /home/wangbiao/TCA/gbs +[2023-07-26 19:03:51][INFO ] MainRunner$Builder.java:184 : Using project configuration /home/wangbiao/TCA/tca_confile/config.yaml +[2023-07-26 19:03:51][ERROR] MainRunner$Builder.java:233 : CLOC Executable not found! +[2023-07-26 19:03:51][INFO ] MainRunner$Builder.java:266 : Output directory: /home/wangbiao/TCA/gbs/output +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:274 : checkerConfigFile is null. Using default checker configuration +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:69 : Load default checker configuration +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:71 : Load default checker configuration done +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = QTEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = GTEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = PYTEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = NUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = SCALA.JUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = CYPRESS.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = MSTEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = PYUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = CARGO.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = MOCKITO.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = CHECK.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = JASMINE.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = NETWORKCUSTOM.PATEK.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = JUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = VITEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = UTWIZ.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = MOCHA.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = TCT_NATIVE.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = KOTLIN.JUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = KOTLIN.MOCKK.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = JEST.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = XUNIT.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = TCT_WEB.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:313 : Enabled = TESTIFY.NO_ASSERTION +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:316 : (24/59) checkers enabled +[2023-07-26 19:03:51][DEBUG] MainRunner$Builder.java:324 : Analyze all tests +[2023-07-26 19:03:51][INFO ] MainRunner.java:421 : --cloc-path is missing! +[2023-07-26 19:03:51][INFO ] AnalysisExecutor.java:100 : Load schema +[2023-07-26 19:03:51][DEBUG] SchemaFetchRunner.java:28 : Load schema file +[2023-07-26 19:03:51][DEBUG] SchemaFetchRunner.java:33 : Load schema file done +[2023-07-26 19:03:51][DEBUG] SchemaFetchRunner.java:40 : Load project configuration file - /home/wangbiao/TCA/tca_confile/config.yaml +[2023-07-26 19:03:51][INFO ] SchemaFetchRunner.java:48 : Success to get the TC Meta Info of Project project. +[2023-07-26 19:03:51][INFO ] AnalysisExecutor.java:102 : Load schema...done +[2023-07-26 19:03:51][INFO ] AnalysisExecutor.java:110 : Scan source code +[2023-07-26 19:03:51][INFO ] AnalysisExecutor.java:112 : Scan source code...done +[2023-07-26 19:03:51][DEBUG] ResultWriters.java:77 : Write start +[2023-07-26 19:03:51][DEBUG] ResultWriters.java:124 : make backup directory +[2023-07-26 19:03:51][INFO ] AnalysisExecutor.java:140 : Analyze source code +[2023-07-26 19:03:51][DEBUG] ResultWriters.java:77 : Write start +[2023-07-26 19:03:51][DEBUG] TestCaseAnalysisRunner.java:301 : Writing bugs.json file. outputDirectory: /home/wangbiao/TCA/gbs/output +[2023-07-26 19:03:51][INFO ] TestCaseAnalysisRunner.java:306 : Output file = /home/wangbiao/TCA/gbs/output/bugs.json +[2023-07-26 19:03:51][DEBUG] TestCaseAnalysisRunner.java:138 : Analysis start. Total 9 files +[2023-07-26 19:03:51][DEBUG] TestCaseAnalysisRunner.java:162 : [1/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_passwdx.py +[2023-07-26 19:03:51][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:51][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_passwdx.py +[2023-07-26 19:03:51][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_passwdx.py +[2023-07-26 19:03:51][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_passwdx.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_config.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 7 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [1/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [2/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_import.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_import.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_import.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_import.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 12 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [2/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [3/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_safe_url.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_safe_url.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_safe_url.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_safe_url.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 13 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [3/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [4/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_changelog.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_changelog.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_changelog.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_changelog.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 10 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [4/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [5/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_utils.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_utils.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_utils.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_utils.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 6 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [5/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [6/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_help.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_help.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_help.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_help.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 2 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [6/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [7/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_export.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_export.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_export.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_export.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 8 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [7/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [8/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_config.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_config.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_config.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_config.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 21 +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:176 : [8/9] Analysis done +[2023-07-26 19:03:52][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:52][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:52][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:52][DEBUG] TestCaseAnalysisRunner.java:162 : [9/9] Analyzing /home/wangbiao/TCA/gbs/tests/test_profile.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:46 : Run TestCaseCheckerRunner +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:54 : Running.. testFile: /home/wangbiao/TCA/gbs/tests/test_profile.py +[2023-07-26 19:03:52][DEBUG] AbstractTestCaseCheckerRunner.java:59 : fileName: test_profile.py +[2023-07-26 19:03:52][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_profile.py +[2023-07-26 19:03:53][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_config.py +[2023-07-26 19:03:53][DEBUG] FileUtils.java:56 : /home/wangbiao/TCA/gbs/tests/test_passwdx.py +[2023-07-26 19:03:53][DEBUG] AbstractTestCaseCheckerRunner.java:78 : TestCaseCheckerRunner run finished. totaltestCaseCount: 20 +[2023-07-26 19:03:53][DEBUG] TestCaseAnalysisRunner.java:176 : [9/9] Analysis done +[2023-07-26 19:03:53][DEBUG] ResultWriters.java:53 : Write result +[2023-07-26 19:03:53][DEBUG] JsonDefectListOutputWriter.java:60 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:53][DEBUG] JsonTcListOutputWriter.java:70 : Writing output json file to /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:53][DEBUG] ResultWriters.java:65 : Write result +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:33 : Check result: +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:34 : -Analysis Time: 07-26-2023 19:03 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:48 : -Total TCs: 97 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:49 : -Positive TCs: 74 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:50 : -Negative TCs: 23 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:51 : -Undefined TCs: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:58 : -Total Alarms: 31 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . QTEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . KOTLIN.JUNIT.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . GTEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . CYPRESS.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . MSTEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . PYTEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . JUNIT.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . KOTLIN.MOCKK.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . PYUNIT.NO_ASSERTION: 31 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . VITEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . UTWIZ.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . NUNIT.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . CARGO.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . JEST.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . XUNIT.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . MOCKITO.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . SCALA.JUNIT.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . TCT_WEB.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . CHECK.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . MOCHA.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . TCT_NATIVE.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . TESTIFY.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . JASMINE.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] DefaultTestCaseAnalysisResultPrinter.java:63 : . NETWORKCUSTOM.PATEK.NO_ASSERTION: 0 +[2023-07-26 19:03:53][INFO ] AnalysisExecutor.java:144 : Analyze source code...done +[2023-07-26 19:03:53][DEBUG] ResultWriters.java:144 : Write end +[2023-07-26 19:03:53][DEBUG] JsonDefectListOutputWriter.java:113 : Output file (Json) saved at /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:53][DEBUG] JsonTcListOutputWriter.java:111 : Output file (Json) saved at /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:53][DEBUG] JsonOutputWriter.java:126 : Output file (Json) saved at /home/wangbiao/TCA/gbs/output/result.json +[2023-07-26 19:03:53][DEBUG] JsonOutputWriter.java:149 : Temporary Output file (Json) Deleted at /home/wangbiao/TCA/gbs/output/result_testCase.json +[2023-07-26 19:03:53][DEBUG] JsonOutputWriter.java:149 : Temporary Output file (Json) Deleted at /home/wangbiao/TCA/gbs/output/result_defectList.json +[2023-07-26 19:03:53][DEBUG] HtmlOutputGenerator.java:51 : Writing output html file to /home/wangbiao/TCA/gbs/output/result.html +[2023-07-26 19:03:53][DEBUG] HtmlOutputGenerator.java:54 : Output file (Html) saved at /home/wangbiao/TCA/gbs/output/result.html diff --git a/tests/test_changelog.py b/tests/test_changelog.py index e42da63..22e2ff1 100644 --- a/tests/test_changelog.py +++ b/tests/test_changelog.py @@ -104,7 +104,7 @@ class TestChangelog(unittest.TestCase): set_editor("touch") - def test_new_changes(self): + def test_new_changes_pos1(self): """Test generating new .changes.""" assert_raises(GbsError, GBS, argv=["gbs", "changelog"]) #with assert_raises(GbsError): @@ -116,14 +116,14 @@ class TestChangelog(unittest.TestCase): "* %s %s <%s> %s\n- change 2\n- change 3\n\n" % \ (ENV["date"], ENV["name"], ENV["email"], ENV["commits"][0][:7])) - def test_new_changes_with_content(self): + def test_new_changes_with_content_pos1(self): """Test generating new .changes with specific content.""" eq_(GBS(argv=["gbs", "changelog", "-m", "new .changes"]), None) eq_(open(self.changes).read(), "* %s %s <%s> %s\n- new .changes\n\n" % \ (ENV["date"], ENV["name"], ENV["email"], ENV["commits"][0][:7])) - def test_update_changes(self): + def test_update_changes_pos1(self): """Test updating existing .changes.""" # create test.changes init = "* %s name %s\n- init\n\n" % \ @@ -137,7 +137,7 @@ class TestChangelog(unittest.TestCase): ENV["commits"][0][:7]) eq_(open(self.changes).read(), expected+init) - def test_since(self): + def test_since_pos1(self): """Test --since command line option.""" eq_(GBS(argv=["gbs", "changelog", "--since", ENV["commits"][1]]), None) eq_(open(self.changes).read(), @@ -145,26 +145,26 @@ class TestChangelog(unittest.TestCase): (ENV["date"], ENV["name"], ENV["email"], ENV["commits"][0][:7])) @staticmethod - def test_not_updated(): + def test_not_updated_pos1(): """Test normal exit when changelog is not updated.""" set_editor("true") eq_(GBS(argv=["gbs ", "changelog", "-m", "new entry"]), None) @staticmethod @raises(GbsError) - def test_no_new_changes(): + def test_no_new_changes_neg1(): """Test failure when no new changes can be generated.""" eq_(GBS(argv=["gbs", "changelog"]), None) GBS(argv=["gbs", "changelog"]) @staticmethod @raises(GbsError) - def test_wrong_since(): + def test_wrong_since_neg1(): """Test failure with wrong --since value.""" GBS(argv=["gbs", "changelog", "--since", "bla"]) @raises(GbsError) - def test_non_existent_commit(self): + def test_non_existent_commit_neg1(self): """Test failure with wrong commit id in the changelog.""" with open(self.changes, "w") as changes: changes.write("* Wed Aug 22 2012 test " @@ -173,13 +173,13 @@ class TestChangelog(unittest.TestCase): @staticmethod @raises(GbsError) - def test_not_in_git_repository(): + def test_not_in_git_repository_neg1(): """Test failure when run not in git repo.""" os.chdir('..') GBS(argv=["gbs", "changelog"]) @raises(GbsError) - def test_no_spec(self): + def test_no_spec_neg1(self): """Test failure when there is not spec in packaging dir.""" os.unlink(self.spec) GBS(argv=["gbs", "changelog"]) diff --git a/tests/test_config.py b/tests/test_config.py index a3df331..8faf159 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -104,123 +104,123 @@ class ConfigGettingTest(unittest.TestCase): @Fixture(project='project1.ini') - def test_no_such_section(self): + def test_no_such_section_neg1(self): '''test no such section''' self.assertRaises(ConfigError, self.get, 'not_exists_section', 'key') @Fixture(project='project1.ini') - def test_no_such_option(self): + def test_no_such_option_neg1(self): '''test no such option''' self.assertRaises(ConfigError, self.get, 'section', 'not_exists_option') @Fixture(project='project1.ini') - def test_simple_get(self): + def test_simple_get_pos1(self): '''get value when one config file provides''' self.assertEqual('projv2', self.get('section', 'proj_only_key')) @Fixture(home='home1.ini', project='project1.ini') - def test_inherit(self): + def test_inherit_pos1(self): '''value can be inherit from two levels''' self.assertEqual('homev2', self.get('section', 'home_only_key')) @Fixture(home='home1.ini', project='project1.ini') - def test_overwrite(self): + def test_overwrite_pos1(self): '''value can be overwrite if name is the same''' self.assertEqual('projv1', self.get('section', 'common_key')) @Fixture(home='home1.ini') - def test_default_value(self): + def test_default_value_pos1(self): 'test get hardcode default value ' self.assertEquals('/var/tmp', self.get('general', 'tmpdir')) @Fixture(home='without_section_header.ini') - def test_invalid_ini(self): + def test_invalid_ini_neg1(self): 'test invalid ini' self.assertRaises(ConfigError, reload, gitbuildsys.conf) @Fixture(home='invalid_continuation_line.ini') - def test_invalid_continuation_line(self): + def test_invalid_continuation_line_neg1(self): 'test invalid cointinuation line' self.assertRaises(ConfigError, reload, gitbuildsys.conf) @Fixture(home='interpolation.ini') - def test_interpolation(self): + def test_interpolation_pos1(self): 'test interpolation is supported' self.assertEquals('abc/def', self.get('remote', 'target')) @Fixture(home='home1.ini') - def test_addconf(self): + def test_addconf_pos1(self): '''value can be inherit from two levels''' self.add_conf(os.path.join(FILE_DIRNAME, 'testdata', 'ini',\ 'project1.ini')) self.assertEqual('homev2', self.get('section', 'home_only_key')) - def test_MappingConfigParser_obs_meta_(self): + def test_MappingConfigParser_obs_meta_pos1(self): '''test get obs meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_prefix_meta_(self): + def test_MappingConfigParser_prefix_meta_pos1(self): '''test get prefix meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_repo_meta_(self): + def test_MappingConfigParser_repo_meta_pos1(self): '''test get repo meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_profile_meta_(self): + def test_MappingConfigParser_profile_meta_pos1(self): '''test get profile meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_source_meta_(self): + def test_MappingConfigParser_source_meta_pos1(self): '''test get source meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_obs_meta_(self): + def test_MappingConfigParser_obs_meta_pos1(self): '''test get obs meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetObsMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_get_prefix_mapping_(self): + def test_MappingConfigParser_get_prefix_mapping_pos1(self): '''test get prefix meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetPrefixMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_get_repo_mapping_(self): + def test_MappingConfigParser_get_repo_mapping_pos1(self): '''test get repo meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetRepoMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_get_profile_mapping_(self): + def test_MappingConfigParser_get_profile_mapping_pos1(self): '''test get profile meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetProfileMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_get_source_mapping_(self): + def test_MappingConfigParser_get_source_mapping_pos1(self): '''test get source meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetSourceMapping() self.assertTrue(obs_meta) - def test_MappingConfigParser_get_osc_mapping_(self): + def test_MappingConfigParser_get_osc_mapping_pos1(self): '''test get osc meta by class MappingConfigParser''' mapparser = MappingConfigParser('/usr/share/gbs/mapping.conf') obs_meta = mapparser.GetOscMapping() diff --git a/tests/test_export.py b/tests/test_export.py index 05c5a80..833c586 100644 --- a/tests/test_export.py +++ b/tests/test_export.py @@ -23,7 +23,7 @@ class TestExport(unittest.TestCase): shutil.rmtree(os.path.join(self.testdataDir, "./fake")) os.chdir(self.cdir) - def test_command_export_directory(self): + def test_command_export_directory_pos1(self): """Test running gbs export commond.""" try: GBS(argv=["gbs", "export", "fake", "-o", "tmp_output"]) @@ -31,7 +31,7 @@ class TestExport(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_command_export_source_rpm(self): + def test_command_export_source_rpm_pos1(self): """Test running gbs export source rpm commond.""" try: GBS(argv=["gbs", "export", "fake", "--source-rpm", "-o", "tmp_output"]) @@ -39,7 +39,7 @@ class TestExport(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_command_export_include_all(self): + def test_command_export_include_all_pos1(self): """Test running gbs export with include-all commond.""" try: GBS(argv=["gbs", "export", "fake", "--include-all", "-o", "tmp_output"]) @@ -47,7 +47,7 @@ class TestExport(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_command_export_outdir_directly(self): + def test_command_export_outdir_directly_pos1(self): """Test running gbs export with include-all commond.""" try: GBS(argv=["gbs", "export", "fake", "--outdir-directly", "-o", "tmp_output"]) @@ -55,7 +55,7 @@ class TestExport(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_command_export_special_spec(self): + def test_command_export_special_spec_pos1(self): """Test running gbs export with --spec and --no-patch-export commond.""" try: GBS(argv=["gbs", "export", "fake", "--spec=fake.spec", "--no-patch-export", "-o", "tmp_output"]) @@ -64,7 +64,7 @@ class TestExport(unittest.TestCase): eq_(err.code, 0) - def test_config_is_true(self): + def test_config_is_true_pos1(self): '''test config_is_true fumction''' try: config_is_true('yes') @@ -72,7 +72,7 @@ class TestExport(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_command_export_disable_fallback_to_native_packaging(self): + def test_command_export_disable_fallback_to_native_packaging_pos1(self): """Test running gbs export failed case:disable fallback to native commond.""" try: os.system('mkdir -p /tmp/gbs_export_tmp') @@ -88,7 +88,7 @@ class TestExport(unittest.TestCase): eq_(err.code, 2) @raises(Exception) - def test_command_export_special_spec(self): + def test_command_export_special_spec_pos1(self): """Test use Invalid upstream treeish upstream""" try: os.chdir('/home/build/acl') diff --git a/tests/test_help.py b/tests/test_help.py index d7d7d48..5fc7754 100644 --- a/tests/test_help.py +++ b/tests/test_help.py @@ -29,7 +29,7 @@ class TestHelp(unittest.TestCase): """Test help output of gbs commands""" @staticmethod - def test_subcommand_help(): + def test_subcommand_help_pos1(): """Test running gbs help with all possible subcommands.""" for sub in ["build", "lb", "remotebuild", "rb", "changelog", "ch", "submit", "sr", "export", "ex", "import", "im", @@ -42,7 +42,7 @@ class TestHelp(unittest.TestCase): eq_(err.code, 0) @staticmethod - def test_help(): + def test_help_pos1(): """Test running gbs --help and gbs help.""" try: GBS(argv=["gbs", "--help"]) diff --git a/tests/test_import.py b/tests/test_import.py index 080b917..eadad2c 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -80,7 +80,7 @@ class TestImport(unittest.TestCase): shutil.rmtree(self.tmp) @with_data("ail-0.2.29-2.3.src.rpm") - def test_import_srcrpm(self, srcrpm): + def test_import_srcrpm_pos1(self, srcrpm): """Test importing from source rpm.""" eq_(GBS(argv=["gbs", "import", srcrpm]), None) repo = GitRepository("./ail") @@ -88,7 +88,7 @@ class TestImport(unittest.TestCase): eq_(repo.get_tags(), ['upstream/0.2.29', 'vendor/0.2.29-2.3']) @with_data("bluez_unpacked") - def test_import_spec(self, srcdir): + def test_import_spec_pos1(self, srcdir): """Test importing from spec.""" eq_(GBS(argv=["gbs", "import", os.path.join(srcdir, 'bluez.spec')]), None) @@ -101,7 +101,7 @@ class TestImport(unittest.TestCase): #raise Exception(os.listdir('./bluez')) @with_data("ail-0.2.29-2.5.src.rpm") - def test_running_from_git_tree(self, srcrpm): + def test_running_from_git_tree_pos1(self, srcrpm): """Test running gbs import from git tree.""" # Create empty git repo repo = GitRepository.create("./repo_dir") @@ -113,7 +113,7 @@ class TestImport(unittest.TestCase): #raise Exception(os.listdir('./bluez')) @with_data("app-core-1.2-19.3.src.rpm") - def test_set_author_name_email(self, srcrpm): + def test_set_author_name_email_pos1(self, srcrpm): """Test --author-name and --author-email command line options.""" eq_(GBS(argv=["gbs", "import", "--author-name=test", "--author-email=test@otctools.jf.intel.com", @@ -123,7 +123,7 @@ class TestImport(unittest.TestCase): eq_(repo.get_tags(), ['upstream/1.2', 'vendor/1.2-19.3']) @with_data("ail-0.2.29-2.3.src.rpm") - def test_specify_upstream(self, srcrpm): + def test_specify_upstream_pos1(self, srcrpm): """Test --upstream command line option.""" eq_(GBS(argv=["gbs", "import", "--upstream-branch=upstream", srcrpm]), None) @@ -133,38 +133,38 @@ class TestImport(unittest.TestCase): @raises(GbsError) @with_data("bison-1.27.tar.gz") - def test_is_not_git_repository(self, tarball): + def test_is_not_git_repository_neg1(self, tarball): """Test raising exception when importing tarball outside of git.""" GBS(argv=["gbs", "import", tarball]) @raises(GbsError) @with_data("bad.src.rpm") - def test_error_reading_pkg_header(self, srcrpm): + def test_error_reading_pkg_header_neg1(self, srcrpm): """Test raising exception when importing from bad package.""" GBS(argv=["gbs", "import", srcrpm]) @raises(GbsError) @with_data("bad.spec") - def test_cant_parse_specfile(self, spec): + def test_cant_parse_specfile_neg1(self, spec): """Test raising exception when importing from non-parseable spec.""" GBS(argv=["gbs", "import", spec]) @raises(SystemExit) - def test_missing_argument(self): + def test_missing_argument_neg1(self): """Test raising exception when running gbs without any arguments.""" GBS(argv=["gbs", "import"]) @raises(SystemExit) - def test_too_many_arguments(self): + def test_too_many_arguments_neg1(self): """Test raising exception when running gbs with too many arguments.""" GBS(argv=["gbs", "import", "1", "2"]) @raises(GbsError) - def test_path_doesnt_exist(self): + def test_path_doesnt_exist_neg1(self): """Test raising exception when running gbs with not existing path.""" GBS(argv=["gbs", "import", "I don't exist!"]) @raises(GbsError) - def test_log_clone(self): + def test_log_clone_pos1(self): """Test the waiting funciton wiht gbs clone command""" GBS(argv=["gbs", "clone", "I don't exist!"]) diff --git a/tests/test_passwdx.py b/tests/test_passwdx.py index d63e193..77f33f1 100644 --- a/tests/test_passwdx.py +++ b/tests/test_passwdx.py @@ -60,7 +60,7 @@ class PasswdxTest(unittest.TestCase): 'Test for setting passwdx' @Fixture(home='plain_passwd.ini') - def test_one_file(self, fake_open): + def test_one_file_pos1(self, fake_open): 'test passwdx set back to one file' conf = FakeFile() fake_open.return_value = conf @@ -78,7 +78,7 @@ repo1.passwdx = QlpoOTFBWSZTWYfNdxYAAAIBgAoAHAAgADDNAMNEA24u5IpwoSEPmu4s @Fixture(home='plain_passwd.ini', project='plain_passwd2.ini') - def test_two_files(self, fake_open): + def test_two_files_pos1(self, fake_open): 'test passwdx set back to two files' confs = [FakeFile(), FakeFile()] def side_effect(name, _mode): @@ -112,7 +112,7 @@ repo1.passwdx = QlpoOTFBWSZTWYfNdxYAAAIBgAoAHAAgADDNAMNEA24u5IpwoSEPmu4s @Fixture(home='normal_passwdx.ini') - def test_get_passwdx(self, _fake_open): + def test_get_passwdx_pos1(self, _fake_open): 'test get decode passwd' reload(gitbuildsys.conf) @@ -120,7 +120,7 @@ repo1.passwdx = QlpoOTFBWSZTWYfNdxYAAAIBgAoAHAAgADDNAMNEA24u5IpwoSEPmu4s self.assertEquals('secret', pwd) @Fixture(home='plain_passwd.ini') - def test_get_passwd(self, fake_open): + def test_get_passwd_pos1(self, fake_open): 'test get decode passwd' fake_open.return_value = FakeFile() @@ -130,7 +130,7 @@ repo1.passwdx = QlpoOTFBWSZTWYfNdxYAAAIBgAoAHAAgADDNAMNEA24u5IpwoSEPmu4s self.assertEquals('secret', pwd) @Fixture(home='bad_passwdx.ini') - def test_bad_passwdx(self, _fake_open): + def test_bad_passwdx_neg1(self, _fake_open): 'test bad passwdx' reload(gitbuildsys.conf) @@ -138,7 +138,7 @@ repo1.passwdx = QlpoOTFBWSZTWYfNdxYAAAIBgAoAHAAgADDNAMNEA24u5IpwoSEPmu4s 'passwd', 'remotebuild') @Fixture(home='empty_passwdx.ini') - def test_empty_passwdx(self, _fake_open): + def test_empty_passwdx_neg1(self, _fake_open): 'test empty passwdx' reload(gitbuildsys.conf) @@ -152,7 +152,7 @@ class AutoGenerateTest(unittest.TestCase): 'test auto generation if no conf was found' @Fixture() - def test_auto_generate_conf(self, fake_open, _fake_chmod): + def test_auto_generate_conf_pos1(self, fake_open, _fake_chmod): 'test auto generate conf should contain obs and repos' conf = FakeFile() fake_open.return_value = conf diff --git a/tests/test_profile.py b/tests/test_profile.py index 562d9f4..26493e2 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -38,24 +38,24 @@ class ProfileStyleTest(unittest.TestCase): '''Test for profile oriented config''' @Fixture(home='profile.ini') - def test_profile_api(self): + def test_profile_api_pos1(self): 'test get obs api' self.assertEquals('https://api.tz/path', get_profile().obs.url) @Fixture(home='profile.ini') - def test_api_inherit_auth(self): + def test_api_inherit_auth_pos1(self): 'test api can inherit auto from parent profile section' self.assertEquals('https://Alice:secret@api.tz/path', get_profile().obs.url.full) @Fixture(home='profile_only_has_api.ini') - def test_api_auth_can_be_overwrite(self): + def test_api_auth_can_be_overwrite_pos1(self): 'test api auth can be overwrite' self.assertEquals('https://Bob:classified@api.tz/path', get_profile().obs.url.full) @Fixture(home='profile.ini') - def test_profile_repos_in_order(self): + def test_profile_repos_in_order_pos1(self): 'repos must be in same order as they are write in config' self.assertEquals(['https://repo/ia32/main', 'https://repo/ia32/non-oss', @@ -64,19 +64,19 @@ class ProfileStyleTest(unittest.TestCase): [i.url for i in get_profile().repos]) @Fixture(home='profile.ini') - def test_repo_inherit_auth(self): + def test_repo_inherit_auth_pos1(self): 'test repo can inherit auth from parent section' self.assertEquals('https://Alice:secret@repo/ia32/main', get_profile().repos[0].url.full) @Fixture(home='profile.ini') - def test_repo_overwrite_auth(self): + def test_repo_overwrite_auth_pos1(self): 'test repo auth can be overwrite' self.assertEquals('https://Bob:classified@repo/ia32/base', get_profile().repos[2].url.full) @Fixture(home='bug387_inherit_only_user.ini') - def test_inherit_only_user(self): + def test_inherit_only_user_pos1(self): 'test inherit only user from parent' self.assertEquals('https://tester:secret@repo', get_profile().repos[0].url.full) @@ -84,7 +84,7 @@ class ProfileStyleTest(unittest.TestCase): get_profile().obs.url.full) @Fixture(home='bug387_inherit_only_passwdx.ini') - def test_inherit_only_passwdx(self): + def test_inherit_only_passwdx_pos1(self): 'test inherit only password from parent' self.assertEquals('https://tester:secret@repo', get_profile().repos[0].url.full) @@ -92,23 +92,23 @@ class ProfileStyleTest(unittest.TestCase): get_profile().obs.url.full) @Fixture(home='bug387_only_password_no_user.ini') - def test_only_password_no_user(self): + def test_only_password_no_user_neg1(self): 'test only password no user' self.assertRaises(ConfigError, get_profile) @Fixture(home='bug387_inline_auth_has_the_highest_priority.ini') - def test_inline_highest_priority(self): + def test_inline_highest_priority_pos1(self): 'test inline auth has the highest priority' self.assertEquals('https://this:inline-pwd@obs', get_profile().obs.url.full) @Fixture(home='no_such_profile_section_name.ini') - def test_no_such_profile(self): + def test_no_such_profile_neg1(self): 'test profile name does not exist' self.assertRaises(ConfigError, get_profile) @Fixture(home='empty_profile.ini') - def test_empty_profile(self): + def test_empty_profile_neg1(self): 'test get a empty profile' profile = get_profile() @@ -116,17 +116,17 @@ class ProfileStyleTest(unittest.TestCase): self.assertEquals([], profile.repos) @Fixture(home='profile.ini') - def test_local_repo_need_not_auth(self): + def test_local_repo_need_not_auth_neg1(self): '''test local path needn't auth info''' self.assertEquals('/local/path', get_profile().repos[3].url.full) @Fixture(home='profile.ini') - def test_obs_base_project(self): + def test_obs_base_project_pos1(self): 'test read base project from conf' self.assertEquals('base', get_profile().obs.base) @Fixture(home='profile.ini') - def test_obs_target_project(self): + def test_obs_target_project_pos1(self): 'test read target project from conf' self.assertEquals('target', get_profile().obs.target) @@ -137,18 +137,18 @@ class SubcommandStyleTest(unittest.TestCase): '''test for subcommand oriented config''' @Fixture(home='subcommand.ini') - def test_api(self): + def test_api_pos1(self): 'test obs api' self.assertEquals('https://api/build/server', get_profile().obs.url) @Fixture(home='subcommand.ini') - def test_api_auth(self): + def test_api_auth_pos1(self): 'test api auth' self.assertEquals('https://Alice:secret@api/build/server', get_profile().obs.url.full) @Fixture(home='subcommand.ini') - def test_repos_in_order(self): + def test_repos_in_order_pos1(self): 'repos list must be in the same order as they are write in config' self.assertEquals(['https://repo1/path', 'https://repo2/path', @@ -156,7 +156,7 @@ class SubcommandStyleTest(unittest.TestCase): [i.url for i in get_profile().repos]) @Fixture(home='subcommand.ini') - def test_repo_auth(self): + def test_repo_auth_pos1(self): 'test repo auth' self.assertEquals('https://Alice:secret@repo1/path', get_profile().repos[0].url.full) @@ -168,7 +168,7 @@ class ConvertTest(unittest.TestCase): 'Test convert subcommand to profile' @Fixture(home='subcommand.ini') - def test_convert(self, fake_open): + def test_convert_pos1(self, fake_open): 'test convert' conf = FakeFile() fake_open.return_value = conf diff --git a/tests/test_safe_url.py b/tests/test_safe_url.py index 26ea8b1..2732a48 100644 --- a/tests/test_safe_url.py +++ b/tests/test_safe_url.py @@ -26,79 +26,79 @@ from gitbuildsys.safe_url import SafeURL class SafeURLTest(unittest.TestCase): '''Test SafeURL class''' - def test_passwd_no_user(self): + def test_passwd_no_user_neg1(self): '''raise ValueError if only given password''' self.assertRaises(ValueError, SafeURL, 'http://:password@server') - def test_password_no_user_by_arg(self): + def test_password_no_user_by_arg_neg1(self): '''raise ValueError if only given password''' self.assertRaises(ValueError, SafeURL, 'http://server', None, 'passwd') - def test_both_user_and_password(self): + def test_both_user_and_password_pos1(self): '''both user and passwd are given''' url = SafeURL('http://server', 'Alice', 'password') self.assertEqual('http://server', url) self.assertEqual('http://Alice:password@server', url.full) - def test_only_user_no_password(self): + def test_only_user_no_password_pos1(self): '''only user no password''' url = SafeURL('http://Alice@server') self.assertEqual('http://server', url) self.assertEqual('http://Alice@server', url.full) - def test_no_user_and_no_password(self): + def test_no_user_and_no_password_pos1(self): '''no user and no passwd''' url = SafeURL('http://server') self.assertEqual('http://server', url) self.assertEqual(url, url.full) - def test_port(self): + def test_port_pos1(self): '''port given''' url = SafeURL('http://Alice:password@server:8080') self.assertEqual('http://server:8080', str(url)) self.assertEqual('http://Alice:password@server:8080', url.full) - def test_escape_userinfo(self): + def test_escape_userinfo_pos1(self): '''user and passwd should be escape''' url = SafeURL('http://server', 'Alice', 'a;/?:@&=+$,b') self.assertEqual('http://Alice:a%3B%2F%3F%3A%40%26%3D%2B%24%2Cb@server', url.full) - def test_join_a_file(self): + def test_join_a_file_pos1(self): '''join a file''' self.assertEqual('http://server/path/a/file.txt', SafeURL('http://server/path').pathjoin('a/file.txt')) - def test_join_with_tailing_slash(self): + def test_join_with_tailing_slash_pos1(self): '''join a file to url with tailing slash''' self.assertEqual('http://server/path/a/file.txt', SafeURL('http://server/path/').pathjoin('a/file.txt')) - def test_join_a_dir(self): + def test_join_a_dir_pos1(self): '''join a dir''' self.assertEqual('http://server/path/a/dir', SafeURL('http://server/path').pathjoin('a/dir')) - def test_reduce_doubel_dot(self): + def test_reduce_doubel_dot_pos1(self): '''reduce .. and get a path(alwasy with tailing slash)''' url = SafeURL('http://server/a/b/c') self.assertEqual('http://server/a/', url.pathjoin('../../')) self.assertEqual('http://server/a/', url.pathjoin('../..')) - def test_local_path(self): + def test_local_path_pos1(self): '''local path should not change''' url = SafeURL('/local/path') self.assertEqual('/local/path', url) self.assertEqual(url, url.full) - def test_local_path_need_not_auth(self): + def test_local_path_need_not_auth_pos1(self): '''local path should ignore user and password''' url = SafeURL('/local/path', 'test', 'password') diff --git a/tests/test_utils.py b/tests/test_utils.py index ff71f15..6478548 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -31,12 +31,12 @@ import requests class UtilsTest(unittest.TestCase): '''Test SafeURL class''' - def test_urlgrabber(self): + def test_urlgrabber_pos1(self): '''test urlgrabber class''' self.urlgrabber = URLGrabber() self.assertTrue(self.urlgrabber) - def test_repoparser(self): + def test_repoparser_pos1(self): '''test repoparser''' reload(gitbuildsys.conf) profile = gitbuildsys.conf.configmgr.get_current_profile() @@ -49,7 +49,7 @@ class UtilsTest(unittest.TestCase): repourls = repoparser.get_repos_by_arch('armv7l') self.assertTrue(repourls) - def test_given_profile(self): + def test_given_profile_pos1(self): '''test repoparse with certain profile file''' FILE_DIRNAME = os.path.dirname(os.path.abspath(__file__)) conf_file = os.path.join(FILE_DIRNAME, 'testdata', 'base.cfg') @@ -65,7 +65,7 @@ class UtilsTest(unittest.TestCase): repourls = repoparser.get_repos_by_arch('armv7l') self.assertTrue(repourls) - def test_edit_file(self): + def test_edit_file_pos1(self): '''test edit file fuction''' try: os.system('cp ./tests/testdata/fake.spec editfile') @@ -73,13 +73,13 @@ class UtilsTest(unittest.TestCase): except SystemExit as err: eq_(err.code, 0) - def test_GitRefMappingParser(self): + def test_GitRefMappingParser_pos1(self): '''test class GitRefMappingParser''' refparser = GitRefMappingParser() ref_meta = refparser.parse() self.assertTrue(ref_meta) - def test_GerritNameMapper(self): + def test_GerritNameMapper_pos1(self): '''test calss GerritNameMapper''' profile = configmgr.get_current_profile()