card testing method and system based on engineering management test script

文档序号:1576540 发布日期:2020-01-31 浏览:11次 中文

阅读说明:本技术 一种基于工程管理测试脚本的卡片测试方法及系统 (card testing method and system based on engineering management test script ) 是由 郝永丽 于 2019-09-25 设计创作,主要内容包括:本发明公开一种基于工程管理测试脚本的卡片测试方法,其包括:建立测试工程;所述测试工程以根节点方式展现;建立测试策略;在所述测试工程下定义一个或多个测试策略,所述测试策略以子节点方式展现;添加测试脚本;在所述测试策略下添加某一类或多类的测试脚本,所述测试脚本以叶子节点方式展现;运行测试脚本;批量执行所述测试脚本,生成统一的测试报告和/或日志。本发明提供的基于工程管理测试脚本的卡片测试方法,建立测试工程-测试策略-测试脚本的分层分组的架构,以工程管理的方式管理大量测试脚本,测试脚本可以批量运行、批量维护,并生成统一的测试报告和日志,既减少测试人员的工作量,也便于无人值守测试卡片,有效提高工作效率。(The invention discloses a card test method based on engineering management test scripts, which comprises the steps of establishing a test project, showing the test project in a root node mode, establishing a test strategy, defining or more test strategies under the test project, showing the test strategies in a child node mode, adding a test script, adding or more types of test scripts under the test strategy, showing the test scripts in a leaf node mode, operating the test script, executing the test script in batches and generating a test report and/or a log of a system .)

1, card test method based on project management test script, characterized in that, it includes the following steps:

step S1, establishing a test project;

the test engineering is displayed in a root node mode;

step S2, establishing a test strategy;

defining one or more test strategies under the test engineering, wherein the test strategies are shown in a child node mode;

step S3, adding a test script;

adding or more types of test scripts under the test strategy, wherein the test scripts are displayed in a leaf node mode;

step S4, running a test script;

the test scripts are executed in batches to generate test reports and/or logs for system .

2. The card testing method based on project management test script of claim 1, wherein the test project is stored in a file.

3. The card testing method based on project management test script of claim 1, wherein the step S2 is used to establish a test strategy, and when the test strategy is established, at least any of corresponding data catalog, code catalog, log catalog and report catalog are generated, wherein,

the data directory is used for storing the data source called in the current test strategy;

the code directory is used for storing all test scripts in the current test strategy;

the log catalog is used for storing all executed logs in the current test strategy;

the report directory is used for storing the test report after the current test strategy is executed.

4. The card testing method based on project management test scripts of claim 1, wherein the step S4 runs the test scripts to execute all or part of the test scripts under all the test strategies in the test project in batches, and generates the test report and/or log of the system .

5. The card testing method based on project management test scripts of claim 1, wherein the step S4 runs the test scripts to execute all or part of test scripts of test strategies in the test project in batch, and generates a test report and/or log of the system .

6, kind of card test system based on engineering management test script, its characterized in that, it includes:

the engineering resource manager (11) is used for managing the test engineering, wherein the management of the test engineering comprises the steps of new construction, opening, closing, running and checking of the test engineering and the addition, deletion and modification of a test strategy;

the policy resource manager (12) is used for managing the test policies, and the management of the test policies comprises the running and the configuration of the test policies and the addition, the deletion and the change of test scripts;

the script executor (13) is used for executing scripts, calling algorithms and calling interfaces;

and the interface module (14) is used for providing an interface for the script executor to call.

7. The card testing system based on engineering management test scripts according to claim 6, characterized in that the interface module (14) provides interfaces comprising at least interfaces among card reader interface, command sending interface, algorithm interface, communication interface, mp300 interface.

8. The card testing system based on engineering management test scripts according to claim 6, characterized in that the card testing system (1) further comprises a policy log browser (15), the policy log browser (15) is used to view the log of policies and results.

9. The card test system based on engineering management test scripts according to claim 6, characterized in that the card test system (1) further comprises a script detail log module (16), the script detail log module (16) being used to view logs of individual test scripts.

10. The card test system based on engineering management test scripts according to claim 6, characterized in that the card test system (1) further comprises a script editor (17) and a script debugger (18), wherein the script editor (17) is used for providing script editing, and the script debugger (18) is used for script syntax checking and script parsing.

11. The card test system based on engineering management test scripts according to claim 6, characterized in that the card test system (1) further comprises a run output module (19), the run output module (19) being used to view debugging and execution output information.

12, computer readable storage media having stored thereon computer program instructions that, when executed by or more processors, perform the operations of the project management test script based card testing method of any of claims 1 to 5 of any .

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:触头寿命试验装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类