fix(测试跟踪): 修改测试计划报告的执行率为执行完成率,并修改相应的计算公式

--bug=1024310 --user=宋天阳 [测试跟踪]github
#22607测试计划触发执行后,用户点击【测试计划】【报告】,执行率显示100%。
https://www.tapd.cn/55049933/s/1348947
This commit is contained in:
song-tianyang 2023-03-13 17:07:33 +08:00 committed by 建国
parent 8926118ecf
commit e89bf39f2a
5 changed files with 446 additions and 347 deletions

View File

@ -1,12 +1,12 @@
export default {
batch_operate_select_row_count: 'You have selected {0} cases',
select_all_row: 'You have selected all cases',
sync_add_api_load: 'Synchronously add associated test case',
next: 'Next',
total_size: 'Total {0}',
related_requirements: 'Related requirements',
please_related_requirements: 'Please select the requirements to associate',
batch_related_requirements: 'Batch related requirement',
batch_operate_select_row_count: "You have selected {0} cases",
select_all_row: "You have selected all cases",
sync_add_api_load: "Synchronously add associated test case",
next: "Next",
total_size: "Total {0}",
related_requirements: "Related requirements",
please_related_requirements: "Please select the requirements to associate",
batch_related_requirements: "Batch related requirement",
please_select_the_test_to_associate: "Please select the test to associate",
person_responsible: "Person Responsible",
test_track: "Track",
@ -32,18 +32,18 @@ export default {
scenario_test_case: "Scenario Case",
ui_scenario_test_case: "UI Scenario Case",
report_statistics: "Report Statistics",
sort: 'Sort',
other_test_name: 'Other Test Name',
sort: "Sort",
other_test_name: "Other Test Name",
demand: {
id: 'Demand ID',
name: 'Demand Name',
batch_relate: 'Bulk Association Requirements',
relate_is_null_warn: 'The associated requirement cannot be empty!',
relate_name_is_null_warn: 'Requirement name cannot be empty!',
id: "Demand ID",
name: "Demand Name",
batch_relate: "Bulk Association Requirements",
relate_is_null_warn: "The associated requirement cannot be empty!",
relate_name_is_null_warn: "Requirement name cannot be empty!",
third_platform_demand: "Third platform demand",
other_demand: "Other demand"
other_demand: "Other demand",
},
step_model: 'Step Model',
step_model: "Step Model",
automatic_status_update: "Automatic Status Update",
case: {
list: "List",
@ -51,31 +51,37 @@ export default {
step_info: "Step Info",
other_info: "Other Info",
step_describe: "Step Describe",
step_describe_tip: "Applicable to every step of the test scenario, there are clear test steps, expected results",
step_describe_tip:
"Applicable to every step of the test scenario, there are clear test steps, expected results",
text_describe: "Text Describe",
text_describe_tip: "For simple test scenarios, there are no clear test steps",
text_describe_tip:
"For simple test scenarios, there are no clear test steps",
change_type: "Change Type",
minder_create_tip: "failed, unable to create its parent module in minder",
minder_issue_delete_tip: "Successfully cancel the defect association",
check_select: "Please check the case",
export_all_cases: 'Are you sure you want to export all use cases?',
export_all_cases: "Are you sure you want to export all use cases?",
minder_tem_node_tip: "Cannot create case {0} under the temporary node",
minder_is_module_tip: "{0} is a module and cannot be modified as a use ca",
minder_not_module_tip: "Module {0}, cannot be created under a non-module node",
minder_all_module_tip: 'All case are virtual modules. Please create use cases in other modules',
minder_save_confirm_title: 'Please save the minder',
minder_save_confirm_tip: 'The minder is not saved. Are you sure to save?',
minder_import_save_confirm_tip: 'Will the minder be refreshed after successful import and confirm to save minder?',
input_test_case: 'Please enter the associated case name',
test_name: 'TestName',
other: '--Other--',
minder_not_module_tip:
"Module {0}, cannot be created under a non-module node",
minder_all_module_tip:
"All case are virtual modules. Please create use cases in other modules",
minder_save_confirm_title: "Please save the minder",
minder_save_confirm_tip: "The minder is not saved. Are you sure to save?",
minder_import_save_confirm_tip:
"Will the minder be refreshed after successful import and confirm to save minder?",
input_test_case: "Please enter the associated case name",
test_name: "TestName",
other: "--Other--",
test_case: "Case",
move: "Move case",
case_list: "Test case list",
create_case: "Create",
edit_case: "Edit case",
view_case: "Test case",
no_project: "There is no project in this workspace, please create the project first",
no_project:
"There is no project in this workspace, please create the project first",
priority: "Priority",
type: "Type",
method: "Method",
@ -85,7 +91,7 @@ export default {
case_type: "Case Type",
name: "Test Case Name",
module: "Module",
project: 'Project',
project: "Project",
maintainer: "Maintainer",
steps: "Steps",
number: "Number",
@ -106,58 +112,67 @@ export default {
delete: "Delete case",
batch_delete_confirm: "Confirm delete {0} case?",
batch_delete_completely_confirm: "Confirm delete {0} case completely?",
batch_delete_tip: "It cannot be recovered after delete, please delete carefully",
public_batch_delete_tip: "It cannot be restored after deletion, please proceed with caution.",
public_remove:"Remove",
batch_delete_tip:
"It cannot be recovered after delete, please delete carefully",
public_batch_delete_tip:
"It cannot be restored after deletion, please proceed with caution.",
public_remove: "Remove",
batch_delete_soft_tip: "The test case will be put into trash",
save_create_continue: "Save and create continue",
save_add_public: "Save and add public",
please_create_project: "No project available, please create the project first",
please_create_project:
"No project available, please create the project first",
create_module_first: "Please create module first",
relate_test: "Relate test",
relate_issue: "Relate Issue",
demand_name_id: "Demand ID/Name",
please_select_relate_test: "Please select the test to associate",
relate_test_not_find: 'The associated test does not exist, please check the test case',
other_relate_test_not_find: 'Associated test name, please go to the third party platform to execute',
batch_handle: 'Batch processing (select {0} items)',
batch_update: 'Update the attributes of {0} cases',
select_attr: 'Select attr',
batch_update_to: 'Batch update to',
select_catalog: 'Please select use case catalog',
relate_test_not_find:
"The associated test does not exist, please check the test case",
other_relate_test_not_find:
"Associated test name, please go to the third party platform to execute",
batch_handle: "Batch processing (select {0} items)",
batch_update: "Update the attributes of {0} cases",
select_attr: "Select attr",
batch_update_to: "Batch update to",
select_catalog: "Please select use case catalog",
batch_move_to: 'Move "{0}" {1} of Cases to',
batch_copy_to: 'Copy "{0}" {1} of Cases to',
updated_attr_value: 'The updated attribute value',
batch_operate: 'Batch operation',
please_select_attr: 'Please select attributes',
please_input_attr_value: 'Please input the value corresponding to the attribute',
please_select_attr_value: 'Please select the value corresponding to the attribute',
please_select_required_value: 'Please select value',
batch_edit_case: 'Batch editing',
batch_edit_btn: 'Edit',
batch_move_case: 'Batch move',
batch_move_btn: 'Move to',
batch_copy: 'Batch copy',
batch_copy_btn: 'Copy to',
batch_add_public: 'Batch add public',
batch_add_public_btn: 'Add to public',
batch_link_demand: 'Bulk Association Requirements',
batch_link_demand_btn: 'Related demand',
public_warning: 'The public library configuration is not enabled',
generate_dependencies: 'Generate graph',
generate_dependencies_warning: 'For a better experience, it is recommended to check the data below 100',
batch_delete_case: 'Delete',
batch_delete_btn: 'Delete',
batch_unlink: 'Batch Unlink',
unlink: 'Unlink',
updated_attr_value: "The updated attribute value",
batch_operate: "Batch operation",
please_select_attr: "Please select attributes",
please_input_attr_value:
"Please input the value corresponding to the attribute",
please_select_attr_value:
"Please select the value corresponding to the attribute",
please_select_required_value: "Please select value",
batch_edit_case: "Batch editing",
batch_edit_btn: "Edit",
batch_move_case: "Batch move",
batch_move_btn: "Move to",
batch_copy: "Batch copy",
batch_copy_btn: "Copy to",
batch_add_public: "Batch add public",
batch_add_public_btn: "Add to public",
batch_link_demand: "Bulk Association Requirements",
batch_link_demand_btn: "Related demand",
public_warning: "The public library configuration is not enabled",
generate_dependencies: "Generate graph",
generate_dependencies_warning:
"For a better experience, it is recommended to check the data below 100",
batch_delete_case: "Delete",
batch_delete_btn: "Delete",
batch_unlink: "Batch Unlink",
unlink: "Unlink",
project_name: "Project",
status: 'Review Status',
status_prepare: 'Prepare',
status_running: 'Underway',
status_finished: 'Completed',
status_pass: 'Pass',
status_un_pass: 'UnPass',
cancel_relevance_project: "Disassociating the project will also cancel the associated test cases under the project",
status: "Review Status",
status_prepare: "Prepare",
status_running: "Underway",
status_finished: "Completed",
status_pass: "Pass",
status_un_pass: "UnPass",
cancel_relevance_project:
"Disassociating the project will also cancel the associated test cases under the project",
img_loading_fail: "Image failed to load",
pdf_loading_fail: "PDF loading failed",
upload_tip: "file size limit[0-500MB]",
@ -175,7 +190,8 @@ export default {
case_export: "Export case",
download_template: "Download template",
click_upload: "Upload",
upload_limit: "Only XLS/XLSX/XMIND files can be uploaded, and no more than 100M",
upload_limit:
"Only XLS/XLSX/XMIND files can be uploaded, and no more than 100M",
upload_xmind_format: "Only xmind",
upload_xmind: "Only xmind files can be uploaded, and no more than 800",
upload_limit_count: "Only one file can be uploaded at a time",
@ -193,18 +209,21 @@ export default {
continue_upload: "Continue",
import_create: "Import Create",
import_update: "Import Update",
import_tip1: "ID is required when \"Test Case Custom ID\" switch is turned on in project settings",
import_tip1:
'ID is required when "Test Case Custom ID" switch is turned on in project settings',
import_tip2: "ID is required when importing and updating",
import_type_require_tips: "Please select the import type!",
import_file_tips: "Please upload the file first!",
import_refresh_tips: "Content has been updated, please reopen the edit page!",
import_refresh_tips:
"Content has been updated, please reopen the edit page!",
import_format: "Import Format",
select_import_field: "Select Field",
select_import_all_field: "Select All",
base_field: "Base Field",
custom_field: "Custom Field",
other_field: "Other Field",
other_field_tip: "Note: For other fields, import is not supported after export",
other_field_tip:
"Note: For other fields, import is not supported after export",
import_by_excel: "Import cases from excel",
import_by_xmind: "Import cases from xmind",
download_template_tips_please: "Please ",
@ -216,11 +235,14 @@ export default {
import_uploading_tips: "uploading",
case_import_result_success_title: "Case import success",
case_import_result_error_title: "Case import erre",
case_import_result_success_content: "Successfully imported {0} test cases",
case_import_result_error_content: "0 cases imported successfully and {0} failed",
case_import_result_success_content:
"Successfully imported {0} test cases",
case_import_result_error_content:
"0 cases imported successfully and {0} failed",
case_import_result_error_please: "Please ",
case_import_result_error_import_again: " , Import again after making the changes",
click_preview_import_error_msg: "Click to preview the error"
case_import_result_error_import_again:
" , Import again after making the changes",
click_preview_import_error_msg: "Click to preview the error",
},
export: {
export: "Export cases",
@ -235,19 +257,20 @@ export default {
export_format: "Export Format",
},
case_desc: "Case Desc",
passing_rate: 'Case Pass Rate',
passing_rate: "Case Pass Rate",
exists_multiple_prerequisite_node: "Exists multiple precondition node",
exists_multiple_remark_node: "Exists multiple remark node",
},
plan: {
test_plan: "Plan",
test_plan_id: 'Plan ID',
test_plan_id: "Plan ID",
create_plan: "Create test plan",
edit_plan: "Edit test plan",
plan_name: "Name",
plan_project: "Project",
related_project: "Related Project",
related_tip: "After linking the project, you can add test cases under the linking project to the test plan list",
related_tip:
"After linking the project, you can add test cases under the linking project to the test plan list",
plan_stage: "Stage",
follow_people: "Follow",
plan_status: "Status",
@ -275,16 +298,18 @@ export default {
actual_end_time: "Actual End Time",
report_start_time: "Report Start Time",
report_end_time: "Report End Time",
plan_delete_confirm: "All use cases under this plan will be deleted,confirm delete test plan: ",
plan_delete_tip: "The test plan is under way, please confirm and delete it!",
plan_delete_confirm:
"All use cases under this plan will be deleted,confirm delete test plan: ",
plan_delete_tip:
"The test plan is under way, please confirm and delete it!",
plan_delete: "Delete test plan",
api_case: "Api case",
scenario_case: "Scenario case",
execute_result: "Execute Result",
execute_time: 'Execute Time',
execute_time: "Execute Time",
is_api_case_executing: "Api Case Executing",
is_scenario_executing: 'Scenario Executing',
is_performance_executing: 'Performance Executing',
is_scenario_executing: "Scenario Executing",
is_performance_executing: "Performance Executing",
test_plan_test_case_count: "Track Case Count",
test_plan_test_case_success_count: "Function case success count",
test_plan_test_case_failed_count: "Failed count of functional case",
@ -300,7 +325,8 @@ export default {
test_plan_api_scenario_success_count: "Scenario Case success Count",
test_plan_api_scenario_failed_count: "Scenario Case failed Count",
test_plan_api_scenario_un_execute_count: "Scenario Case unexecuted Count",
test_plan_api_scenario_error_report_count: "Scenario Case error report Count",
test_plan_api_scenario_error_report_count:
"Scenario Case error report Count",
test_plan_ui_scenario_count: "UI Scenario Case Count",
test_plan_ui_scenario_success_count: "UI Scenario Case success Count",
test_plan_ui_scenario_failed_count: "UI Scenario Case failed Count",
@ -309,12 +335,16 @@ export default {
test_plan_component_case_count: "Component Case Count",
data_name: "Data Name",
test_plan_batch_switch: "batch on/off scheduled tasks",
batch_update_schedule_enable: 'update the scheduled task status of {0} test plans',
batch_update_schedule_enable_alert: 'note: only test plans with scheduled tasks can be updated',
next_run_time: 'next running time',
schedule_enabled: 'enabled',
check_schedule_enabled: 'the data you checked has detected {0} scheduled tasks that can be modified',
no_check_schedule_enabled: 'the data you checked does not detect a scheduled task',
batch_update_schedule_enable:
"update the scheduled task status of {0} test plans",
batch_update_schedule_enable_alert:
"note: only test plans with scheduled tasks can be updated",
next_run_time: "next running time",
schedule_enabled: "enabled",
check_schedule_enabled:
"the data you checked has detected {0} scheduled tasks that can be modified",
no_check_schedule_enabled:
"the data you checked does not detect a scheduled task",
load_case: {
case: "Load Case",
execution_status: "Execution status",
@ -326,7 +356,7 @@ export default {
error: "Use case execution error, please debug this use case separately!",
report_not_found: "Report does not exist",
content_empty: "Content empty",
}
},
},
review: {
test_review: "Review",
@ -339,7 +369,8 @@ export default {
review_follow_people: "Follow",
review_status: "Status",
related_project: "Related Project",
related_tip: "After the project is associated, you can add test cases under the associated project to the review list",
related_tip:
"After the project is associated, you can add test cases under the associated project to the review list",
end_time: "EndTime",
delete: "Delete",
input_review_name: "Please enter the name of the review",
@ -358,7 +389,8 @@ export default {
creator: "Creator",
done: "Commented use cases",
result_distribution: "Result Distribution",
deadline_cannot_early_tips: "Deadline cannot be earlier than current time",
deadline_cannot_early_tips:
"Deadline cannot be earlier than current time",
},
comment: {
no_comment: "No Comment",
@ -379,7 +411,7 @@ export default {
submit_description: "please submit comments first",
},
module: {
id: 'Module ID',
id: "Module ID",
search: "Search module",
search_by_name: "Search by name",
rename: "Rename",
@ -388,8 +420,9 @@ export default {
name: "Name",
delete_confirm: "Confirm delete module:",
delete_all_resource: "and all submodules and test cases under the module",
delete_batch_confirm: "Steps to confirm batch deletion of selected scenarios",
delete_tip: 'All resources under this node will be deleted, carefully!',
delete_batch_confirm:
"Steps to confirm batch deletion of selected scenarios",
delete_tip: "All resources under this node will be deleted, carefully!",
module: "Module",
title: "Title",
describe: "Describe",
@ -399,7 +432,8 @@ export default {
project_name: "Project",
input_name: "Please input name",
success_create: "Module create successfully",
case_module_already_exists: "The module name already exists at the same level",
case_module_already_exists:
"The module name already exists at the same level",
},
home: {
recent_test: "Recent Test",
@ -421,7 +455,7 @@ export default {
case_size: "Case Count",
bug_size: "Bug Count",
passing_rate: "Pass Rate",
percentage: "Percentage"
percentage: "Percentage",
},
plan_view: {
plan: "Plan",
@ -465,10 +499,12 @@ export default {
defect_list: "Defect list",
view_report: "View report",
component_library: "Component library",
component_library_tip: "Drag and drop the component from the component library, add to the right, preview the report effect, only one can be added per system component.",
component_library_tip:
"Drag and drop the component from the component library, add to the right, preview the report effect, only one can be added per system component.",
delete_component_tip: "Please reserve at least one component",
input_template_name: "Input template name",
template_special_characters: 'Template name does not support special characters',
template_special_characters:
"Template name does not support special characters",
case_count: "Case count",
issues_count: "Issues count",
result_statistics: "Result statistics",
@ -482,12 +518,15 @@ export default {
no_case_relevance: "No related use cases",
automatically_update_status: "Auto update status",
allow_associated_repetitive_cases: "Repetitive Case",
automatically_update_status_tip: "When the interface or performance use case associated with the functional use case is executed in the test plan, the status of the functional use case is automatically updated",
allow_associated_repetitive_cases_tip: "Whether to allow the same use case to be associated multiple times in the same test plan",
automatically_update_status_tip:
"When the interface or performance use case associated with the functional use case is executed in the test plan, the status of the functional use case is automatically updated",
allow_associated_repetitive_cases_tip:
"Whether to allow the same use case to be associated multiple times in the same test plan",
performance_case_count: "Performance Case Count",
running: "Running",
please_choose_test_case: "please select a test case",
execute_tip: "The step execution result contains a Failed result, and the use case cannot be marked as Passed!"
execute_tip:
"The step execution result contains a Failed result, and the use case cannot be marked as Passed!",
},
issue: {
issue: "Issue",
@ -499,7 +538,8 @@ export default {
add_issue: "Add Issue",
issue_list: "Issue List",
search_name: "Search for title",
platform_tip: "Integrated defect management platform in the system setting-workspace-service integration can submit defects to the designated defect management platform",
platform_tip:
"Integrated defect management platform in the system setting-workspace-service integration can submit defects to the designated defect management platform",
input_title: "Please enter title",
id: "Issue ID",
title: "Title",
@ -513,17 +553,18 @@ export default {
delete: "Delete",
title_description_required: "Title and description are required",
close_success: "Closed successfully",
delete_warning: "The cancellation will affect the statistics related to the test plan. Confirm whether to confirm or not",
delete_warning:
"The cancellation will affect the statistics related to the test plan. Confirm whether to confirm or not",
preview: "Preview",
status_new: 'new',
status_resolved: 'resolved',
status_closed: 'closed',
status_active: 'active',
status_delete: 'delete',
status_in_progress: 'in_progress',
status_rejected: 'rejected',
status_upcoming: 'upcoming',
status_reopened: 'reopened',
status_new: "new",
status_resolved: "resolved",
status_closed: "closed",
status_active: "active",
status_delete: "delete",
status_in_progress: "in_progress",
status_rejected: "rejected",
status_upcoming: "upcoming",
status_reopened: "reopened",
please_choose_current_owner: "Please choose current owner",
tapd_current_owner: "Tapd Current Owner",
zentao_bug_build: "Zentao Impact version",
@ -533,7 +574,8 @@ export default {
update_third_party_bugs: "Update the defects of third-party platforms",
sync_bugs: "Synchronization Issue",
sync_complete: "Synchronization complete",
issue_sync_tip: "The current project is synchronizing defects, please wait!",
issue_sync_tip:
"The current project is synchronizing defects, please wait!",
import_bugs: "Import Issue",
export_bugs: "Export Issue",
save_before_open_comment: "Please save issue before comment",
@ -551,11 +593,13 @@ export default {
tapd_status_suspended: "Suspended",
please_choose_platform_status: "Please select platform status",
import_type: "Import type",
import_file_limit_tips: "Only XLS/XLSX files can be uploaded, and the size is not larger than 100 MB",
import_file_limit_tips:
"Only XLS/XLSX files can be uploaded, and the size is not larger than 100 MB",
check_select: "Please check issues",
export: "Export issue",
batch_delete_issue: "Batch delete issues",
import_type_tips: "Cover mode :<br>1. If the defect ID already exists, the original defect of the system will be overwritten. <br>2. If the defect ID does not exist or is missing, a new defect is added; <br> Not cover mode :<br>1. If the defect ID already exists, it will not be changed; <br>2. If the defect ID does not exist or is missing, a new defect is added;"
import_type_tips:
"Cover mode :<br>1. If the defect ID already exists, the original defect of the system will be overwritten. <br>2. If the defect ID does not exist or is missing, a new defect is added; <br> Not cover mode :<br>1. If the defect ID already exists, it will not be changed; <br>2. If the defect ID does not exist or is missing, a new defect is added;",
},
report: {
name: "Test Plan Report",
@ -577,7 +621,8 @@ export default {
overview: "Overview",
testing_time: "Testing time",
total_number_tests: "Total",
exacutive_rate: "Exacutive rate",
exacutive_rate: "Executive rate",
executive_finish_rate: "Executive finish rate",
exacutive_rate_tip: "Use cases executed/all use cases * 100%",
passing_rate: "Passing rate",
passing_rate_tip: "Execute passed use cases/all use cases * 100%",
@ -596,7 +641,7 @@ export default {
issue_list: "Issue List",
all_case: "All Case",
},
reporter: 'Reporter',
lastmodify: 'Last Modify',
sync_to_new_version: "Copy to latest version"
reporter: "Reporter",
lastmodify: "Last Modify",
sync_to_new_version: "Copy to latest version",
};

View File

@ -1,12 +1,12 @@
export default {
batch_operate_select_row_count: '你已选中 {0} 条用例',
select_all_row: '你已选中全部用例',
sync_add_api_load: '同步添加关联测试的用例',
next: '下一条',
total_size: '共 {0} 条',
related_requirements: '关联需求',
please_related_requirements: '请选择要关联的需求',
batch_related_requirements: '批量关联需求',
batch_operate_select_row_count: "你已选中 {0} 条用例",
select_all_row: "你已选中全部用例",
sync_add_api_load: "同步添加关联测试的用例",
next: "下一条",
total_size: "共 {0} 条",
related_requirements: "关联需求",
please_related_requirements: "请选择要关联的需求",
batch_related_requirements: "批量关联需求",
please_select_the_test_to_associate: "请选择需要关联的测试",
person_responsible: "责任人",
test_track: "测试跟踪",
@ -32,16 +32,17 @@ export default {
scenario_test_case: "场景测试用例",
ui_scenario_test_case: "UI 测试用例",
report_statistics: "报告统计",
sort: '种类',
sort: "种类",
automatic_status_update: "自动状态更新",
other_test_name: '其他用例名称',
other_test_name: "其他用例名称",
case: {
list: "列表",
minder: "脑图",
step_info: "步骤信息",
other_info: "其他信息",
step_describe: "步骤描述",
step_describe_tip: "适用于需要每一个步骤进行测试的场景,有明确的测试步骤、预期结果",
step_describe_tip:
"适用于需要每一个步骤进行测试的场景,有明确的测试步骤、预期结果",
text_describe: "文本描述",
text_describe_tip: "使用于简单的测试场景,没有明确的测试步骤",
change_type: "更改类型",
@ -52,14 +53,14 @@ export default {
minder_all_module_tip: "全部用例为虚拟模块,请在其他模块创建用例",
minder_issue_delete_tip: "取消缺陷关联成功",
minder_save_confirm_title: '请保存脑图',
minder_save_confirm_tip: '脑图未保存,确认保存脑图吗?',
minder_import_save_confirm_tip: '导入成功后会刷新脑图,确认保存脑图吗?',
minder_save_confirm_title: "请保存脑图",
minder_save_confirm_tip: "脑图未保存,确认保存脑图吗?",
minder_import_save_confirm_tip: "导入成功后会刷新脑图,确认保存脑图吗?",
check_select: "请勾选用例",
export_all_cases: '确定要导出全部用例吗?',
input_test_case: '请输入关联用例名称',
test_name: '测试名称',
export_all_cases: "确定要导出全部用例吗?",
input_test_case: "请输入关联用例名称",
test_name: "测试名称",
other: "--其他--",
test_case: "功能用例",
move: "移动用例",
@ -77,7 +78,7 @@ export default {
case_type: "用例类型",
name: "用例名称",
module: "所属模块",
project: '所属项目',
project: "所属项目",
maintainer: "维护人",
steps: "执行步骤",
number: "编号",
@ -100,7 +101,7 @@ export default {
batch_delete_completely_confirm: "确定彻底删除{0}项用例?",
batch_delete_tip: "删除后将无法恢复, 请谨慎操作。",
public_batch_delete_tip: "移除后将无法恢复, 请谨慎操作。",
public_remove:"移除",
public_remove: "移除",
batch_delete_soft_tip: "删除的内容将进入回收站",
delete: "删除用例",
save_create_continue: "保存并继续创建",
@ -111,43 +112,43 @@ export default {
relate_issue: "关联缺陷",
demand_name_id: "需求ID/名称",
please_select_relate_test: "请选择要关联的测试",
relate_test_not_find: '关联的测试不存在,请检查用例',
other_relate_test_not_find: '关联的测试名,请前往第三方平台执行',
batch_handle: '批量处理 (选中{0}项)',
batch_update: '更新{0}个用例的属性',
select_attr: '选择属性',
batch_update_to: '批量更新为',
select_catalog: '请选择用例目录',
relate_test_not_find: "关联的测试不存在,请检查用例",
other_relate_test_not_find: "关联的测试名,请前往第三方平台执行",
batch_handle: "批量处理 (选中{0}项)",
batch_update: "更新{0}个用例的属性",
select_attr: "选择属性",
batch_update_to: "批量更新为",
select_catalog: "请选择用例目录",
batch_move_to: '将"{0}"等{1}个用例 移动到',
batch_copy_to: '将"{0}"等{1}个用例 复制到',
updated_attr_value: '更新后属性值为',
batch_operate: '批量操作',
please_select_attr: '请选择属性',
please_input_attr_value: '请输入属性对应的值',
please_select_attr_value: '请选择属性对应的值',
please_select_required_value: '此为必选项',
batch_edit_case: '批量编辑',
batch_edit_btn: '编辑',
batch_move_case: '批量移动',
batch_move_btn: '移动到',
batch_delete_case: '彻底刪除',
batch_delete_btn: '删除',
batch_copy: '批量复制',
batch_copy_btn: '复制到',
batch_add_public: '批量添加到公共用例库',
batch_add_public_btn: '添加到公共用例库',
batch_link_demand: '批量关联需求',
batch_link_demand_btn: '关联需求',
public_warning: '未开启公共用例库配置',
generate_dependencies: '生成依赖关系',
generate_dependencies_warning: '为了更好的体验,建议勾选一百条以下的数据',
batch_unlink: '批量取消关联',
unlink: '取消关联',
project_name: '所属项目',
status: '评审结果',
status_prepare: '未开始',
status_running: '进行中',
status_finished: '已完成',
updated_attr_value: "更新后属性值为",
batch_operate: "批量操作",
please_select_attr: "请选择属性",
please_input_attr_value: "请输入属性对应的值",
please_select_attr_value: "请选择属性对应的值",
please_select_required_value: "此为必选项",
batch_edit_case: "批量编辑",
batch_edit_btn: "编辑",
batch_move_case: "批量移动",
batch_move_btn: "移动到",
batch_delete_case: "彻底刪除",
batch_delete_btn: "删除",
batch_copy: "批量复制",
batch_copy_btn: "复制到",
batch_add_public: "批量添加到公共用例库",
batch_add_public_btn: "添加到公共用例库",
batch_link_demand: "批量关联需求",
batch_link_demand_btn: "关联需求",
public_warning: "未开启公共用例库配置",
generate_dependencies: "生成依赖关系",
generate_dependencies_warning: "为了更好的体验,建议勾选一百条以下的数据",
batch_unlink: "批量取消关联",
unlink: "取消关联",
project_name: "所属项目",
status: "评审结果",
status_prepare: "未开始",
status_running: "进行中",
status_finished: "已完成",
cancel_relevance_project: "取消项目关联会同时取消该项目下已关联的测试用例",
img_loading_fail: "图片加载失败",
pdf_loading_fail: "PDF加载失败",
@ -208,10 +209,11 @@ export default {
case_import_result_success_title: "用例导入成功",
case_import_result_error_title: "用例导入失败",
case_import_result_success_content: "成功导入 {0} 条测试用例",
case_import_result_error_content: "成功导入测试用例 0 条, 导入失败 {0} 条",
case_import_result_error_content:
"成功导入测试用例 0 条, 导入失败 {0} 条",
case_import_result_error_please: "可 ",
case_import_result_error_import_again: " , 修改后重新导入",
click_preview_import_error_msg: "点击预览错误信息"
click_preview_import_error_msg: "点击预览错误信息",
},
export: {
export: "导出用例",
@ -226,7 +228,7 @@ export default {
export_to_xmind_tips: "支持xmind文件",
},
case_desc: "用例描述",
passing_rate: '用例通过率',
passing_rate: "用例通过率",
version: "版本",
sync_to_new_version: "复制以下信息到新版本",
exists_multiple_prerequisite_node: "下存在多个前置条件",
@ -234,7 +236,7 @@ export default {
},
plan: {
test_plan: "测试计划",
test_plan_id: '测试计划Id',
test_plan_id: "测试计划Id",
create_plan: "创建测试计划",
edit_plan: "编辑测试计划",
plan_name: "计划名称",
@ -274,10 +276,10 @@ export default {
api_case: "接口测试用例",
scenario_case: "场景测试用例",
execute_result: "执行结果",
execute_time: '执行时间',
execute_time: "执行时间",
is_api_case_executing: "是否执行接口用例",
is_scenario_executing: '是否执行场景',
is_performance_executing: '是否执行性能',
is_scenario_executing: "是否执行场景",
is_performance_executing: "是否执行性能",
test_plan_test_case_count: "功能用例数",
test_plan_test_case_success_count: "功能用例成功数",
test_plan_test_case_failed_count: "功能用例失败数",
@ -302,12 +304,13 @@ export default {
test_plan_component_case_count: "步骤用例数",
data_name: "数据名称",
test_plan_batch_switch: "批量开/关定时任务",
batch_update_schedule_enable: '更新{0}个测试计划的定时任务状态为',
batch_update_schedule_enable_alert: '注意:只能更新已设置了定时任务的测试计划',
next_run_time: '下次运行时间',
schedule_enabled: '已开启',
check_schedule_enabled: '您勾选的数据检测到有{0}条定时任务可以修改',
no_check_schedule_enabled: '您勾选的数据没有检测到定时任务',
batch_update_schedule_enable: "更新{0}个测试计划的定时任务状态为",
batch_update_schedule_enable_alert:
"注意:只能更新已设置了定时任务的测试计划",
next_run_time: "下次运行时间",
schedule_enabled: "已开启",
check_schedule_enabled: "您勾选的数据检测到有{0}条定时任务可以修改",
no_check_schedule_enabled: "您勾选的数据没有检测到定时任务",
load_case: {
case: "性能用例",
execution_status: "执行状态",
@ -319,18 +322,18 @@ export default {
error: "用例执行错误,请单独调试该用例!",
report_not_found: "报告不存在",
content_empty: "内容为空",
}
},
},
demand: {
id: '需求ID',
name: '需求名称',
batch_relate: '批量关联需求',
relate_is_null_warn: '关联需求不能为空!',
relate_name_is_null_warn: '需求名称不能为空!',
id: "需求ID",
name: "需求名称",
batch_relate: "批量关联需求",
relate_is_null_warn: "关联需求不能为空!",
relate_name_is_null_warn: "需求名称不能为空!",
third_platform_demand: "三方平台需求",
other_demand: "其他需求"
other_demand: "其他需求",
},
step_model: '步骤模型',
step_model: "步骤模型",
review: {
test_review: "用例评审",
create_review: "创建用例评审",
@ -351,7 +354,7 @@ export default {
no_link_case: "没有关联用例!",
pass: "通过",
un_pass: "不通过",
prepare: '未评审',
prepare: "未评审",
underway: "评审中",
again: "重新提审",
comment: "评论",
@ -382,7 +385,7 @@ export default {
execute_result: "评审结果",
},
module: {
id: '模块ID',
id: "模块ID",
search: "搜索模块",
search_by_name: "通过模块名称搜索",
rename: "重命名",
@ -392,7 +395,7 @@ export default {
delete_confirm: "确认删除模块: ",
delete_batch_confirm: "确认批量删除勾选的场景步骤?",
delete_all_resource: "以及模块下所有子模块和测试用例",
delete_tip: '删除后, 此节点下的所有资源都会被删除, 请谨慎操作!',
delete_tip: "删除后, 此节点下的所有资源都会被删除, 请谨慎操作!",
module: "模块",
title: "标题",
status: "状态",
@ -424,7 +427,7 @@ export default {
case_size: "用例数",
bug_size: "缺陷数",
passing_rate: "通过率",
percentage: "占比"
percentage: "占比",
},
plan_view: {
plan: "计划",
@ -468,10 +471,11 @@ export default {
create_report: "创建测试报告",
view_report: "查看测试报告",
component_library: "组件库",
component_library_tip: "拖拽组件库中组件,添加至右侧,预览报告效果,每个系统组件只能添加一个。",
component_library_tip:
"拖拽组件库中组件,添加至右侧,预览报告效果,每个系统组件只能添加一个。",
delete_component_tip: "请至少保留一个组件",
input_template_name: "输入模版名称",
template_special_characters: '模版名称不支持特殊字符',
template_special_characters: "模版名称不支持特殊字符",
case_count: "用例数",
issues_count: "缺陷数",
result_statistics: "测试结果统计",
@ -484,13 +488,15 @@ export default {
share_report: "分享报告",
no_case_relevance: "没有关联用例",
automatically_update_status: "自动更新状态",
automatically_update_status_tip: "当功能用例关联的接口或性能用例在测试计划执行后,自动更新功能用例的状态",
automatically_update_status_tip:
"当功能用例关联的接口或性能用例在测试计划执行后,自动更新功能用例的状态",
allow_associated_repetitive_cases: "允许关联重复用例",
allow_associated_repetitive_cases_tip: "是否允许同一个测试计划中多次关联相同用例",
allow_associated_repetitive_cases_tip:
"是否允许同一个测试计划中多次关联相同用例",
performance_case_count: "性能测试用例数",
running: "运行中",
please_choose_test_case: "请选择测试用例!",
execute_tip: "步骤执行结果中含有 失败 结果,无法标记该用例为 通过 状态!"
execute_tip: "步骤执行结果中含有 失败 结果,无法标记该用例为 通过 状态!",
},
issue: {
issue: "缺陷",
@ -502,7 +508,8 @@ export default {
add_issue: "添加缺陷",
issue_list: "缺陷列表",
search_name: "根据标题搜索",
platform_tip: "在系统设置-工作空间-服务集成中集成缺陷管理平台可以提交缺陷到指定缺陷管理平台",
platform_tip:
"在系统设置-工作空间-服务集成中集成缺陷管理平台可以提交缺陷到指定缺陷管理平台",
input_title: "请输入标题",
id: "缺陷ID",
title: "缺陷标题",
@ -518,15 +525,15 @@ export default {
close_success: "关闭成功",
delete_warning: "解除会影响测试计划相关统计,是否确认",
preview: "预览",
status_new: '新建',
status_resolved: '已解决',
status_closed: '已关闭',
status_active: '激活',
status_delete: '删除',
status_in_progress: '接受/处理',
status_rejected: '已拒绝',
status_upcoming: '待办',
status_reopened: '重新打开',
status_new: "新建",
status_resolved: "已解决",
status_closed: "已关闭",
status_active: "激活",
status_delete: "删除",
status_in_progress: "接受/处理",
status_rejected: "已拒绝",
status_upcoming: "待办",
status_reopened: "重新打开",
please_choose_current_owner: "请选择处理人",
tapd_current_owner: "Tapd 处理人",
zentao_bug_build: "禅道 影响版本",
@ -558,7 +565,8 @@ export default {
check_select: "请勾选缺陷",
export: "导出缺陷",
batch_delete_issue: "批量删除",
import_type_tips: "覆盖模式:<br>1.缺陷ID已存在,则覆盖系统原缺陷;<br>2.缺陷ID不存在或为空缺失,则新增缺陷;<br>不覆盖模式:<br>1.缺陷ID已存在,则不作变更;<br>2.缺陷ID不存在或为空缺失,则新增缺陷;"
import_type_tips:
"覆盖模式:<br>1.缺陷ID已存在,则覆盖系统原缺陷;<br>2.缺陷ID不存在或为空缺失,则新增缺陷;<br>不覆盖模式:<br>1.缺陷ID已存在,则不作变更;<br>2.缺陷ID不存在或为空缺失,则新增缺陷;",
},
report: {
name: "测试计划报告",
@ -581,6 +589,7 @@ export default {
testing_time: "测试时间",
total_number_tests: "测试总数",
exacutive_rate: "执行率",
executive_finish_rate: "执行完成率",
exacutive_rate_tip: "执行过的用例/所有用例 * 100%",
passing_rate: "通过率",
passing_rate_tip: "执行通过用例/所有用例 * 100%",
@ -599,6 +608,6 @@ export default {
issue_list: "缺陷列表",
all_case: "所有用例",
},
reporter: '报告人',
lastmodify: '最后更改'
reporter: "报告人",
lastmodify: "最后更改",
};

View File

@ -1,12 +1,12 @@
export default {
batch_operate_select_row_count: '你已選中 {0} 條用例',
select_all_row: '你已選中全部用例',
sync_add_api_load: '同步添加關聯測試的用例',
next: '下一條',
total_size: '共 {0} 條',
related_requirements: '關聯需求',
please_related_requirements: '請選擇要關聯的需求',
batch_related_requirements: '批量關聯需求',
batch_operate_select_row_count: "你已選中 {0} 條用例",
select_all_row: "你已選中全部用例",
sync_add_api_load: "同步添加關聯測試的用例",
next: "下一條",
total_size: "共 {0} 條",
related_requirements: "關聯需求",
please_related_requirements: "請選擇要關聯的需求",
batch_related_requirements: "批量關聯需求",
please_select_the_test_to_associate: "請選擇需要關聯的測試",
person_responsible: "責任人",
test_track: "測試跟蹤",
@ -32,16 +32,17 @@ export default {
scenario_test_case: "場景測試用例",
ui_scenario_test_case: "UI 測試用例",
report_statistics: "報告統計",
sort: '種類',
sort: "種類",
automatic_status_update: "自動狀態更新",
other_test_name: '其他用例名稱',
other_test_name: "其他用例名稱",
case: {
list: "列錶",
minder: "腦圖",
step_info: "步驟信息",
other_info: "其他信息",
step_describe: "步驟描述",
step_describe_tip: "適用於需要每一個步驟進行測試的場景,有明確的測試步驟、預期結果",
step_describe_tip:
"適用於需要每一個步驟進行測試的場景,有明確的測試步驟、預期結果",
text_describe: "文本描述",
text_describe_tip: "使用於簡單的測試場景,沒有明確的測試步驟",
change_type: "更改類型",
@ -52,14 +53,14 @@ export default {
minder_all_module_tip: "全部用例為虛擬模塊,請在其他模塊創建用例",
minder_issue_delete_tip: "取消缺陷關聯成功",
minder_save_confirm_title: '請保存腦圖',
minder_save_confirm_tip: '腦圖未保存,確認保存腦圖嗎?',
minder_import_save_confirm_tip: '導入成功後會刷新腦圖,確認保存腦圖嗎?',
minder_save_confirm_title: "請保存腦圖",
minder_save_confirm_tip: "腦圖未保存,確認保存腦圖嗎?",
minder_import_save_confirm_tip: "導入成功後會刷新腦圖,確認保存腦圖嗎?",
check_select: "請勾選用例",
export_all_cases: '確定要導出全部用例嗎?',
input_test_case: '請輸入關聯用例名稱',
test_name: '測試名稱',
export_all_cases: "確定要導出全部用例嗎?",
input_test_case: "請輸入關聯用例名稱",
test_name: "測試名稱",
other: "--其他--",
test_case: "功能用例",
move: "移動用例",
@ -77,7 +78,7 @@ export default {
case_type: "用例類型",
name: "用例名稱",
module: "所屬模塊",
project: '所屬項目',
project: "所屬項目",
maintainer: "維護人",
steps: "執行步驟",
number: "編號",
@ -101,7 +102,7 @@ export default {
batch_delete_completely_confirm: "確定徹底刪除{0}項用例",
batch_delete_tip: "刪除後將無法恢復, 請謹慎操作。",
public_batch_delete_tip: "移除後將無法恢復, 請謹慎操作。",
public_remove:"移除",
public_remove: "移除",
batch_delete_soft_tip: "刪除的內容將進入回收站",
save_create_continue: "保存併繼續創建",
save_add_public: "保存併添加到公共用例庫",
@ -111,43 +112,43 @@ export default {
relate_issue: "關聯缺陷",
demand_name_id: "需求ID/名稱",
please_select_relate_test: "請選擇要關聯的測試",
relate_test_not_find: '關聯的測試不存在,請檢查用例',
other_relate_test_not_find: '關聯的測試名,請前往第三方平臺執行',
batch_handle: '批量處理 (選中{0}項)',
batch_update: '更新{0}個用例的屬性',
select_attr: '選擇屬性',
batch_update_to: '批量更新爲',
select_catalog: '請選擇用例目錄',
relate_test_not_find: "關聯的測試不存在,請檢查用例",
other_relate_test_not_find: "關聯的測試名,請前往第三方平臺執行",
batch_handle: "批量處理 (選中{0}項)",
batch_update: "更新{0}個用例的屬性",
select_attr: "選擇屬性",
batch_update_to: "批量更新爲",
select_catalog: "請選擇用例目錄",
batch_move_to: '將"{0}"等{1}個用例 移動到',
batch_copy_to: '將"{0}"等{1}個用例 複製到',
updated_attr_value: '更新後屬性值為',
batch_operate: '批量操作',
please_select_attr: '請選擇屬性',
please_input_attr_value: '請輸入屬性對應的值',
please_select_attr_value: '請選擇屬性對應的值',
please_select_required_value: '此爲必選項',
batch_edit_case: '批量編輯',
batch_edit_btn: '編輯',
batch_move_case: '批量移動',
batch_move_btn: '移動到',
batch_delete_case: '徹底刪除',
batch_delete_btn: '刪除',
batch_copy: '批量復制',
batch_copy_btn: '復制到',
batch_add_public: '批量添加到公共用例庫',
batch_add_public_btn: '添加到公共用例庫',
batch_link_demand: '批量關聯需求',
batch_link_demand_btn: '關聯需求',
public_warning: '未開啟公共用例庫配置',
generate_dependencies: '生成依賴關繫',
generate_dependencies_warning: '為了更好的體驗,建議勾選一百條以下的數據',
batch_unlink: '批量取消關聯',
unlink: '取消關聯',
project_name: '所屬項目',
status: '評審結果',
status_prepare: '未開始',
status_running: '進行中',
status_finished: '已完成',
updated_attr_value: "更新後屬性值為",
batch_operate: "批量操作",
please_select_attr: "請選擇屬性",
please_input_attr_value: "請輸入屬性對應的值",
please_select_attr_value: "請選擇屬性對應的值",
please_select_required_value: "此爲必選項",
batch_edit_case: "批量編輯",
batch_edit_btn: "編輯",
batch_move_case: "批量移動",
batch_move_btn: "移動到",
batch_delete_case: "徹底刪除",
batch_delete_btn: "刪除",
batch_copy: "批量復制",
batch_copy_btn: "復制到",
batch_add_public: "批量添加到公共用例庫",
batch_add_public_btn: "添加到公共用例庫",
batch_link_demand: "批量關聯需求",
batch_link_demand_btn: "關聯需求",
public_warning: "未開啟公共用例庫配置",
generate_dependencies: "生成依賴關繫",
generate_dependencies_warning: "為了更好的體驗,建議勾選一百條以下的數據",
batch_unlink: "批量取消關聯",
unlink: "取消關聯",
project_name: "所屬項目",
status: "評審結果",
status_prepare: "未開始",
status_running: "進行中",
status_finished: "已完成",
cancel_relevance_project: "取消項目關聯會同時取消該項目下已關聯的測試用例",
img_loading_fail: "圖片加載失敗",
pdf_loading_fail: "PDF加載失敗",
@ -207,10 +208,11 @@ export default {
case_import_result_success_title: "用例導入成功",
case_import_result_error_title: "用例導入失敗",
case_import_result_success_content: "成功導入 {0} 條測試用例",
case_import_result_error_content: "成功導入測試用例 0 條, 導入失敗 {0} 條",
case_import_result_error_content:
"成功導入測試用例 0 條, 導入失敗 {0} 條",
case_import_result_error_please: "可 ",
case_import_result_error_import_again: " , 修改後重新導入",
click_preview_import_error_msg: "點擊預覽錯誤信息"
click_preview_import_error_msg: "點擊預覽錯誤信息",
},
export: {
export: "導出用例",
@ -225,7 +227,7 @@ export default {
export_to_xmind_tips: "支持xmind文件",
},
case_desc: "用例描述",
passing_rate: '用例通過率',
passing_rate: "用例通過率",
version: "版本",
sync_to_new_version: "復制以下信息到新版本",
exists_multiple_prerequisite_node: "下存在多個前置條件",
@ -233,7 +235,7 @@ export default {
},
plan: {
test_plan: "測試計劃",
test_plan_id: '測試計劃Id',
test_plan_id: "測試計劃Id",
create_plan: "創建測試計劃",
edit_plan: "編輯測試計劃",
plan_name: "計劃名稱",
@ -273,10 +275,10 @@ export default {
api_case: "接口測試用例",
scenario_case: "場景測試用例",
execute_result: "執行結果",
execute_time: '執行時間',
execute_time: "執行時間",
is_api_case_executing: "是否執行接口用例",
is_scenario_executing: '是否執行場景',
is_performance_executing: '是否執行性能',
is_scenario_executing: "是否執行場景",
is_performance_executing: "是否執行性能",
test_plan_test_case_count: "功能用例數",
test_plan_test_case_success_count: "功能用例成功數",
test_plan_test_case_failed_count: "功能用例失敗數",
@ -301,12 +303,13 @@ export default {
test_plan_component_case_count: "步驟用例數",
data_name: "數據名稱",
test_plan_batch_switch: "批量開/關定時任務",
batch_update_schedule_enable: '更新{0}個測試計劃的定時任務狀態為',
batch_update_schedule_enable_alert: '註意:只能更新已設置了定時任務的測試計劃',
next_run_time: '下次運行時間',
schedule_enabled: '已開啟',
check_schedule_enabled: '您勾選的數據檢測到有{0}條定時任務可以修改',
no_check_schedule_enabled: '您勾選的數據沒有檢測到定時任務',
batch_update_schedule_enable: "更新{0}個測試計劃的定時任務狀態為",
batch_update_schedule_enable_alert:
"註意:只能更新已設置了定時任務的測試計劃",
next_run_time: "下次運行時間",
schedule_enabled: "已開啟",
check_schedule_enabled: "您勾選的數據檢測到有{0}條定時任務可以修改",
no_check_schedule_enabled: "您勾選的數據沒有檢測到定時任務",
load_case: {
case: "性能用例",
execution_status: "執行狀態",
@ -318,18 +321,18 @@ export default {
error: "用例執行錯誤,請單獨調試該用例!",
report_not_found: "報告不存在",
content_empty: "內容為空",
}
},
},
demand: {
id: '需求ID',
name: '需求名稱',
batch_relate: '批量關聯需求',
relate_is_null_warn: '關聯需求不能為空!',
relate_name_is_null_warn: '需求名稱不能為空!',
id: "需求ID",
name: "需求名稱",
batch_relate: "批量關聯需求",
relate_is_null_warn: "關聯需求不能為空!",
relate_name_is_null_warn: "需求名稱不能為空!",
third_platform_demand: "三方平臺需求",
other_demand: "其他需求"
other_demand: "其他需求",
},
step_model: '步驟模型',
step_model: "步驟模型",
review: {
test_review: "用例評審",
create_review: "創建用例評審",
@ -350,7 +353,7 @@ export default {
no_link_case: "沒有關聯用例!",
pass: "通過",
un_pass: "不通過",
prepare: '未評審',
prepare: "未評審",
underway: "評審中",
again: "重新提審",
comment: "評論",
@ -381,7 +384,7 @@ export default {
execute_result: "評審結果",
},
module: {
id: '模塊ID',
id: "模塊ID",
search: "搜索模塊",
search_by_name: "通過模塊名稱搜索",
rename: "重命名",
@ -391,7 +394,7 @@ export default {
delete_confirm: "確認刪除模塊: ",
delete_batch_confirm: "確認批量刪除勾選的場景步驟?",
delete_all_resource: "以及模塊下所有子模塊和測試用例",
delete_tip: '刪除後, 此節點下的所有資源都會被刪除, 請謹慎操作!',
delete_tip: "刪除後, 此節點下的所有資源都會被刪除, 請謹慎操作!",
module: "模塊",
title: "標題",
status: "狀態",
@ -423,7 +426,7 @@ export default {
case_size: "用例數",
bug_size: "缺陷數",
passing_rate: "通過率",
percentage: "佔比"
percentage: "佔比",
},
plan_view: {
plan: "計劃",
@ -467,10 +470,11 @@ export default {
create_report: "創建測試報告",
view_report: "查看測試報告",
component_library: "組件庫",
component_library_tip: "拖拽組件庫中組件,添加至右側,預覽報告效果,每個繫統組件只能添加一個。",
component_library_tip:
"拖拽組件庫中組件,添加至右側,預覽報告效果,每個繫統組件只能添加一個。",
delete_component_tip: "請至少保留一個組件",
input_template_name: "輸入模版名稱",
template_special_characters: '模版名稱不支持特殊字符',
template_special_characters: "模版名稱不支持特殊字符",
case_count: "用例數",
issues_count: "缺陷數",
result_statistics: "測試結果統計",
@ -483,13 +487,15 @@ export default {
share_report: "分享報告",
no_case_relevance: "沒有關聯用例",
automatically_update_status: "自動更新狀態",
automatically_update_status_tip: "當功能用例關聯的接口或性能用例在測試計劃執行後,自動更新功能用例的狀態",
automatically_update_status_tip:
"當功能用例關聯的接口或性能用例在測試計劃執行後,自動更新功能用例的狀態",
allow_associated_repetitive_cases: "允許關聯重復用例",
allow_associated_repetitive_cases_tip: "是否允許同一個測試計劃中多次關聯相同用例",
allow_associated_repetitive_cases_tip:
"是否允許同一個測試計劃中多次關聯相同用例",
performance_case_count: "性能測試用例數",
running: "運行中",
please_choose_test_case: "請選擇測試用例!",
execute_tip: "步驟執行結果中含有 失敗 結果,無法標記該用例為 通過 狀態!"
execute_tip: "步驟執行結果中含有 失敗 結果,無法標記該用例為 通過 狀態!",
},
issue: {
issue: "缺陷",
@ -501,7 +507,8 @@ export default {
add_issue: "添加缺陷",
issue_list: "缺陷列錶",
search_name: "根據標題搜索",
platform_tip: "在繫統設置-工作空間-服務集成中集成缺陷管理平臺可以提交缺陷到指定缺陷管理平臺",
platform_tip:
"在繫統設置-工作空間-服務集成中集成缺陷管理平臺可以提交缺陷到指定缺陷管理平臺",
input_title: "請輸入標題",
id: "缺陷ID",
title: "缺陷標題",
@ -517,15 +524,15 @@ export default {
close_success: "關閉成功",
delete_warning: "解除會影響測試計劃相關統計,是否確認",
preview: "預覽",
status_new: '新建',
status_resolved: '已解決',
status_closed: '已關閉',
status_active: '激活',
status_delete: '刪除',
status_in_progress: '接受/處理',
status_rejected: '已拒絕',
status_upcoming: '待辦',
status_reopened: '重新打開',
status_new: "新建",
status_resolved: "已解決",
status_closed: "已關閉",
status_active: "激活",
status_delete: "刪除",
status_in_progress: "接受/處理",
status_rejected: "已拒絕",
status_upcoming: "待辦",
status_reopened: "重新打開",
please_choose_current_owner: "請選擇處理人",
tapd_current_owner: "Tapd 處理人",
zentao_bug_build: "禪道 影響版本",
@ -557,7 +564,8 @@ export default {
check_select: "請勾選缺陷",
export: "導出缺陷",
batch_delete_issue: "批量刪除",
import_type_tips: "覆蓋模式:<br>1.缺陷ID已存在,則覆蓋系統原缺陷;<br>2.缺陷ID不存在或爲空缺失,則新增缺陷;<br>不覆蓋模式:<br>1.缺陷ID已存在,則不作變更;<br>2.缺陷ID不存在或爲空缺失,則新增缺陷;"
import_type_tips:
"覆蓋模式:<br>1.缺陷ID已存在,則覆蓋系統原缺陷;<br>2.缺陷ID不存在或爲空缺失,則新增缺陷;<br>不覆蓋模式:<br>1.缺陷ID已存在,則不作變更;<br>2.缺陷ID不存在或爲空缺失,則新增缺陷;",
},
report: {
name: "測試計劃報告",
@ -580,6 +588,7 @@ export default {
testing_time: "測試時間",
total_number_tests: "測試總數",
exacutive_rate: "執行率",
executive_finish_rate: "執行完成率",
exacutive_rate_tip: "執行過的用例/所有用例 * 100%",
passing_rate: "通過率",
passing_rate_tip: "執行通過用例/所有用例 * 100%",
@ -598,6 +607,6 @@ export default {
issue_list: "缺陷列錶",
all_case: "所有用例",
},
reporter: '報告人',
lastmodify: '最後更改'
reporter: "報告人",
lastmodify: "最後更改",
};

View File

@ -73,7 +73,8 @@ public class TestPlanStatusCalculator {
String status = item.getStatus();
if (StringUtils.isNotBlank(status)
&& !StringUtils.equalsAnyIgnoreCase(status, TestPlanTestCaseStatus.Underway.name(), TestPlanTestCaseStatus.Prepare.name(),
ExecuteResult.UN_EXECUTE.getValue(), ExecuteResult.STOP.getValue(), ApiReportStatus.PENDING.name(), ApiReportStatus.STOPPED.name())) {
ExecuteResult.UN_EXECUTE.getValue(), ExecuteResult.STOP.getValue(), ApiReportStatus.PENDING.name(), ApiReportStatus.STOPPED.name(),
ApiReportStatus.RUNNING.name(), ApiReportStatus.RERUNNING.name())) {
// 计算执行过的数量
report.setExecuteCount(report.getExecuteCount() + 1);
if (StringUtils.equalsIgnoreCase(successStatus, status)) {

View File

@ -1,5 +1,8 @@
<template>
<test-plan-report-container id="overview" :title="$t('test_track.report.overview')">
<test-plan-report-container
id="overview"
:title="$t('test_track.report.overview')"
>
<el-form class="form-info" v-loading="loading">
<el-form-item :label="$t('test_track.report.testing_time') + ':'">
{{ showTime }}
@ -16,25 +19,39 @@
{{ resourcePool }}
</el-form-item>
</el-col>
<el-col :span="8">
</el-col>
<el-col :span="8"> </el-col>
</el-row>
<el-row class="select-time"
v-if="report.envGroupName || report.projectEnvMap" style="display:inline-block">
<el-row
class="select-time"
v-if="report.envGroupName || report.projectEnvMap"
style="display: inline-block"
>
<div>
<div style="float: left">
{{ $t('commons.environment') + ':' }}
{{ $t("commons.environment") + ":" }}
</div>
<div style="float: right">
<div v-if="report.envGroupName" style="margin-left: 42px">
<ms-tag type="danger" :content="$t('workspace.env_group.name')"></ms-tag>
<ms-tag
type="danger"
:content="$t('workspace.env_group.name')"
></ms-tag>
{{ report.envGroupName }}
</div>
<div v-else-if="report.projectEnvMap" style="margin-left: 42px">
<div v-for="(values,key) in report.projectEnvMap" :key="key" style="margin-right: 10px">
<div
v-for="(values, key) in report.projectEnvMap"
:key="key"
style="margin-right: 10px"
>
{{ key + ":" }}
<ms-tag v-for="(item,index) in values" :key="index" type="success" :content="item"
style="margin-left: 2px"/>
<ms-tag
v-for="(item, index) in values"
:key="index"
type="success"
:content="item"
style="margin-left: 2px"
/>
</div>
</div>
</div>
@ -42,20 +59,33 @@
</el-row>
<el-row type="flex" justify="space-between" class="select-time">
<el-col :span="8">
<el-form-item :label="$t('test_track.report.total_number_tests') + ':'">
<el-form-item
:label="$t('test_track.report.total_number_tests') + ':'"
>
{{ report.caseCount }}
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :label="$t('test_track.report.exacutive_rate') + ':'">
{{ (report.executeRate ? (report.executeRate * 100).toFixed(1) : 0) + '%' }}
<ms-instructions-icon :content="$t('test_track.report.exacutive_rate_tip')"/>
<el-form-item
:label="$t('test_track.report.executive_finish_rate') + ':'"
>
{{
(report.executeRate ? (report.executeRate * 100).toFixed(1) : 0) +
"%"
}}
<ms-instructions-icon
:content="$t('test_track.report.exacutive_rate_tip')"
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :label="$t('test_track.report.passing_rate') + ':'">
{{ (report.passRate ? (report.passRate * 100).toFixed(1) : 0) + '%' }}
<ms-instructions-icon :content="$t('test_track.report.passing_rate_tip')"/>
{{
(report.passRate ? (report.passRate * 100).toFixed(1) : 0) + "%"
}}
<ms-instructions-icon
:content="$t('test_track.report.passing_rate_tip')"
/>
</el-form-item>
</el-col>
</el-row>
@ -68,37 +98,42 @@ import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider";
import TestPlanReportContainer from "@/business/plan/view/comonents/report/detail/TestPlanReportContainer";
import MsInstructionsIcon from "metersphere-frontend/src/components/MsInstructionsIcon";
import MsTag from "metersphere-frontend/src/components/MsTag";
import {datetimeFormat} from "fit2cloud-ui/src/filters/time";
import {getTestPlanExtReport} from "@/api/remote/plan/test-plan"
import { datetimeFormat } from "fit2cloud-ui/src/filters/time";
import { getTestPlanExtReport } from "@/api/remote/plan/test-plan";
export default {
name: "TestPlanOverviewReport",
components: {MsInstructionsIcon, TestPlanReportContainer, MsFormDivider, MsTag},
components: {
MsInstructionsIcon,
TestPlanReportContainer,
MsFormDivider,
MsTag,
},
props: {
report: Object,
runMode: String,
resourcePool: String
resourcePool: String,
},
data() {
return {
loading: false,
isEdit: false
}
isEdit: false,
};
},
computed: {
showTime() {
let startTime = '';
let endTime = '';
let startTime = "";
let endTime = "";
if (this.report.startTime) {
startTime = datetimeFormat(this.report.startTime, false);
}
if (this.report.endTime) {
endTime = datetimeFormat(this.report.endTime, false);
}
return startTime + ' ~ ' + endTime;
}
return startTime + " ~ " + endTime;
},
}
},
};
</script>
<style scoped>