[go: up one dir, main page]

CN107193740A - The software test case test system and method for a kind of Reuse-Oriented - Google Patents

The software test case test system and method for a kind of Reuse-Oriented Download PDF

Info

Publication number
CN107193740A
CN107193740A CN201710369035.6A CN201710369035A CN107193740A CN 107193740 A CN107193740 A CN 107193740A CN 201710369035 A CN201710369035 A CN 201710369035A CN 107193740 A CN107193740 A CN 107193740A
Authority
CN
China
Prior art keywords
test
case
reuse
data
elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710369035.6A
Other languages
Chinese (zh)
Inventor
张震
赵霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710369035.6A priority Critical patent/CN107193740A/en
Publication of CN107193740A publication Critical patent/CN107193740A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种面向复用的软件测试用例系统,包括复用测试用例库,包括测试场景、测试用例、测试步骤和测试数据四种粒度组织;和,测试元素,引用、组合、继承复用测试用例库,进行被测试;比对模块,用于对测试元素进行需求比对,判断测试元素对复用测试用例库采用何种方式进行复用。本发明还公开了一种面向复用的软件测试用例方法。本发明设置复用测试用例库抽象并提取不同粒度的可复用测试资产,使用例分层次复用,极大地实现了软件高质量的测试。

The invention discloses a reuse-oriented software test case system, which includes a reuse test case library, including four granular organizations of test scenarios, test cases, test steps, and test data; and, test elements, reference, combination, and inheritance The test case library is used to test; the comparison module is used to compare the requirements of the test elements and determine how the test elements are reused for the reuse test case library. The invention also discloses a reuse-oriented software test case method. The invention sets the reuse test case library to abstract and extract the reusable test assets of different granularity, and the use cases are layered and reused, which greatly realizes the high-quality test of the software.

Description

一种面向复用的软件测试用例测试系统及方法A reuse-oriented software test case test system and method

技术领域technical field

本发明涉及软件测试技术领域,具体地说是一种面向复用的软件测试用例测试系统及方法。The invention relates to the technical field of software testing, in particular to a reuse-oriented software testing case testing system and method.

背景技术Background technique

随着计算机应用的日益普及和深化,软件产品的数量以惊人的速度急剧膨胀,软件在现代社会中的作用是必不可少的,软件不可以出错。而在软件生存周期中软件测试占有重要的地位,并且直接影响着软件的质量。With the increasing popularity and deepening of computer applications, the number of software products has expanded rapidly at an alarming rate. The role of software in modern society is indispensable, and software cannot be wrong. In the software life cycle, software testing plays an important role and directly affects the quality of software.

然而,确保高质量的软件通常非常昂贵,因为测试是实现质量的主要手段,而实现质量保证工作会消耗50%~60%的软件开发工作量,并且会阻碍整个项目的进程。正因如此,不充分的质量保证,尤其是测试的不足,造成了软件质量的参差不齐。However, ensuring high-quality software is usually very expensive, because testing is the main means of achieving quality, and achieving quality assurance consumes 50% to 60% of the software development effort and hinders the progress of the entire project. Because of this, inadequate quality assurance, especially insufficient testing, results in uneven software quality.

面对日益复杂的软件系统,复用被认为是提高软件开发效率和质量、实现软件产品工业化生产方式的重要途径,复用技术在软件需求工程和设计工程中的应用,已经取得了显著的成果。In the face of increasingly complex software systems, reuse is considered to be an important way to improve the efficiency and quality of software development and realize the industrial production of software products. The application of reuse technology in software requirements engineering and design engineering has achieved remarkable results .

测试复用就是将复用的思想用于软件测试中,充分用过去软件测试中积累的成果、知识和经验,去开发新的测试。Test reuse is to use the idea of reuse in software testing, and make full use of the results, knowledge and experience accumulated in past software testing to develop new tests.

发明内容Contents of the invention

本发明的目的在于一种面向复用的软件测试用例测试系统,用于解决现有的软件测试不能充分保证测试质量的问题,提高测试工作效率,降低测试成本。The purpose of the present invention is a software test case test system oriented to reuse, which is used to solve the problem that the existing software test cannot fully guarantee the test quality, improve test work efficiency and reduce test cost.

本发明解决其技术问题所采取的技术方案是:一种面向复用的软件测试用例测试系统,其特征是,包括The technical scheme adopted by the present invention to solve the technical problems is: a software test case test system oriented to reuse, which is characterized in that it includes

复用测试用例库,包括测试场景、测试用例、测试步骤和测试数据四种粒度组织;和,Reusable test case library, including four granular organizations of test scenarios, test cases, test steps and test data; and,

测试元素,引用、组合、继承复用测试用例库,进行被测试;Test elements, reference, combination, inheritance reuse test case library, to be tested;

比对模块,用于对测试元素进行需求比对,判断测试元素对复用测试用例库采用何种方式进行复用。The comparison module is used to compare the requirements of the test elements and determine how the test elements are reused for the reuse test case library.

进一步地,所述的测试场景包括场景属性、场景测试用例、场景测试数据、场景约束;所述的场景属性用于描述测试场景所有的属性;场景测试数据是与测试场景相关的数据组合;场景测试用例是测试场景包含的测试用例;场景约束即描述测试场景包含测试用例运行的执行方式和顺序。Further, the test scenario includes scenario attributes, scenario test cases, scenario test data, and scenario constraints; the scenario attributes are used to describe all attributes of the test scenario; scenario test data is a combination of data related to the test scenario; scenario A test case is a test case contained in a test scenario; a scenario constraint describes the execution method and sequence of running test cases contained in a test scenario.

进一步地,所述的测试用例即对被测系统实际操作的指令的集合,测试用例包括用例属性、用例测试数据、用例测试步骤、用例约束;属性用于描述测试用例的所有属性;用例测试数据为该用例用到的相关数据;用例测试步骤是测试过程中的基本操作,包括用例属性和用例数据;用例约束指测试用例所包含的测试步骤的执行方式和顺序。Further, the test case is a collection of instructions for the actual operation of the system under test. The test case includes use case attributes, use case test data, use case test steps, and use case constraints; attributes are used to describe all attributes of the test case; use case test data Relevant data used for the use case; use case test steps are the basic operations in the testing process, including use case attributes and use case data; use case constraints refer to the execution method and sequence of the test steps contained in the test case.

进一步地,所述的执行方式包括手工执行测试和自动化执行测试;手工执行时需要测试人员准备好测试前置条件,前置条件即按照业务需要,用例执行成功所必需的条件;Further, the execution method includes manual execution test and automated execution test; during manual execution, testers are required to prepare test preconditions, which are necessary conditions for successful use case execution according to business needs;

所述的执行顺序为依据依赖条件来执行当前用例。The execution sequence described above is to execute the current use case according to the dependency conditions.

进一步地,所述的测试步骤是测试过程中的基本操作,包括属性和数据。Further, the test steps are basic operations in the test process, including attributes and data.

进一步地,所述的测试数据测试所需的所有数据,由属性构成。Further, all data required for the test data test is composed of attributes.

进一步地,所述的属性为名称与值的对应。Further, the attribute is a correspondence between a name and a value.

进一步地,所述的引用为测试元素直接引用复用测试用例库的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据;Further, the reference is that the test element directly refers to the test scenario of the reuse test case library, or/and the test case, or/and the test step, or/and the test data;

所述的组合即组合复用测试用例库中的不同的测试用例为新的测试场景;组合不同的测试步骤为新的测试用例;组合不同的测试数据为新的测试数据;Described combination is that the different test cases in the combined multiplexing test case library are new test scenarios; the combination of different test steps is a new test case; the combination of different test data is new test data;

所述的继承即继承复用测试用例库中的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据,并依据被测系统进行完善,形成新的测试用例。The inheritance refers to inheriting and reusing the test scenarios, or/and test cases, or/and test steps, or/and test data in the test case library, and improving it according to the system under test to form new test cases.

进一步地,所述的需求比对为:当前版本的测试元素与上一个版本的测试元素进行对比,判断需求。Further, the requirement comparison is: comparing the test elements of the current version with the test elements of the previous version to determine the requirements.

一种面向复用的软件测试用例测试方法,利用任意一项所述的一种面向复用的软件测试用例测试系统,其特征是,具体包括以下步骤:A kind of reuse-oriented software test case test method, utilize any one described a kind of reuse-oriented software test case test system, it is characterized in that, specifically comprises the following steps:

1)、对测试元素的当前版本与上一个版本进行对比,判断需求;1) Compare the current version of the test element with the previous version to determine the requirements;

2)、如果测试元素需要引用,则执行步骤3)操作;如果测试元素需要组合,则执行步骤4)操作;如果测试元素需要继承,则执行步骤5)操作;2), if the test element needs to be referenced, then perform the step 3) operation; if the test element needs to be combined, then perform the step 4) operation; if the test element needs to be inherited, then perform the step 5) operation;

3)、测试元素根据需求直接引用复用测试用例库,进行测试元素的直接复用;3) The test elements directly refer to the reuse test case library according to the requirements, and the test elements are directly reused;

4)、测试元素根据需求将复用测试用例库的特定的粒度组织进行组合,进行测试元素的直接复用;4) The test elements combine the specific granular organization of the reuse test case library according to the requirements, and perform the direct reuse of the test elements;

5)、测试元素根据需求进行继承原有的粒度组织,完善已存在的测试元素,形成新的测试元素复用;5) The test elements inherit the original granular organization according to the requirements, improve the existing test elements, and form new test elements for reuse;

6)、复用测试用例结束。6). The reuse test case ends.

本发明的有益效果是:The beneficial effects of the present invention are:

1、本发明设置复用测试用例库抽象并提取不同粒度的可复用测试资产,使用例分层次复用,极大地实现了软件高质量的测试。1. The present invention sets up the reuse test case library to abstract and extract reusable test assets of different granularities, and use cases are reused in layers, greatly realizing high-quality software testing.

2、本发明可以通过引用、组合、继承实现用例的复用,不管是对新版本还是老版本,都适用。2. The present invention can realize the reuse of use cases through reference, combination and inheritance, regardless of whether it is a new version or an old version.

3、本发明实现了软件的自动测试,用例复用,节约测试成本。3. The present invention realizes automatic testing of software, reuse of use cases, and saves testing costs.

附图说明Description of drawings

图1为本发明的模块结构连接图;Fig. 1 is a module structure connection diagram of the present invention;

图2为本发明方法流程图。Fig. 2 is a flow chart of the method of the present invention.

具体实施方式detailed description

为能清楚说明本方案的技术特点,下面通过具体实施方式,并结合其附图,对本发明进行详细阐述。下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。应当注意,在附图中所图示的部件不一定按比例绘制。本发明省略了对公知组件和处理技术及工艺的描述以避免不必要地限制本发明。In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the present invention.

如图1所示,一种面向复用的软件测试用例测试系统,包括As shown in Figure 1, a software test case test system for reuse includes

复用测试用例库,包括测试场景、测试用例、测试步骤和测试数据四种粒度组织;和,Reusable test case library, including four granular organizations of test scenarios, test cases, test steps and test data; and,

测试元素,引用、组合、继承复用测试用例库,进行被测试;Test elements, reference, combination, inheritance reuse test case library, to be tested;

比对模块,用于对测试元素进行需求比对,判断测试元素对复用测试用例库采用何种方式进行复用。The comparison module is used to compare the requirements of the test elements and determine how the test elements are reused for the reuse test case library.

测试场景包括场景属性、场景测试用例、场景测试数据、场景约束;所述的场景属性用于描述测试场景所有的属性;场景测试数据是与测试场景相关的数据组合;场景测试用例是测试场景包含的测试用例;场景约束即描述测试场景包含测试用例运行的执行方式和顺序。例如场景S={ATTRIBUTE,DATA,CASE,CONSTRAIN};其中ATTRIBUTE为属性,包含但不限于场景名称、场景所属模块、场景包含测试用例个数。The test scenario includes scenario attributes, scenario test cases, scenario test data, and scenario constraints; the scenario attributes are used to describe all attributes of the test scenario; the scenario test data is a combination of data related to the test scenario; the scenario test case is a test scenario that contains The test cases; scenario constraints describe the execution method and sequence of test scenarios including test cases. For example, scenario S={ATTRIBUTE, DATA, CASE, CONSTRAIN}; where ATTRIBUTE is an attribute, including but not limited to the name of the scenario, the module to which the scenario belongs, and the number of test cases included in the scenario.

DATA为测试数据,例如创建虚拟机场景所需的虚拟机名称。DATA is test data, such as the name of the virtual machine required to create a virtual machine scenario.

CASE为场景包含的测试用例,例如创建虚拟机场景中包含登录系统用例、创建组织用例、创建虚拟数据中心用例、创建虚拟机用例、退出系统用例。CASE is the test case included in the scenario. For example, the scenario of creating a virtual machine includes use cases for logging in to the system, creating an organization, creating a virtual data center, creating a virtual machine, and exiting the system.

CONSTRAIN为场景的约束,说明CASE(测试用例)的执行顺序。CONSTRAIN is the constraint of the scene, indicating the execution sequence of CASE (test case).

测试用例即对被测系统实际操作的指令的集合,测试用例包括用例属性、用例测试数据、用例测试步骤、用例约束;属性用于描述测试用例的所有属性;用例测试数据为该用例用到的相关数据;用例测试步骤是测试过程中的基本操作,包括用例属性和用例数据;用例约束指测试用例所包含的测试步骤的执行方式和顺序。例如CASE={ATTRIBUTE,DATA,STEP,CONSTRAIN};其中ATTRIBUTE为属性,包含但不限于用例名称、用例序号、用例所属模块。A test case is a collection of instructions for the actual operation of the system under test. The test case includes use case attributes, use case test data, use case test steps, and use case constraints; attributes are used to describe all attributes of the test case; use case test data is used by the use case Relevant data; use case test steps are the basic operations in the test process, including use case attributes and use case data; use case constraints refer to the execution method and order of the test steps contained in the test case. For example, CASE={ATTRIBUTE, DATA, STEP, CONSTRAIN}; where ATTRIBUTE is an attribute, including but not limited to the name of the use case, the serial number of the use case, and the module to which the use case belongs.

DATA为测试数据,例如创建虚拟机用例所需的虚拟机名称。DATA is test data, such as the name of the virtual machine required to create a virtual machine use case.

STEP为测试用例包含的测试步骤,例如创建虚拟机测试用例包含输入虚拟机名称、虚拟机配置、选择虚拟数据中心。STEP is the test steps included in the test case. For example, creating a virtual machine test case includes entering the virtual machine name, virtual machine configuration, and selecting a virtual data center.

CONSTRAIN为用例的约束,说明STEP(测试步骤)的执行顺序。CONSTRAIN is the constraint of the use case, indicating the execution sequence of STEP (test steps).

执行方式包括手工执行测试和自动化执行测试;手工执行时需要测试人员准备好测试前置条件,前置条件即按照业务需要,用例执行成功所必需的条件;执行顺序为依据依赖条件来执行当前用例。Execution methods include manual execution of tests and automated execution of tests; manual execution requires testers to prepare test preconditions, which are necessary conditions for successful use case execution according to business needs; execution order is to execute the current use case based on dependent conditions .

测试步骤是测试过程中的基本操作,包括属性和数据。Test steps are basic operations in the testing process, including attributes and data.

测试数据测试所需的所有数据,由属性构成。例如虚拟机名称=vm。Test data All data required for testing, composed of attributes. For example virtual machine name=vm.

属性为名称与值的对应。Attributes are the correspondence between names and values.

当软件测试人员开始复用测试用例时,可以根据项目间需求,从测试数据、测试步骤、测试用例及测试场景,由细到粗的,采用引用、组合及继承的方式复用测试用例。When software testers start to reuse test cases, they can use reference, combination and inheritance to reuse test cases from test data, test steps, test cases and test scenarios, from fine to coarse, according to inter-project requirements.

需求比对为:当前版本的测试元素与上一个版本的测试元素进行对比,判断需求。Requirement comparison is: compare the test elements of the current version with the test elements of the previous version to judge the requirements.

引用为测试元素直接引用复用测试用例库的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据。Reference is a test element that directly refers to the test scenario, or/and test case, or/and test step, or/and test data of the reuse test case library.

组合即组合复用测试用例库中的不同的测试用例为新的测试场景;组合不同的测试步骤为新的测试用例;组合不同的测试数据为新的测试数据。Combination is to combine and reuse different test cases in the test case library into new test scenarios; combine different test steps into new test cases; combine different test data into new test data.

继承即继承复用测试用例库中的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据,并依据被测系统进行完善,形成新的测试用例。Inheritance refers to inheriting and reusing the test scenarios, or/and test cases, or/and test steps, or/and test data in the test case library, and improving it according to the system under test to form new test cases.

如图2所示,一种面向复用的软件测试用例测试方法,利用一种面向复用的软件测试用例测试系统,具体包括以下步骤:As shown in Figure 2, a kind of software test case testing method oriented to reuse, utilizes a kind of software test case test system oriented to reuse, specifically comprises the following steps:

1)、对测试元素的当前版本与上一个版本进行对比,判断需求;1) Compare the current version of the test element with the previous version to determine the requirements;

2)、如果测试元素需要引用,则执行步骤3)操作;如果测试元素需要组合,则执行步骤4)操作;如果测试元素需要继承,则执行步骤5)操作;2), if the test element needs to be referenced, then perform the step 3) operation; if the test element needs to be combined, then perform the step 4) operation; if the test element needs to be inherited, then perform the step 5) operation;

3)、测试元素根据需求直接引用复用测试用例库,进行测试元素的直接复用;3) The test elements directly refer to the reuse test case library according to the requirements, and the test elements are directly reused;

4)、测试元素根据需求将复用测试用例库的特定的粒度组织进行组合,进行测试元素的直接复用;4) The test elements combine the specific granular organization of the reuse test case library according to the requirements, and perform the direct reuse of the test elements;

5)、测试元素根据需求进行继承原有的粒度组织,完善已存在的测试元素,形成新的测试元素复用;5) The test elements inherit the original granular organization according to the requirements, improve the existing test elements, and form new test elements for reuse;

6)、复用测试用例结束。6). The reuse test case ends.

以上所述只是本发明的优选实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也被视为本发明的保护范围。The above is only a preferred embodiment of the present invention. For those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered as the present invention. protection scope of the invention.

Claims (10)

1.一种面向复用的软件测试用例测试系统,其特征是,包括1. A software test case test system for reuse, characterized in that it comprises 复用测试用例库,包括测试场景、测试用例、测试步骤和测试数据四种粒度组织;和,Reusable test case library, including four granular organizations of test scenarios, test cases, test steps and test data; and, 测试元素,引用、组合、继承复用测试用例库,进行被测试;和,Test elements, reference, combination, inheritance reuse test case library, to be tested; and, 比对模块,用于对测试元素进行需求比对,判断测试元素对复用测试用例库采用何种方式进行复用。The comparison module is used to compare the requirements of the test elements and determine how the test elements are reused for the reuse test case library. 2.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的测试场景包括场景属性、场景测试用例、场景测试数据、场景约束;所述的场景属性用于描述测试场景所有的属性;场景测试数据是与测试场景相关的数据组合;场景测试用例是测试场景包含的测试用例;场景约束即描述测试场景包含测试用例运行的执行方式和顺序。2. a kind of reuse-oriented software test case test system according to claim 1, is characterized in that, described test scene comprises scene property, scene test case, scene test data, scene constraint; Described scene property It is used to describe all the attributes of the test scenario; the scenario test data is the data combination related to the test scenario; the scenario test case is the test case contained in the test scenario; the scenario constraint is to describe the execution mode and sequence of the test scenario including the test case operation. 3.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的测试用例即对被测系统实际操作的指令的集合,测试用例包括用例属性、用例测试数据、用例测试步骤、用例约束;属性用于描述测试用例的所有属性;用例测试数据为该用例用到的相关数据;用例测试步骤是测试过程中的基本操作,包括用例属性和用例数据;用例约束指测试用例所包含的测试步骤的执行方式和顺序。3. a kind of reuse-oriented software test case testing system according to claim 1, is characterized in that, described test case is the collection of the instruction of actual operation to system under test, and test case comprises use case attribute, use case test Data, use case test steps, and use case constraints; attributes are used to describe all attributes of a test case; use case test data is the relevant data used in the use case; use case test steps are basic operations in the testing process, including use case attributes and use case data; use case Constraints refer to the execution method and order of the test steps contained in the test case. 4.根据权利要求2或3任意一项所述的一种面向复用的软件测试用例测试系统,其特征是,所述的执行方式包括手工执行测试和自动化执行测试;手工执行时需要测试人员准备好测试前置条件,前置条件即按照业务需要,用例执行成功所必需的条件;4. according to a kind of reuse-oriented software test case test system according to any one of claim 2 or 3, it is characterized in that, described execution mode comprises manual execution test and automatic execution test; Need tester during manual execution Be ready to test the preconditions, which are the conditions necessary for the successful execution of use cases according to business needs; 所述的执行顺序为依据依赖条件来执行当前用例。The execution sequence described above is to execute the current use case according to the dependency conditions. 5.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的测试步骤是测试过程中的基本操作,包括属性和数据。5. A kind of reuse-oriented software test case test system according to claim 1, characterized in that, said test steps are basic operations in the test process, including attributes and data. 6.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的测试数据测试所需的所有数据,由属性构成。6. A kind of reuse-oriented software test case test system according to claim 1, characterized in that, all data required for the test data test is composed of attributes. 7.根据权利要求6所述的一种面向复用的软件测试用例测试系统,其特征是,所述的属性为名称与值的对应。7. A reuse-oriented software test case testing system according to claim 6, wherein said attribute is a correspondence between a name and a value. 8.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的引用为测试元素直接引用复用测试用例库的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据;8. a kind of reuse-oriented software test case test system according to claim 1, is characterized in that, described reference is the test scene that test element directly quotes reuse test case storehouse, or/and test case, or / and test steps, or / and test data; 所述的组合即组合复用测试用例库中的不同的测试用例为新的测试场景;组合不同的测试步骤为新的测试用例;组合不同的测试数据为新的测试数据;Described combination is that the different test cases in the combined multiplexing test case library are new test scenarios; the combination of different test steps is a new test case; the combination of different test data is new test data; 所述的继承即继承复用测试用例库中的测试场景,或/和测试用例,或/和测试步骤,或/和测试数据,并依据被测系统进行完善,形成新的测试用例。The inheritance refers to inheriting and reusing the test scenarios, or/and test cases, or/and test steps, or/and test data in the test case library, and improving it according to the system under test to form new test cases. 9.根据权利要求1所述的一种面向复用的软件测试用例测试系统,其特征是,所述的需求比对为:当前版本的测试元素与上一个版本的测试元素进行对比,判断需求。9. A kind of reuse-oriented software test case test system according to claim 1, characterized in that, the comparison of the requirements is: the test elements of the current version are compared with the test elements of the previous version, and the requirements are judged . 10.一种面向复用的软件测试用例测试方法,利用权利要求1-9任意一项所述的一种面向复用的软件测试用例测试系统,其特征是,具体包括以下步骤:10. a kind of software test case test method for reuse, utilize a kind of software test case test system for reuse described in any one of claim 1-9, it is characterized in that, specifically comprise the following steps: 1)、对测试元素的当前版本与上一个版本进行对比,判断需求;1) Compare the current version of the test element with the previous version to determine the requirements; 2)、如果测试元素需要引用,则执行步骤3)操作;如果测试元素需要组合,则执行步骤4)操作;如果测试元素需要继承,则执行步骤5)操作;2), if the test element needs to be referenced, then perform the step 3) operation; if the test element needs to be combined, then perform the step 4) operation; if the test element needs to be inherited, then perform the step 5) operation; 3)、测试元素根据需求直接引用复用测试用例库,进行测试元素的直接复用;3) The test elements directly refer to the reuse test case library according to the requirements, and the test elements are directly reused; 4)、测试元素根据需求将复用测试用例库的特定的粒度组织进行组合,进行测试元素的直接复用;4) The test elements combine the specific granular organization of the reuse test case library according to the requirements, and perform the direct reuse of the test elements; 5)、测试元素根据需求进行继承原有的粒度组织,完善已存在的测试元素,形成新的测试元素复用;5) The test elements inherit the original granular organization according to the requirements, improve the existing test elements, and form new test elements for reuse; 6)、复用测试用例结束。6). The reuse test case ends.
CN201710369035.6A 2017-05-23 2017-05-23 The software test case test system and method for a kind of Reuse-Oriented Pending CN107193740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710369035.6A CN107193740A (en) 2017-05-23 2017-05-23 The software test case test system and method for a kind of Reuse-Oriented

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710369035.6A CN107193740A (en) 2017-05-23 2017-05-23 The software test case test system and method for a kind of Reuse-Oriented

Publications (1)

Publication Number Publication Date
CN107193740A true CN107193740A (en) 2017-09-22

Family

ID=59874540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710369035.6A Pending CN107193740A (en) 2017-05-23 2017-05-23 The software test case test system and method for a kind of Reuse-Oriented

Country Status (1)

Country Link
CN (1) CN107193740A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844421A (en) * 2017-10-31 2018-03-27 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN108255718A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of method for being multiplexed software use-case
CN108984410A (en) * 2018-07-18 2018-12-11 郑州云海信息技术有限公司 A kind of method for test examples design of high multiplexing
CN110275829A (en) * 2019-06-13 2019-09-24 惠州市德赛西威汽车电子股份有限公司 A kind of software hierarchy test method
CN110442522A (en) * 2019-08-05 2019-11-12 广州小鹏汽车科技有限公司 The method for generating test case and test method of functional requirement based on electric car
CN112069068A (en) * 2020-09-03 2020-12-11 中国平安财产保险股份有限公司 Automatic test data processing method, device, equipment and readable storage medium
CN112363942A (en) * 2020-11-17 2021-02-12 浪潮云信息技术股份公司 System and method for realizing reusable unit test
CN112699036A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 Multi-partition multi-version airborne application software test case multiplexing method
CN114048144A (en) * 2021-11-24 2022-02-15 瀚云科技有限公司 A method, apparatus, computer equipment and medium for constructing a program
CN114911687A (en) * 2021-02-06 2022-08-16 河南许继仪表有限公司 A smart energy meter test case multiplexing system and multiplexing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244321A1 (en) * 2007-03-08 2008-10-02 Tim Kelso Program Test System
CN103605609A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 An automated testing framework for cloud computing
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Design method of multiplexing software-oriented test model
CN106021093A (en) * 2016-05-05 2016-10-12 北京思特奇信息技术股份有限公司 Test case reuse method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244321A1 (en) * 2007-03-08 2008-10-02 Tim Kelso Program Test System
CN103605609A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 An automated testing framework for cloud computing
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Design method of multiplexing software-oriented test model
CN106021093A (en) * 2016-05-05 2016-10-12 北京思特奇信息技术股份有限公司 Test case reuse method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MUFENG_慕枫: ""JAVA复用类之组合语法的使用(附源码)"", 《CSDN:HTTPS://BLOG.CSDN.NET/U013693649/ARTICLE/DETAILS/51799152》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844421A (en) * 2017-10-31 2018-03-27 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN108255718A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of method for being multiplexed software use-case
CN108984410A (en) * 2018-07-18 2018-12-11 郑州云海信息技术有限公司 A kind of method for test examples design of high multiplexing
CN110275829A (en) * 2019-06-13 2019-09-24 惠州市德赛西威汽车电子股份有限公司 A kind of software hierarchy test method
CN110442522A (en) * 2019-08-05 2019-11-12 广州小鹏汽车科技有限公司 The method for generating test case and test method of functional requirement based on electric car
CN112069068A (en) * 2020-09-03 2020-12-11 中国平安财产保险股份有限公司 Automatic test data processing method, device, equipment and readable storage medium
CN112363942A (en) * 2020-11-17 2021-02-12 浪潮云信息技术股份公司 System and method for realizing reusable unit test
CN112699036A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 Multi-partition multi-version airborne application software test case multiplexing method
CN112699036B (en) * 2020-12-29 2023-03-14 中国航空工业集团公司西安飞机设计研究所 Multi-partition multi-version airborne application software test case multiplexing method
CN114911687A (en) * 2021-02-06 2022-08-16 河南许继仪表有限公司 A smart energy meter test case multiplexing system and multiplexing method
CN114048144A (en) * 2021-11-24 2022-02-15 瀚云科技有限公司 A method, apparatus, computer equipment and medium for constructing a program

Similar Documents

Publication Publication Date Title
CN107193740A (en) The software test case test system and method for a kind of Reuse-Oriented
CN106294120B (en) Method, apparatus and computer program product for testing code
US9576037B2 (en) Self-analyzing data processing job to determine data quality issues
US20160034375A1 (en) Determining test case priorities based on tagged execution paths
TWI530783B (en) Software debugging
US11036491B1 (en) Identifying and resolving firmware component dependencies
US20100257494A1 (en) Enhancing Formal Design Verification By Reusing Previous Results
US9128832B2 (en) Performing diagnostic tracing of an executing application to identify suspicious pointer values
CN102831060A (en) Modification influence analysis based regression test case updating method of part software
WO2019019381A1 (en) Batch processing method and apparatus for insurance slip tasks, computer device and storage medium
CN105608001A (en) Test method and test platform based on background system service or interface
CN105824746A (en) Method and device for automatically generating test scheduling based on use case dependencies
CN105808438B (en) A kind of Reuse of Test Cases method based on function call path
CN110134598B (en) Batch processing method, device and system
WO2016133607A1 (en) Small scale integration test generation
US10073938B2 (en) Integrated circuit design verification
CN102955739B (en) A kind of method improving performance test script reuse rate
CA2811617A1 (en) Commit sensitive tests
US20140344785A1 (en) Automatic generation of a resource reconfiguring test
CN107491395A (en) A kind of self-defined test case framework application method
CN104407978A (en) Automatic test method of software and device thereof
CN105335244A (en) Application program recovery method
CN104536878B (en) The method whether atomicity mistake is correctly repaired is violated in a kind of checking concurrent program
CN110659195B (en) Android program crash positioning method, storage medium, electronic device and system
US10467131B1 (en) Method and system for performance analysis by test automation frameworks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922