Merge branch ztflow-liumengyi-release/21.7.2#liumengyi of zentao/zentaopms (#9162)
This commit is contained in:
@@ -7,7 +7,6 @@ include dirname(__FILE__, 2) . '/lib/testcase.unittest.class.php';
|
||||
|
||||
title=测试 testcaseModel->appendSteps();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
- 测试添加原有步骤数量 0 @3
|
||||
|
||||
|
||||
@@ -16,7 +16,18 @@ su('admin');
|
||||
|
||||
title=测试 testcaseModel->buildSearchForm();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
- 测试构建产品 0 project 0 module 0 branch all 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene
|
||||
|
||||
- 测试构建产品 1 project 0 module 0 branch all 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene
|
||||
|
||||
- 测试构建产品 1 project 1 module 0 branch all 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene
|
||||
|
||||
- 测试构建产品 1 project 1 module 1 branch all 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene
|
||||
|
||||
- 测试构建产品 41 project 0 module 0 branch 0 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene,branch
|
||||
|
||||
- 测试构建产品 41 project 0 module 0 branch 0 的搜索表单 @title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene,branch
|
||||
|
||||
*/
|
||||
|
||||
@@ -32,4 +43,4 @@ r($testcase->buildSearchFormTest($productID[1], $projectID[0], $moduleID[0], $br
|
||||
r($testcase->buildSearchFormTest($productID[1], $projectID[1], $moduleID[0], $branch[0])) && p() && e('title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene'); // 测试构建产品 1 project 1 module 0 branch all 的搜索表单
|
||||
r($testcase->buildSearchFormTest($productID[1], $projectID[1], $moduleID[1], $branch[0])) && p() && e('title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene'); // 测试构建产品 1 project 1 module 1 branch all 的搜索表单
|
||||
r($testcase->buildSearchFormTest($productID[2], $projectID[0], $moduleID[0], $branch[0])) && p() && e('title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene,branch'); // 测试构建产品 41 project 0 module 0 branch 0 的搜索表单
|
||||
r($testcase->buildSearchFormTest($productID[2], $projectID[0], $moduleID[0], $branch[1])) && p() && e('title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene,branch'); // 测试构建产品 41 project 0 module 0 branch 0 的搜索表单
|
||||
r($testcase->buildSearchFormTest($productID[2], $projectID[0], $moduleID[0], $branch[1])) && p() && e('title,story,id,keywords,lastEditedBy,type,auto,openedBy,status,product,stage,module,pri,lib,lastRunner,lastRunResult,lastRunDate,openedDate,lastEditedDate,scene,branch'); // 测试构建产品 41 project 0 module 0 branch 0 的搜索表单
|
||||
|
||||
@@ -9,7 +9,19 @@ zenData('module')->loadYaml('module_caselib')->gen('60');
|
||||
|
||||
title=测试 testcaseModel->checkModuleImported();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
- 测试用例库 1 中 module 1 是否已经导入 @0
|
||||
- 测试用例库 1 中 module 2 是否已经导入 @12
|
||||
- 测试用例库 1 中 module 3 是否已经导入 @13
|
||||
- 测试用例库 1 中 module 6 是否已经导入 @0
|
||||
- 测试用例库 2 中 module 22 是否已经导入 @32
|
||||
- 测试用例库 2 中 module 23 是否已经导入 @33
|
||||
- 测试用例库 2 中 module 24 是否已经导入 @0
|
||||
- 测试用例库 2 中 module 26 是否已经导入 @0
|
||||
- 测试用例库 3 中 module 43 是否已经导入 @53
|
||||
- 测试用例库 3 中 module 44 是否已经导入 @0
|
||||
- 测试用例库 3 中 module 45 是否已经导入 @0
|
||||
- 测试用例库 3 中 module 46 是否已经导入 @0
|
||||
|
||||
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,25 @@ su('user1');
|
||||
|
||||
title=测试 testcaseModel->forceNotReview();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
- 测试检查needReview true forceReviewList false forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview true forceReviewList false forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview true forceReviewList false forceNotReviewList '' 时是否强制审核 @2
|
||||
- 测试检查needReview true forceReviewList user1,user2 forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview true forceReviewList user1,user2 forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview true forceReviewList user1,user2 forceNotReviewList '' 时是否强制审核 @2
|
||||
- 测试检查needReview true forceReviewList '' forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview true forceReviewList '' forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview true forceReviewList '' forceNotReviewList '' 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList false forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList false forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview false forceReviewList false forceNotReviewList '' 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList user1,user2 forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList user1,user2 forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview false forceReviewList user1,user2 forceNotReviewList '' 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList '' forceNotReviewList false 时是否强制审核 @2
|
||||
- 测试检查needReview false forceReviewList '' forceNotReviewList user1,user2 时是否强制审核 @1
|
||||
- 测试检查needReview false forceReviewList '' forceNotReviewList '' 时是否强制审核 @2
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -12,7 +12,20 @@ su('admin');
|
||||
|
||||
title=测试 testcaseModel->getAllChildId();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
- 测试获取场景 1 所有的子场景 id @1,2
|
||||
|
||||
- 测试获取场景 11 所有的子场景 id @11,12,13,14,15
|
||||
|
||||
- 测试获取场景 12 所有的子场景 id @12,13,14
|
||||
|
||||
- 测试获取场景 13 所有的子场景 id @13,14
|
||||
|
||||
- 测试获取场景 18 所有的子场景 id @18,19,20
|
||||
|
||||
- 测试获取场景 19 所有的子场景 id @19,20
|
||||
|
||||
- 测试获取场景 20 所有的子场景 id @20
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -15,6 +15,32 @@ title=测试 testcaseModel->getByOpenedBy();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 下的用例 @20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 分支 all 下的用例 @20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 auto auto 下的用例 @0
|
||||
- 测试搜索 qa 下 项目 0 产品 0 orderBy id_asc 下的用例 @1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 分支 all auto auto 下的用例 @0
|
||||
- 测试搜索 qa 下 项目 0 产品 0 分支 all orderBy id_asc 下的用例 @1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 auto auto orderBy id_asc 下的用例 @0
|
||||
- 测试搜索 qa 下 项目 0 产品 0 分支 all auto auto orderBy id_asc 下的用例 @0
|
||||
- 测试搜索 qa 下 项目 101 产品 0 下的用例 @20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 0 下的用例 @20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
|
||||
|
||||
- 测试搜索 qa 下 项目 0 产品 1 下的用例 @4,3,2,1
|
||||
|
||||
- 测试搜索 qa 下 项目 101 产品 1 下的用例 @4,3,2,1
|
||||
|
||||
- 测试搜索 project 下 项目 0 产品 0 下的用例 @0
|
||||
- 测试搜索 project 下 项目 101 产品 0 下的用例 @4,3,2,1
|
||||
|
||||
- 测试搜索 project 下 项目 0 产品 1 下的用例 @0
|
||||
- 测试搜索 project 下 项目 101 产品 1 下的用例 @4,3,2,1
|
||||
|
||||
*/
|
||||
|
||||
$tabList = array('qa', 'project');
|
||||
|
||||
Reference in New Issue
Block a user