Commit Graph
874 Commits
Author SHA1 Message Date
liumengyi f5b6ee448f * Remove testcaseModel::importFromLib and its unit test. 2023-09-05 14:36:41 +08:00
liumengyi faf1210a53 * Add testcaseTao::doCreate, testcaseTao::importSteps, testcaseTao::importFiles, add its unit test. 2023-09-05 14:31:15 +08:00
liugang e47afd34a8 * testcase: fix error of calling property of a undefined variable. 2023-09-05 13:08:46 +08:00
liugang 8307d2014e * testcase: refactor the function of edit a scene. 2023-09-05 11:28:40 +08:00
liugang a0b66eeea4 * testcaseModel: refactor methods to get cases to display in the browse page. 2023-09-05 09:02:51 +08:00
liugang 9e64ee3482 + testcaseModel: add method to get the scenes and the cases they contain. 2023-09-05 08:56:22 +08:00
liugang a179fb3f2c - testcaseModel: remove unused methods. 2023-09-04 15:37:46 +08:00
daitingting b1e47243e3 * Move these function to tao. 2023-09-04 06:52:03 +00:00
liugang 35cbe5ffd2 + testcase: if the parent scene doesn't exist set the parent field to 0. 2023-09-04 13:08:14 +08:00
liumengyi c05535976e - Remove testcaseModel::createFromImport and its unit test. 2023-09-04 11:19:03 +08:00
liugang 54d7beec38 + testcaseModel: update a scene's sort property after create it. 2023-09-01 18:32:27 +08:00
liugang cdd26818b0 * testcaseModel: refactor the createScene method for unit test. 2023-09-01 18:13:52 +08:00
daitingting 3b2115ae80 * Refactor the getStatus function. 2023-09-01 09:39:53 +00:00
daitingting acddaed1d0 * Remove useless function.
* Rename forceNotReview to needReview.
2023-09-01 03:25:55 +00:00
daitingting fb131b63cc * Adjust codes. 2023-08-30 08:48:51 +00:00
daitingting 177bd9411c * Split functions. 2023-08-30 06:50:01 +00:00
liumengyi c4bcc66d05 * Fix error of undefined variable. 2023-08-29 17:02:31 +08:00
daitingting f51da6cd09 * 测试获取相关 bug。 2023-08-29 07:59:38 +00:00
liumengyi bb35cce178 * Add default value for testcaseModel::update. 2023-08-29 14:58:02 +08:00
liumengyi 187c2f6b4a * Remove testcaseModel::batchUpdate and remove its unit test. 2023-08-29 14:57:35 +08:00
liumengyi 966d1a9340 * Optimize code for bug::batchEdit. 2023-08-29 14:52:54 +08:00
liumengyi e40275a908 * Refactor testcase::batchEdit. 2023-08-29 14:37:23 +08:00
liumengyi bccd1c7ce2 * Optimize code. 2023-08-29 14:23:34 +08:00
daitingting dfb455b405 * Refactor getCases2Link and getBugs2Link function. 2023-08-29 06:19:35 +00:00
liumengyi 74a87cf764 * Fix bug of bugModel::update. 2023-08-29 13:32:17 +08:00
daitingting 5b4b0100ce * Refactor the review funciton. 2023-08-29 02:07:50 +00:00
liugang 2ddcad386d * testcase: refactor the createScene method. 2023-08-28 15:30:26 +08:00
liugang f0e66e833f * testcase: refactor the createScene method. 2023-08-28 15:05:21 +08:00
liugang 18d3f1520b + testcaseModel: add a method to get a scene by id. 2023-08-28 15:01:39 +08:00
liumengyi e71f29be32 - Remove testcaseModel::batchCreate and its unit test. 2023-08-28 09:58:58 +08:00
liugang 2f8d41d200 * testcase: rename the $sceneId parameter to $sceneID. 2023-08-28 09:18:47 +08:00
liugang 476d62d427 + testcaseModel: check if the sceneID parameter if out of range. 2023-08-28 09:06:42 +08:00
daitingting b436a17e37 * Add caseID param. 2023-08-28 00:53:55 +00:00
liugang 3586e2ada7 * testcaseModel: add method to batch confirm story change of cases. 2023-08-25 16:57:19 +08:00
liugang b332efe177 * Rename the testcase::batchCaseTypeChange method to testcase:batchChangeType method. 2023-08-25 15:36:16 +08:00
daitingting 3585685246 * Adjust codes. 2023-08-25 07:18:27 +00:00
liumengyi 53db67bb31 * Refactor testcaseModel::appendData, and modify its unit test. 2023-08-25 14:27:52 +08:00
liumengyi 7080084e2c * Refactor testcaseModel::getModuleCases, and modify its unit test. 2023-08-25 13:29:24 +08:00
daitingting 751e4f9ffb * Split update function. 2023-08-25 03:35:53 +00:00
liugang 343a158bb9 * testcaseModel: fix error of calling undefined variable. 2023-08-25 09:54:40 +08:00
liugang a5066dcbde * testcaseModel: return false if the $type paramter is empty. 2023-08-25 09:54:16 +08:00
liumengyi 06e938a353 * Refactor testcase::getByID, add method of testcaseTao::getSteps, and modify its unit test. 2023-08-25 09:21:59 +08:00
daitingting 9620c06696 * Split prepareEditExtras funciton. 2023-08-24 09:18:30 +00:00
liugang 9d9e187fe2 * testcaseModel: refactor the batchChangeScene method. 2023-08-24 16:50:07 +08:00
liugang 54673a5105 * testcaseModel: refactor the batchCaseTypeChange method and rename it to batchChangeType. 2023-08-24 16:48:42 +08:00
liugang 9e604f5800 * testcaseModel: refactor the batchChangeModule method. 2023-08-24 16:46:54 +08:00
liugang a0383a91f5 * testcaseModel: if the query string returns empty terminate the function. 2023-08-24 16:39:46 +08:00
liugang a48f4f6f95 * testcaseModel: refactor the batchChangeBranch method. 2023-08-24 16:38:52 +08:00
liumengyi c392edd902 * Optimize code. 2023-08-24 15:36:41 +08:00
liumengyi a1a8d65933 * Refactor testcaseModel::create, and add methods of bugModel::appendSteps and bugTao::insertSteps, and add its unit test. 2023-08-24 14:53:49 +08:00