update execution
This commit is contained in:
@@ -10,12 +10,12 @@ title=测试executionModel->addProjectMembersTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷项目根据执行添加团队信息 >> po82,研发
|
||||
瀑布项目根据执行添加团队信息 >> test22,测试
|
||||
看板项目根据执行添加团队信息 >> test52,测试
|
||||
敏捷项目根据执行添加团队信息统计 >> 2
|
||||
瀑布项目根据执行添加团队信息统计 >> 1
|
||||
看板项目根据执行添加团队信息统计 >> 1
|
||||
|
||||
*/
|
||||
|
||||
@@ -30,4 +30,4 @@ r($execution->addProjectMembersTest($projectIDList[2], $executionIDList[2], $cou
|
||||
r($execution->addProjectMembersTest($projectIDList[0], $executionIDList[0], $count[1])) && p() && e('2'); // 敏捷项目根据执行添加团队信息统计
|
||||
r($execution->addProjectMembersTest($projectIDList[1], $executionIDList[1], $count[1])) && p() && e('1'); // 瀑布项目根据执行添加团队信息统计
|
||||
r($execution->addProjectMembersTest($projectIDList[2], $executionIDList[2], $count[1])) && p() && e('1'); // 看板项目根据执行添加团队信息统计
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
@@ -10,12 +10,10 @@ title=测试executionModel->buildBurnDataTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行燃尽图数据 >> 7/1
|
||||
瀑布执行燃尽图数据 >> [0,0,0,0,0,0,0,0,0,0,0]
|
||||
看板执行燃尽图数据 >> [20,18,16,14,12,10,8,6,4,2,0]
|
||||
结果统计 >> 3
|
||||
|
||||
*/
|
||||
|
||||
@@ -26,4 +24,4 @@ $execution = new executionTest();
|
||||
r($execution->buildBurnDataTest($executionIDList[0], $count[0])) && p('labels:0') && e('7/1'); // 敏捷执行燃尽图数据
|
||||
r($execution->buildBurnDataTest($executionIDList[1], $count[0])) && p('burnLine') && e('[0,0,0,0,0,0,0,0,0,0,0]'); // 瀑布执行燃尽图数据
|
||||
r($execution->buildBurnDataTest($executionIDList[2], $count[0])) && p('baseLine') && e('[20,18,16,14,12,10,8,6,4,2,0]'); // 看板执行燃尽图数据
|
||||
r($execution->buildBurnDataTest($executionIDList[0], $count[1])) && p() && e('3'); // 结果统计
|
||||
r($execution->buildBurnDataTest($executionIDList[0], $count[1])) && p() && e('3'); // 结果统计
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->computeBurnTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
正常初始化 >> project600
|
||||
初始化后数据统计 >> 516
|
||||
|
||||
*/
|
||||
|
||||
@@ -23,4 +19,4 @@ $count = array('0','1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->computeBurnTest($count[0])) && p('700:executionName') && e('project600'); // 正常初始化
|
||||
r($execution->computeBurnTest($count[1])) && p() && e('516'); // 初始化后数据统计
|
||||
r($execution->computeBurnTest($count[1])) && p() && e('516'); // 初始化后数据统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->fixFirstTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
不传入withLeft >> 26
|
||||
敏捷执行更新首日剩余工时 >> 26
|
||||
瀑布执行更新首日剩余工时 >> 17
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +25,4 @@ $waterfallEstimate = array('estimate' => '17', 'withLeft' => '1');
|
||||
$execution = new executionTest();
|
||||
r($execution->fixFirstTest($executionIDList[0], $scrumEstimate)) && p('0:estimate') && e('26'); // 不传入withLeft
|
||||
r($execution->fixFirstTest($executionIDList[0], $withLeft)) && p('0:estimate') && e('26'); // 敏捷执行更新首日剩余工时
|
||||
r($execution->fixFirstTest($executionIDList[1], $waterfallEstimate)) && p('0:left') && e('17'); // 瀑布执行更新首日剩余工时
|
||||
r($execution->fixFirstTest($executionIDList[1], $waterfallEstimate)) && p('0:left') && e('17'); // 瀑布执行更新首日剩余工时
|
||||
@@ -10,14 +10,9 @@ title=测试executionModel->fixOrderTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
重置order >> 15
|
||||
|
||||
*/
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->fixOrderTest()) && p('101:order') && e('15'); // 重置order
|
||||
r($execution->fixOrderTest()) && p('101:order') && e('15'); // 重置order
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->getBurnDataFlotTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行查询统计 >> 2
|
||||
瀑布执行查询统计 >> 2
|
||||
看板执行查询统计 >> 1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -10,12 +10,12 @@ title=测试executionModel->getCanCopyObjectsTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷项目数据查询 >> 迭代1
|
||||
瀑布项目数据查询 >> 阶段35
|
||||
看板项目数据查询 >> 看板61
|
||||
敏捷项目数据统计 >> 8
|
||||
瀑布项目数据统计 >> 9
|
||||
看板项目数据统计 >> 7
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +28,4 @@ r($execution->getCanCopyObjectsTest($projectIDList[1], $count[0])) && p('135') &
|
||||
r($execution->getCanCopyObjectsTest($projectIDList[2], $count[0])) && p('161') && e('看板61'); // 看板项目数据查询
|
||||
r($execution->getCanCopyObjectsTest($projectIDList[0], $count[1])) && p() && e('8'); // 敏捷项目数据统计
|
||||
r($execution->getCanCopyObjectsTest($projectIDList[1], $count[1])) && p() && e('9'); // 瀑布项目数据统计
|
||||
r($execution->getCanCopyObjectsTest($projectIDList[2], $count[1])) && p() && e('7'); // 看板项目数据统计
|
||||
r($execution->getCanCopyObjectsTest($projectIDList[2], $count[1])) && p() && e('7'); // 看板项目数据统计
|
||||
@@ -10,12 +10,11 @@ title=测试executionModel->getDateListTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
去除工作日日期列表 >> 01/03/2022
|
||||
去除工作日日期列表统计 >> 5
|
||||
未去除工作日日期列表 >> 01/01/2022
|
||||
未去除工作日日期列表统计 >> 7
|
||||
日期输入错误查询 >> 无数据
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +28,4 @@ r($execution->getDateListTest($start[0], $end[0], $type[0] ,$count[0])) && p('0:
|
||||
r($execution->getDateListTest($start[0], $end[0], $type[0] ,$count[1])) && p() && e('5'); // 去除工作日日期列表统计
|
||||
r($execution->getDateListTest($start[0], $end[0], $type[1] ,$count[0])) && p('0:0') && e('01/01/2022'); // 未去除工作日日期列表
|
||||
r($execution->getDateListTest($start[0], $end[0], $type[1] ,$count[1])) && p() && e('7'); // 未去除工作日日期列表统计
|
||||
r($execution->getDateListTest($start[1], $end[0], $type[1] ,$count[0])) && p() && e('无数据'); // 日期输入错误查询
|
||||
r($execution->getDateListTest($start[1], $end[0], $type[1] ,$count[0])) && p() && e('无数据'); // 日期输入错误查询
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->getKanbanColorListTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
看板状态颜色查询 >> #7EC5FF
|
||||
看板状态颜色数量统计 >> 6
|
||||
|
||||
*/
|
||||
|
||||
@@ -23,4 +19,4 @@ $count = array('0', '1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->getKanbanColorListTest($count[0])) && p('wait') && e('#7EC5FF'); // 看板状态颜色查询
|
||||
r($execution->getKanbanColorListTest($count[1])) && p() && e('6'); // 看板状态颜色数量统计
|
||||
r($execution->getKanbanColorListTest($count[1])) && p() && e('6'); // 看板状态颜色数量统计
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->getKanbanColumnsTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
看板列查询 >> wait
|
||||
看板列查询统计 >> 6
|
||||
|
||||
*/
|
||||
|
||||
@@ -23,4 +19,4 @@ $count = array('0', '1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->getKanbanColumnsTest($count[0])[0]) && p() && e('wait'); // 看板列查询
|
||||
r($execution->getKanbanColumnsTest($count[1])) && p() && e('6'); // 看板列查询统计
|
||||
r($execution->getKanbanColumnsTest($count[1])) && p() && e('6'); // 看板列查询统计
|
||||
@@ -10,12 +10,12 @@ title=测试executionModel->getKanbanGroupDataTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行查询 >> 子任务6,101
|
||||
瀑布执行查询 >> 更多任务93,131
|
||||
看板执行查询 >> 开发任务71,161
|
||||
敏捷执行查询统计 >> 11
|
||||
瀑布执行查询统计 >> 4
|
||||
看板执行查询统计 >> 4
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +29,4 @@ r($execution->getKanbanGroupDataTest($executionIDList[1], $count[0])) && p('693:
|
||||
r($execution->getKanbanGroupDataTest($executionIDList[2], $count[0])) && p('61:name,execution') && e('开发任务71,161'); // 看板执行查询
|
||||
r($execution->getKanbanGroupDataTest($executionIDList[0], $count[1])) && p() && e('11'); // 敏捷执行查询统计
|
||||
r($execution->getKanbanGroupDataTest($executionIDList[1], $count[1])) && p() && e('4'); // 瀑布执行查询统计
|
||||
r($execution->getKanbanGroupDataTest($executionIDList[2], $count[1])) && p() && e('4'); // 看板执行查询统计
|
||||
r($execution->getKanbanGroupDataTest($executionIDList[2], $count[1])) && p() && e('4'); // 看板执行查询统计
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->getKanbanSettingTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
看板设置查询 >> #7EC5FF
|
||||
看板设置查询统计 >> 6
|
||||
|
||||
*/
|
||||
|
||||
@@ -23,4 +19,4 @@ $count = array('0', '1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->getKanbanSettingTest($count[0])) && p('colorList:wait') && e('#7EC5FF'); // 看板设置查询
|
||||
r($execution->getKanbanSettingTest($count[1])) && p() && e('6'); // 看板设置查询统计
|
||||
r($execution->getKanbanSettingTest($count[1])) && p() && e('6'); // 看板设置查询统计
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->getKanbanStatusListTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
看板状态列表查询 >> 未开始
|
||||
看板状态列表数量统计 >> 7
|
||||
|
||||
*/
|
||||
|
||||
@@ -23,4 +19,4 @@ $count = array('0', '1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->getKanbanStatusListTest($count[0])) && p('wait') && e('未开始');// 看板状态列表查询
|
||||
r($execution->getKanbanStatusListTest($count[1])) && p() && e('7'); // 看板状态列表数量统计
|
||||
r($execution->getKanbanStatusListTest($count[1])) && p() && e('7'); // 看板状态列表数量统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->getKanbanStatusMapTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
看板tesk查询 >> start
|
||||
看板bug查询 >> resolve
|
||||
看板统计 >> 2
|
||||
|
||||
*/
|
||||
|
||||
@@ -24,4 +21,4 @@ $count = array('0', '1');
|
||||
$execution = new executionTest();
|
||||
r($execution->getKanbanStatusMapTest($count[0])["task"]) && p('wait:doing') && e('start'); // 看板tesk查询
|
||||
r($execution->getKanbanStatusMapTest($count[0])["bug"]) && p('wait:done') && e('resolve'); // 看板bug查询
|
||||
r($execution->getKanbanStatusMapTest($count[1])) && p() && e('2'); // 看板统计
|
||||
r($execution->getKanbanStatusMapTest($count[1])) && p() && e('2'); // 看板统计
|
||||
@@ -10,12 +10,12 @@ title=测试executionModel->getKanbanTasksTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行查询 >> 子任务6,101
|
||||
瀑布执行查询 >> 更多任务93,131
|
||||
看板执行查询 >> 开发任务71,161
|
||||
敏捷执行查询统计 >> 11
|
||||
瀑布执行查询统计 >> 4
|
||||
看板执行查询统计 >> 4
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +28,4 @@ r($execution->getKanbanTasksTest($executionIDList[1], $count[0])) && p('693:name
|
||||
r($execution->getKanbanTasksTest($executionIDList[2], $count[0])) && p('61:name,execution') && e('开发任务71,161'); // 看板执行查询
|
||||
r($execution->getKanbanTasksTest($executionIDList[0], $count[1])) && p() && e('11'); // 敏捷执行查询统计
|
||||
r($execution->getKanbanTasksTest($executionIDList[1], $count[1])) && p() && e('4'); // 瀑布执行查询统计
|
||||
r($execution->getKanbanTasksTest($executionIDList[2], $count[1])) && p() && e('4'); // 看板执行查询统计
|
||||
r($execution->getKanbanTasksTest($executionIDList[2], $count[1])) && p() && e('4'); // 看板执行查询统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->getMembers2ImportTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
正常数据查询 >> po82,研发
|
||||
无效数据查询 >> 无数据
|
||||
正常数据查询统计 >> 2
|
||||
|
||||
*/
|
||||
|
||||
@@ -27,4 +24,4 @@ $count = array('0','1');
|
||||
$execution = new executionTest();
|
||||
r($execution->getMembers2ImportTest($executionID, $accountList, $count[0])) && p('po82:account,role') && e('po82,研发'); // 正常数据查询
|
||||
r($execution->getMembers2ImportTest($executionID, $allAccountList, $count[0])) && p() && e('无数据'); // 无效数据查询
|
||||
r($execution->getMembers2ImportTest($executionID, $accountList, $count[1])) && p() && e('2'); // 正常数据查询统计
|
||||
r($execution->getMembers2ImportTest($executionID, $accountList, $count[1])) && p() && e('2'); // 正常数据查询统计
|
||||
@@ -10,12 +10,10 @@ title=测试executionModel->getMembersByIdListTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
批量查询敏捷执行team >> 101,po82,研发主管82
|
||||
批量查询瀑布执行team >> 131,test22,开发22
|
||||
批量查询看板执行team >> 161,test52,开发52
|
||||
批量查询执行team统计 >> 3
|
||||
|
||||
*/
|
||||
|
||||
@@ -26,4 +24,4 @@ $execution = new executionTest();
|
||||
r($execution->getMembersByIdListTest($executionIDList, $count[0])[$executionIDList[0]]) && p('0:root,account,realname') && e('101,po82,研发主管82');// 批量查询敏捷执行team
|
||||
r($execution->getMembersByIdListTest($executionIDList, $count[0])[$executionIDList[1]]) && p('0:root,account,realname') && e('131,test22,开发22'); // 批量查询瀑布执行team
|
||||
r($execution->getMembersByIdListTest($executionIDList, $count[0])[$executionIDList[2]]) && p('0:root,account,realname') && e('161,test52,开发52'); // 批量查询看板执行team
|
||||
r($execution->getMembersByIdListTest($executionIDList, $count[1])) && p() && e('3'); // 批量查询执行team统计
|
||||
r($execution->getMembersByIdListTest($executionIDList, $count[1])) && p() && e('3'); // 批量查询执行team统计
|
||||
@@ -10,10 +10,9 @@ title=测试executionModel->getPlansTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关闭 >> status,wait,getPlansd
|
||||
瀑布执行关闭 >> status,doing,getPlansd
|
||||
看板执行关闭 >> status,doing,getPlansd
|
||||
不输入实际完成时间校验 >> 『realEnd』不能为空。
|
||||
全部执行计划查询 >> 长名称
|
||||
执行计划查询 >> 1.1 [2021-05-23 ~ 2021-09-23]
|
||||
全部执行计划查询 >> 2
|
||||
|
||||
*/
|
||||
|
||||
@@ -24,4 +23,4 @@ $count = array('0','1');
|
||||
$execution = new executionTest();
|
||||
r($execution->getPlansTest($productIDList, $executionIDList[0], $count[0])) && p('1:3') && e('长名称'); // 全部执行计划查询
|
||||
r($execution->getPlansTest($productIDList, $executionIDList[1], $count[0])) && p('1:2') && e('1.1 [2021-05-23 ~ 2021-09-23]'); // 执行计划查询
|
||||
r($execution->getPlansTest($productIDList, $executionIDList[0], $count[1])) && p() && e('2'); // 全部执行计划查询
|
||||
r($execution->getPlansTest($productIDList, $executionIDList[0], $count[1])) && p() && e('2'); // 全部执行计划查询
|
||||
@@ -10,10 +10,12 @@ title=测试executionModel->getStageLinkProductPairsTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关闭 >> status,wait,getStageLinkProductPairsd
|
||||
瀑布执行关闭 >> status,doing,getStageLinkProductPairsd
|
||||
看板执行关闭 >> status,doing,getStageLinkProductPairsd
|
||||
不输入实际完成时间校验 >> 『realEnd』不能为空。
|
||||
敏捷执行产品查询 >> 多平台产品91
|
||||
瀑布执行产品查询 >> 已关闭的正常产品31
|
||||
看板执行产品查询 >> 已关闭的多分支产品61
|
||||
敏捷执行产品统计 >> 3
|
||||
瀑布执行产品统计 >> 3
|
||||
看板执行产品统计 >> 3
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +30,4 @@ r($execution->getStageLinkProductPairsTest($stageIDList, $count[0])) && p('131'
|
||||
r($execution->getStageLinkProductPairsTest($kanbanIDList, $count[0])) && p('161') && e('已关闭的多分支产品61'); // 看板执行产品查询
|
||||
r($execution->getStageLinkProductPairsTest($sprintIDList, $count[1])) && p() && e('3'); // 敏捷执行产品统计
|
||||
r($execution->getStageLinkProductPairsTest($stageIDList, $count[1])) && p() && e('3'); // 瀑布执行产品统计
|
||||
r($execution->getStageLinkProductPairsTest($kanbanIDList, $count[1])) && p() && e('3'); // 看板执行产品统计
|
||||
r($execution->getStageLinkProductPairsTest($kanbanIDList, $count[1])) && p() && e('3'); // 看板执行产品统计
|
||||
@@ -10,12 +10,12 @@ title=测试executionModel->getTeamMembersTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行查看team >> 101,execution,482
|
||||
瀑布执行查看team >> 131,execution,开发22
|
||||
看板执行查看team >> 161,execution,开发52
|
||||
敏捷执行team统计 >> 2
|
||||
瀑布执行team统计 >> 1
|
||||
看板执行team统计 >> 1
|
||||
|
||||
*/
|
||||
|
||||
@@ -28,4 +28,4 @@ r($execution->getTeamMembersTest($executionIDList[1], $count[0])) && p('test22:r
|
||||
r($execution->getTeamMembersTest($executionIDList[2], $count[0])) && p('test52:root,type,realname') && e('161,execution,开发52'); // 看板执行查看team
|
||||
r($execution->getTeamMembersTest($executionIDList[0], $count[1])) && p() && e('2'); // 敏捷执行team统计
|
||||
r($execution->getTeamMembersTest($executionIDList[1], $count[1])) && p() && e('1'); // 瀑布执行team统计
|
||||
r($execution->getTeamMembersTest($executionIDList[2], $count[1])) && p() && e('1'); // 看板执行team统计
|
||||
r($execution->getTeamMembersTest($executionIDList[2], $count[1])) && p() && e('1'); // 看板执行team统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->getTeams2ImportTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
无效数据查询 >> 无数据
|
||||
正常数据查询 >> 迭代91
|
||||
正常数据查询统计 >> 1
|
||||
|
||||
*/
|
||||
|
||||
@@ -26,4 +23,4 @@ $count = array('0','1');
|
||||
$execution = new executionTest();
|
||||
r($execution->getTeams2ImportTest($accountList[0], $executionID, $count[0])) && p() && e('无数据'); // 无效数据查询
|
||||
r($execution->getTeams2ImportTest($accountList[1], $executionID, $count[0])) && p('191') && e('迭代91'); // 正常数据查询
|
||||
r($execution->getTeams2ImportTest($accountList[1], $executionID, $count[1])) && p() && e('1'); // 正常数据查询统计
|
||||
r($execution->getTeams2ImportTest($accountList[1], $executionID, $count[1])) && p() && e('1'); // 正常数据查询统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->getTeamSkipTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
正常跳过 >> 901,admin,研发
|
||||
begin与end一致 >> 无跳转数据
|
||||
end与begin一致 >> 无跳转数据
|
||||
|
||||
*/
|
||||
|
||||
@@ -26,4 +23,4 @@ $end = 'user92';
|
||||
$execution = new executionTest();
|
||||
r($execution->getTeamSkipTest($taskID, $begin, $end)) && p('admin:root,account,role') && e('901,admin,研发'); // 正常跳过
|
||||
r($execution->getTeamSkipTest($taskID, $begin, $begin)) && p() && e('无跳转数据'); // begin与end一致
|
||||
r($execution->getTeamSkipTest($taskID, $end, $end)) && p() && e('无跳转数据'); // end与begin一致
|
||||
r($execution->getTeamSkipTest($taskID, $end, $end)) && p() && e('无跳转数据'); // end与begin一致
|
||||
@@ -10,12 +10,10 @@ title=测试executionModel->getTotalEstimateTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行预计工时统计 >> 48
|
||||
瀑布执行预计工时统计 >> 17
|
||||
看板执行预计工时统计 >> 20
|
||||
无执行预计工时统计 >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -25,4 +23,4 @@ $execution = new executionTest();
|
||||
r($execution->getTotalEstimateTest($executionIDList[0])) && p() && e('48'); // 敏捷执行预计工时统计
|
||||
r($execution->getTotalEstimateTest($executionIDList[1])) && p() && e('17'); // 瀑布执行预计工时统计
|
||||
r($execution->getTotalEstimateTest($executionIDList[2])) && p() && e('20'); // 看板执行预计工时统计
|
||||
r($execution->getTotalEstimateTest('')) && p() && e('0'); // 无执行预计工时统计
|
||||
r($execution->getTotalEstimateTest('')) && p() && e('0'); // 无执行预计工时统计
|
||||
@@ -10,12 +10,30 @@ title=测试executionModel->isClickableTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
wait状态执行start按钮检查 >> 检查通过
|
||||
wait状态执行close按钮检查 >> 检查通过
|
||||
wait状态执行suspend按钮检查 >> 检查通过
|
||||
wait状态执行putoff按钮检查 >> 检查通过
|
||||
wait状态执行activate按钮检查 >> 检查不通过
|
||||
wait状态执行delete按钮检查 >> 检查通过
|
||||
doing状态执行start按钮检查 >> 检查不通过
|
||||
doing状态执行close按钮检查 >> 检查通过
|
||||
doing状态执行suspend按钮检查 >> 检查通过
|
||||
doing状态执行putoff按钮检查 >> 检查通过
|
||||
doing状态执行activate按钮检查 >> 检查不通过
|
||||
doing状态执行delete按钮检查 >> 检查通过
|
||||
suspended状态执行start按钮检查 >> 检查不通过
|
||||
suspended状态执行close按钮检查 >> 检查通过
|
||||
suspended状态执行suspend按钮检查 >> 检查不通过
|
||||
suspended状态执行putoff按钮检查 >> 检查不通过
|
||||
suspended状态执行activate按钮检查 >> 检查通过
|
||||
suspended状态执行delete按钮检查 >> 检查不通过
|
||||
closed状态执行start按钮检查 >> 检查不通过
|
||||
closed状态执行close按钮检查 >> 检查不通过
|
||||
closed状态执行suspend按钮检查 >> 检查不通过
|
||||
closed状态执行putoff按钮检查 >> 检查不通过
|
||||
closed状态执行activate按钮检查 >> 检查通过
|
||||
closed状态执行delete按钮检查 >> 检查不通过
|
||||
|
||||
*/
|
||||
|
||||
@@ -55,4 +73,4 @@ r($execution->isClickableTest($closedExecution, $actionList[1])) && p() && e(
|
||||
r($execution->isClickableTest($closedExecution, $actionList[2])) && p() && e('检查不通过'); // closed状态执行suspend按钮检查
|
||||
r($execution->isClickableTest($closedExecution, $actionList[3])) && p() && e('检查不通过'); // closed状态执行putoff按钮检查
|
||||
r($execution->isClickableTest($closedExecution, $actionList[4])) && p() && e('检查通过'); // closed状态执行activate按钮检查
|
||||
r($execution->isClickableTest($closedExecution, $actionList[5])) && p() && e('检查不通过'); // closed状态执行delete按钮检查
|
||||
r($execution->isClickableTest($closedExecution, $actionList[5])) && p() && e('检查不通过'); // closed状态执行delete按钮检查
|
||||
@@ -34,4 +34,4 @@ r($execution->linkStoryTest($executionIDList[0], $count[1], $story)) && p()
|
||||
r($execution->linkStoryTest($executionIDList[1], $count[1], $story)) && p() && e('3'); // 瀑布执行关联需求统计
|
||||
r($execution->linkStoryTest($executionIDList[2], $count[1], $story)) && p() && e('3'); // 看板执行关联需求统计
|
||||
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
@@ -10,12 +10,8 @@ title=测试executionModel->manageMembersTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
团队管理 >> 101,execution,dev10
|
||||
团队人员管理统计 >> 3
|
||||
|
||||
*/
|
||||
|
||||
@@ -32,4 +28,4 @@ $count = array('0','1');
|
||||
|
||||
$execution = new executionTest();
|
||||
r($execution->manageMembersTest($executionID, $count[0], $manageMembers)) && p('0:root,type,account') && e('101,execution,dev10'); // 团队管理
|
||||
r($execution->manageMembersTest($executionID, $count[1], $manageMembers)) && p() && e('3'); // 团队人员管理统计
|
||||
r($execution->manageMembersTest($executionID, $count[1], $manageMembers)) && p() && e('3'); // 团队人员管理统计
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
#This script is use to rename files
|
||||
for file in * ;
|
||||
do mv $file `echo $file | tr 'A-Z' 'a-z'`;
|
||||
done
|
||||
@@ -10,12 +10,10 @@ title=测试executionModel->processBurnDataTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行查询统计 >> 29
|
||||
瀑布执行查询统计 >> 60
|
||||
看板执行查询统计 >> 60
|
||||
错误时间查询统计 >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +27,4 @@ $execution = new executionTest();
|
||||
r($execution->processBurnDataTest($executionIDList[0], $itemCounts[0], $begin[0], $end[0], $count[1])) && p() && e('29'); // 敏捷执行查询统计
|
||||
r($execution->processBurnDataTest($executionIDList[1], $itemCounts[1], $begin[0], $end[0], $count[1])) && p() && e('60'); // 瀑布执行查询统计
|
||||
r($execution->processBurnDataTest($executionIDList[2], $itemCounts[2], $begin[0], $end[0], $count[1])) && p() && e('60'); // 看板执行查询统计
|
||||
r($execution->processBurnDataTest($executionIDList[2], $itemCounts[2], $begin[1], $end[1], $count[1])) && p() && e('0'); // 错误时间查询统计
|
||||
r($execution->processBurnDataTest($executionIDList[2], $itemCounts[2], $begin[1], $end[1], $count[1])) && p() && e('0'); // 错误时间查询统计
|
||||
@@ -10,10 +10,9 @@ title=测试executionModel->setTreePathTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关闭 >> status,wait,setTreePathd
|
||||
瀑布执行关闭 >> status,doing,setTreePathd
|
||||
看板执行关闭 >> status,doing,setTreePathd
|
||||
不输入实际完成时间校验 >> 『realEnd』不能为空。
|
||||
子阶段设置path >> 41,131,,41,131,701,
|
||||
子阶段设置path >> 11,11,,11,101,
|
||||
子阶段设置path >> 41,41,,41,131,
|
||||
|
||||
*/
|
||||
|
||||
@@ -22,4 +21,4 @@ $executionIDList = array('701', '101', '131');
|
||||
$execution = new executionTest();
|
||||
r($execution->setTreePathTest($executionIDList[0])) && p('701:project,parent,path') && e('41,131,,41,131,701,'); // 子阶段设置path
|
||||
r($execution->setTreePathTest($executionIDList[1])) && p('101:project,parent,path') && e('11,11,,11,101,'); // 子阶段设置path
|
||||
r($execution->setTreePathTest($executionIDList[2])) && p('131:project,parent,path') && e('41,41,,41,131,'); // 子阶段设置path
|
||||
r($execution->setTreePathTest($executionIDList[2])) && p('131:project,parent,path') && e('41,41,,41,131,'); // 子阶段设置path
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->summaryTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行任务统计 >> 本页共 <strong>14</strong> 个任务,未开始 <strong>4</strong>,进行中 <strong>3</strong>,总预计 <strong>3</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>3</strong> 工时。
|
||||
瀑布执行任务统计 >> 本页共 <strong>4</strong> 个任务,未开始 <strong>2</strong>,进行中 <strong>1</strong>,总预计 <strong>17</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>17</strong> 工时。
|
||||
看板执行任务统计 >> 本页共 <strong>4</strong> 个任务,未开始 <strong>2</strong>,进行中 <strong>1</strong>,总预计 <strong>20</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>20</strong> 工时。
|
||||
|
||||
*/
|
||||
|
||||
@@ -24,4 +21,4 @@ $executionIDList = array('101', '131', '161');
|
||||
$execution = new executionTest();
|
||||
r($execution->summaryTest($executionIDList[0])) && p() && e('本页共 <strong>14</strong> 个任务,未开始 <strong>4</strong>,进行中 <strong>3</strong>,总预计 <strong>3</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>3</strong> 工时。'); // 敏捷执行任务统计
|
||||
r($execution->summaryTest($executionIDList[1])) && p() && e('本页共 <strong>4</strong> 个任务,未开始 <strong>2</strong>,进行中 <strong>1</strong>,总预计 <strong>17</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>17</strong> 工时。'); // 瀑布执行任务统计
|
||||
r($execution->summaryTest($executionIDList[2])) && p() && e('本页共 <strong>4</strong> 个任务,未开始 <strong>2</strong>,进行中 <strong>1</strong>,总预计 <strong>20</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>20</strong> 工时。'); // 看板执行任务统计
|
||||
r($execution->summaryTest($executionIDList[2])) && p() && e('本页共 <strong>4</strong> 个任务,未开始 <strong>2</strong>,进行中 <strong>1</strong>,总预计 <strong>20</strong> 工时,已消耗 <strong>15</strong> 工时,剩余 <strong>20</strong> 工时。'); // 看板执行任务统计
|
||||
@@ -10,12 +10,9 @@ title=测试executionModel->unlinkCasesTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行解除关联用例 >> 0
|
||||
瀑布执行解除关联用例 >> 0
|
||||
看板执行解除关联用例 >> 0
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +26,4 @@ r($execution->unlinkCasesTest($executionIDList[0], $products[0], $stories[0])) &
|
||||
r($execution->unlinkCasesTest($executionIDList[1], $products[1], $stories[1])) && p() && e('0'); // 瀑布执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[2], $products[2], $stories[2])) && p() && e('0'); // 看板执行解除关联用例
|
||||
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
@@ -10,12 +10,11 @@ title=测试executionModel->unlinkMemberTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联用例 >> 101,1,1
|
||||
瀑布执行关联用例 >> 131,43,169
|
||||
看板执行关联用例 >> 161,68,269
|
||||
敏捷执行关联用例统计 >> 4
|
||||
瀑布执行关联用例统计 >> 4
|
||||
看板执行关联用例统计 >> 4
|
||||
敏捷执行解除团队成员 >> po82,研发
|
||||
敏捷执行解除团队成员后统计 >> 1
|
||||
瀑布执行解除团队成员 >> 0
|
||||
看板执行解除团队成员 >> test52,测试
|
||||
看板执行解除团队成员后统计 >> 1
|
||||
|
||||
*/
|
||||
|
||||
@@ -29,4 +28,4 @@ r($execution->unlinkMemberTest($executionIDList[0], $accountList[0], $count[1]))
|
||||
r($execution->unlinkMemberTest($executionIDList[1], $accountList[1], $count[0])) && p() && e('0'); // 瀑布执行解除团队成员
|
||||
r($execution->unlinkMemberTest($executionIDList[2], $accountList[2], $count[0])) && p('0:account,role') && e('test52,测试'); // 看板执行解除团队成员
|
||||
r($execution->unlinkMemberTest($executionIDList[2], $accountList[2], $count[1])) && p() && e('1'); // 看板执行解除团队成员后统计
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
@@ -10,12 +10,12 @@ title=测试executionModel->unlinkStoryTest();
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
敏捷执行关联需求 >> 101,1,4
|
||||
瀑布执行关联需求 >> 131,1,4
|
||||
看板执行关联需求 >> 161,1,4
|
||||
敏捷执行关联需求统计 >> 3
|
||||
瀑布执行关联需求统计 >> 3
|
||||
看板执行关联需求统计 >> 3
|
||||
敏捷执行解除关联需求 >> 101,81,324
|
||||
瀑布执行解除关联需求 >> 131,1,4
|
||||
看板执行解除关联需求 >> 161,1,4
|
||||
敏捷执行关联需求统计 >> 2
|
||||
瀑布执行关联需求统计 >> 2
|
||||
看板执行关联需求统计 >> 2
|
||||
|
||||
*/
|
||||
|
||||
@@ -34,4 +34,4 @@ r($execution->unlinkStoryTest($executionIDList[0], $count[1], $stories[0], $stor
|
||||
r($execution->unlinkStoryTest($executionIDList[1], $count[1], $stories[1], $story)) && p() && e('2'); // 瀑布执行关联需求统计
|
||||
r($execution->unlinkStoryTest($executionIDList[2], $count[1], $stories[2], $story)) && p() && e('2'); // 看板执行关联需求统计
|
||||
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
@@ -16,7 +16,7 @@ pid=1
|
||||
测试修改迭代项目为看板项目 >> project,41,71
|
||||
测试修改迭代code >> code,project31,code修改
|
||||
测试修改迭代工作日 >> days,0,5
|
||||
测试修改迭代类型 >> Lifetime,,long
|
||||
测试修改迭代类型 >> lifetime,,long
|
||||
测试修改迭代状态为wait >> status,wait,doing
|
||||
测试修改迭代状态为closed >> status,doing,closed
|
||||
测试修改名称为空 >> 『阶段名称』不能为空。
|
||||
@@ -56,4 +56,4 @@ r($execution->updateObject($executionIDList[1], $noName)) && p('name:0')
|
||||
r($execution->updateObject($executionIDList[1], $noCode)) && p('code:0') && e('『迭代代号』不能为空。'); // 测试修改code为空
|
||||
r($execution->updateObject($executionIDList[1], $noChange)) && p() && e('没有数据更新'); // 测试无修改
|
||||
|
||||
system("./ztest init");
|
||||
system("./ztest init");
|
||||
Reference in New Issue
Block a user