Merge branch 'autotest_ly' into 'master'

add case and bug module

See merge request easycorp/zentaopms!2954
This commit is contained in:
朱金勇
2022-04-15 01:27:03 +00:00
6 changed files with 321 additions and 1 deletions
+79
View File
@@ -0,0 +1,79 @@
title: table zt_module
desc: "模块"
author: automated export
version: "1.0"
fields:
- field: id
note: "ID"
range: 4221-4320
prefix: ""
postfix: ""
loop: 0
format: ""
- field: root
note: "根目录"
range: 1-100
prefix: ""
postfix: ""
loop: 0
format: ""
- field: branch
note: "分支"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: name
note: "模块名称"
range: 1-10000
prefix: "bug模块"
postfix: ""
loop: 0
format: ""
- field: parent
note: "父ID"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: path
note: "ID路径"
fields:
- field: path1
range: 4221-4320
prefix: ","
postfix: ","
- field: path2
range: []
postfix: ""
format: ""
- field: grade
note: "等级"
range: 1
prefix: ""
postfix: ""
loop: 0
format: ""
- field: order
note: "排序"
range: 10-100:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: type
note: "对象类型"
range: bug
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: "是否删除"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
+79
View File
@@ -0,0 +1,79 @@
title: table zt_module
desc: "模块"
author: automated export
version: "1.0"
fields:
- field: id
note: "ID"
range: 4321-4520
prefix: ""
postfix: ""
loop: 0
format: ""
- field: root
note: "根目录"
range: 1-100{2}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: branch
note: "分支"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: name
note: "模块名称"
range: 1-10000
prefix: "bug子模块"
postfix: ""
loop: 0
format: ""
- field: parent
note: "父ID"
range: 4221-4320{2}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: path
note: "ID路径"
fields:
- field: path1
range: 4221-4320{2}
prefix: ","
postfix: ","
- field: path2
range: 4321-4520
postfix: ","
format: ""
- field: grade
note: "等级"
range: 2
prefix: ""
postfix: ""
loop: 0
format: ""
- field: order
note: "排序"
range: 10-100:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: type
note: "对象类型"
range: bug
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: "是否删除"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
+79
View File
@@ -0,0 +1,79 @@
title: table zt_module
desc: "模块"
author: automated export
version: "1.0"
fields:
- field: id
note: "ID"
range: 3921-4020
prefix: ""
postfix: ""
loop: 0
format: ""
- field: root
note: "根目录"
range: 1-100
prefix: ""
postfix: ""
loop: 0
format: ""
- field: branch
note: "分支"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: name
note: "模块名称"
range: 1-10000
prefix: "用例模块"
postfix: ""
loop: 0
format: ""
- field: parent
note: "父ID"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: path
note: "ID路径"
fields:
- field: path1
range: 3921-4020
prefix: ","
postfix: ","
- field: path2
range: []
postfix: ""
format: ""
- field: grade
note: "等级"
range: 1
prefix: ""
postfix: ""
loop: 0
format: ""
- field: order
note: "排序"
range: 10-100:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: type
note: "对象类型"
range: case
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: "是否删除"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
+79
View File
@@ -0,0 +1,79 @@
title: table zt_module
desc: "模块"
author: automated export
version: "1.0"
fields:
- field: id
note: "ID"
range: 4021-4220
prefix: ""
postfix: ""
loop: 0
format: ""
- field: root
note: "根目录"
range: 1-100{2}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: branch
note: "分支"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: name
note: "模块名称"
range: 1-10000
prefix: "用例子模块"
postfix: ""
loop: 0
format: ""
- field: parent
note: "父ID"
range: 3921-4020{2}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: path
note: "ID路径"
fields:
- field: path1
range: 3921-4020{2}
prefix: ","
postfix: ","
- field: path2
range: 4021-4220
postfix: ","
format: ""
- field: grade
note: "等级"
range: 2
prefix: ""
postfix: ""
loop: 0
format: ""
- field: order
note: "排序"
range: 10-100:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: type
note: "对象类型"
range: case
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: "是否删除"
range: 0
prefix: ""
postfix: ""
loop: 0
format: ""
+1 -1
View File
@@ -47,7 +47,7 @@ fields:
postfix: ","
- field: path2
range: 3721-3920
postfix: ""
postfix: ","
format: ""
- field: grade
note: "等级"
+4
View File
@@ -39,8 +39,12 @@ $builder->case = array('rows' => 400, 'extends' => array('case'));
$builder->libcase = array('rows' => 10, 'extends' => array('case','libcase'));
$builder->unitcase = array('rows' => 150, 'extends' => array('case','unitcase'));
$builder->casestep = array('rows' => 400, 'extends' => array('casestep'));
$builder->casemodule = array('rows' => 100, 'extends' => array('module', 'casemodule'));
$builder->casemoduleson = array('rows' => 200, 'extends' => array('module', 'casemoduleson'));
$builder->bug = array('rows' => 300, 'extends' => array('bug'));
$builder->morebug = array('rows' => 15, 'extends' => array('bug','morebug'));
$builder->bugmodule = array('rows' => 100, 'extends' => array('module','bugmodule'));
$builder->bugmoduleson = array('rows' => 200, 'extends' => array('module','bugmoduleson'));
$builder->testtask = array('rows' => 100, 'extends' => array('testtask'));
$builder->testresult = array('rows' => 70, 'extends' => array('testresult'));