Commit Graph
537 Commits
Author SHA1 Message Date
liugang 702b690407 * testtaskModel: remove the debug code. 2023-10-16 17:27:47 +08:00
liugang b5ece1db65 * testtaskModel: return false if the run object query from database doesn't exist. 2023-10-16 14:44:30 +08:00
liugang c41776e761 * testtaskModel: fix error table in sql. 2023-10-13 16:57:58 +08:00
liugang e129a1cdf9 * testtaskModel: refactor the linkCase method. 2023-10-13 15:48:51 +08:00
liugang f0dbbeac78 * testtaskModel: refactor the getLinkableCases method. 2023-10-13 09:27:49 +08:00
liugang 62738f7a4c * testtaskModel: refactor the getLinkableCasesBySuite method. 2023-10-12 16:45:57 +08:00
liugang cc0cc80948 * testtaskModel: refactor the getLinkableCasesByStory method. 2023-10-12 15:56:10 +08:00
liugang 72f3e7fd2d * testtaskModel: adjust the order of parameters to be consistent. 2023-10-12 15:26:27 +08:00
liugang 692f4bfc28 * testtask: remove the $taskID parameter of the getLinkableCases method. 2023-10-12 15:21:22 +08:00
liugang dd722a6e7b * testtaskModel: refactor the getLinkableCasesByBug method. 2023-10-12 13:45:14 +08:00
liugang 2014575a92 * testtask: refactor the getLinkableCasesByTestTask method. 2023-10-12 10:21:51 +08:00
liugang 8011ee4b0c * testtaskModel: enclose the value in the dao query condition in single quotes. 2023-10-11 08:48:15 +08:00
liugang 2ff82aa533 + testtaskModel: return empty array if the $idList parameter is empty. 2023-10-10 14:02:08 +08:00
liugang 1ab4c6fe32 * testtask: declare access of the create method. 2023-10-10 10:48:50 +08:00
liugang 392d5316f4 * testtaskModel: refactor the getAllLinkableCases method. 2023-10-10 10:39:10 +08:00
liugang b3c00d9cf0 * testtaskModel: fix error of using object as string. 2023-10-09 14:57:14 +08:00
liugang f35a288741 + testtaskModel: convert the execution results of the test case steps to array type for consistency with historical data. 2023-10-09 14:33:45 +08:00
liugang c5f59a3b9f * testtaskModel: save the log after saving the test case execution results in the loop. 2023-10-09 08:27:22 +08:00
liugang be513118e1 * testtaskModel: adjust method comment and declare the parameter types and return type. 2023-10-08 10:04:27 +08:00
liugang 0ed49db98f - testtaskModel: remove unused code. 2023-10-08 09:48:10 +08:00
liugang 1990fd8771 * testtaskModel: optimize sql. 2023-10-08 09:32:02 +08:00
liugang 9fa6ffceba * testtaskModel: fix error of using an integer as an object. 2023-10-08 08:57:01 +08:00
liugang 39bde584a9 * testtask: refactor the linkCase method. 2023-10-08 08:38:57 +08:00
liugang d4bebf1fe9 * testtask: refactor the batchRun method. 2023-10-07 16:26:09 +08:00
liugang 9b2db6b1d5 * testtaskModel: change the $moduleID parameter from integer type to array type. 2023-10-07 16:25:30 +08:00
liugang 19bf5b9ca3 - testtaskModel: remove unused code. 2023-10-07 13:46:15 +08:00
liugang 2c2eb1be5a * testtask: rename the method to init a record for filling back the test result after the automated test is completed. 2023-09-28 10:05:51 +08:00
liugang b9db661214 * testtaskModel: modify method comment. 2023-09-28 10:05:24 +08:00
liugang 4c56d78ed5 * testtaskModel: refactor the getUserTestTaskPairs method. 2023-09-28 09:57:51 +08:00
liugang 9d647187be * testtaskModel: refactor the getTaskCases method. 2023-09-28 09:52:13 +08:00
liugang ac0abeffb2 * testtaskModel: abstract the function of adding prefixes to sorting fields into a method. 2023-09-28 09:37:54 +08:00
liugang f85150e5a4 * testtaskModel: refactor the getUserRuns method. 2023-09-28 09:27:04 +08:00
liugang 98b7138f52 * testtaskModel: refactor the getRunsBySuite method. 2023-09-28 09:26:17 +08:00
liugang 7c2f60c8c7 * testtaskModel: remove the unnecessary 3rd parameter when calling the zget function. 2023-09-28 09:25:06 +08:00
liugang 34b6dcebab * testtaskModel: refactor the linkCase method. 2023-09-28 09:23:50 +08:00
liugang e3c9549f3c * testtaskModel: call zget function to simplify code. 2023-09-28 09:22:38 +08:00
liugang 098d025c56 * testtaskModel: enclose the value in the dao query condition in single quotes. 2023-09-28 09:21:11 +08:00
liugang 8df7d0c9b5 * testtaskModel: change keywords in sql to uppercase. 2023-09-28 09:16:17 +08:00
liugang 7646fdc770 * testtaskModel: replace double quotes with single quotes. 2023-09-28 09:13:45 +08:00
caoyanyi c3d1e9a4bd * Adjust params. 2023-09-27 14:16:06 +08:00
caoyanyi fc1ab2b8a5 + Add method for testtask getByBuild. 2023-09-27 14:11:49 +08:00
liugang ee57147d09 - testtask: remove unused mergeChartOption method. 2023-09-26 09:48:14 +08:00
liugang 8e571c3032 * testtaskModel: call methods to initialize suite, case and result. 2023-09-25 17:30:43 +08:00
liugang 3412dbca93 + testtaskModel: process the execution result of the test case according to the imported xml file content. 2023-09-25 17:30:07 +08:00
liugang 93b91252d2 + testtaskModel: add methods to initialize objects used to import data from unit test file and ztf. 2023-09-25 17:28:21 +08:00
liugang 456cd01ef7 * testtask: rename the initResult method to createResultForAutomatedTest. 2023-09-25 17:13:24 +08:00
liugang faaddebd0e - testtaskModel: remove unused printCell method. 2023-09-25 17:11:00 +08:00
liugang 1048fe1252 * testtaskModel: change method order. 2023-09-25 16:03:34 +08:00
liugang e4d305e71f * testtaskModel: refactor methods. 2023-09-25 16:00:48 +08:00
liugang 4da4073e77 * testtaskModel: modify comment. 2023-09-25 15:59:04 +08:00