CN110704322B - Software testing method and system - Google Patents
Software testing method and system Download PDFInfo
- Publication number
- CN110704322B CN110704322B CN201910938815.7A CN201910938815A CN110704322B CN 110704322 B CN110704322 B CN 110704322B CN 201910938815 A CN201910938815 A CN 201910938815A CN 110704322 B CN110704322 B CN 110704322B
- Authority
- CN
- China
- Prior art keywords
- iteration
- case
- use case
- case set
- software
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test 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)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请属于软件测试技术领域,具体涉及一种软件测试方法和系统。The application belongs to the technical field of software testing, and in particular relates to a software testing method and system.
背景技术Background technique
计算机系统由软件和硬件组成,软件是运行在计算机上的程序和相应的文档。软件一般都是以提供功能,解决特定问题而存在。计算机软件在开发完成后,需要对其进行测试,测试软件的功能是否符合规格说明书,测试其性能是否满足要求、测试软件是否存在安全问题等。进行上述测试,都依赖测试用例的设计,良好的测试用例的设计可以覆盖足够多、足够全的场景。A computer system is composed of software and hardware. Software is a program that runs on a computer and corresponding documents. Software generally exists to provide functions and solve specific problems. After the computer software is developed, it needs to be tested, whether the function of the software conforms to the specifications, whether the performance meets the requirements, whether there are safety problems in the software, etc. The above-mentioned tests all depend on the design of test cases, and a good design of test cases can cover enough and complete scenarios.
而在软件在使用的过程中,会产生新的功能及性能需求、或者废弃不再适用的软件功能等,这其中需要多次修改测试。这个时候会产生大量的测试用例。现有技术中,软件公司的软件测试都是针对迭代内容写测试用例,经过多个迭代后,已经没有一份完整的用例能够来反映软件的最新功能,新人学习成本高,会影响测试效率。In the process of using the software, new functions and performance requirements will be generated, or software functions that are no longer applicable will be discarded, which requires multiple revision tests. At this time, a large number of test cases will be generated. In the existing technology, the software testing of software companies is to write test cases for iterative content. After multiple iterations, there is no complete use case that can reflect the latest functions of the software. The learning cost for newcomers is high, which will affect the testing efficiency.
发明内容Contents of the invention
为至少在一定程度上克服相关技术中存在的问题,本申请提供一种软件测试方法和系统,有助于测试效率的提升。In order to overcome the problems existing in the related technologies at least to a certain extent, the present application provides a software testing method and system, which help to improve testing efficiency.
为实现以上目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:
第一方面,first,
本申请提供一种软件测试方法,所述软件测试方法包括:The application provides a software testing method, the software testing method comprising:
预先创建用于保存当前迭代用例的迭代用例集、用于保存针对产品主要流程的测试用例的核心用例集、以及用于保存历史迭代用例的镜像用例集;Pre-create the iterative use case set used to save the current iterative use cases, the core use case set used to save the test cases for the main process of the product, and the mirror use case set used to save the historical iterative use cases;
对所述迭代用例集、核心用例集和镜像用例集进行配置维护;Perform configuration maintenance on the iterative use case set, core use case set and mirror use case set;
在功能测试中,调用迭代用例集和镜像用例集中用例进行软件功能测试及缺陷验证;In the function test, the use cases in the iterative use case set and the mirror use case set are called to perform software function test and defect verification;
在软件发布后,调用核心用例集中用例进行线上冒烟测试。After the software is released, call the centralized use cases of the core use cases for online smoke testing.
可选地,所述对所述迭代用例集、核心用例集和镜像用例集进行配置维护,包括:Optionally, the configuration maintenance of the iterative use case set, core use case set and mirror use case set includes:
在首次迭代中,In the first iteration,
针对迭代要上线的功能设计迭代用例并保存入迭代用例集;Design iterative use cases for the functions to be launched in the iterative and save them into the iterative use case set;
将所述迭代用例集中针对主要流程的用例取出保存入所述核心用例集;Take out and save the use cases for the main process in the iterative use case set into the core use case set;
在首次迭代结束后,将所述迭代用例集中用例复制入所述镜像用例集,并清空所述迭代用例集;After the end of the first iteration, copy the use cases in the iterative use case set into the mirror use case set, and clear the iterative use case set;
在之后的迭代中,In subsequent iterations,
基于当前迭代的功能开发情况,对所述迭代用例集、核心用例集和镜像用例集中的一个或多个进行配置维护。Based on the function development status of the current iteration, one or more of the iterative use case set, the core use case set and the mirror use case set are configured and maintained.
可选地,所述当前迭代的功能开发情况包括在上次迭代基础上增加功能,在上次迭代基础上修改功能,以及在上次迭代基础上删除功能。Optionally, the function development status of the current iteration includes adding functions on the basis of the previous iteration, modifying functions on the basis of the last iteration, and deleting functions on the basis of the last iteration.
可选地,当当前迭代为在上次迭代基础上增加功能时,对所述迭代用例集和镜像用例集进行如下配置维护:Optionally, when the current iteration is to add functions on the basis of the previous iteration, the following configuration maintenance is performed on the iterative use case set and the mirror image use case set:
针对新增功能设计迭代用例并保存入迭代用例集;Design iterative use cases for new functions and save them into iterative use case sets;
在该次迭代结束后,将所述迭代用例集中用例复制入镜像用例集,并清空迭代用例集。After the iteration ends, the use cases in the iterative use case set are copied into the mirror use case set, and the iterative use case set is cleared.
可选地,当当前迭代为在上次迭代基础上修改功能时,对所述镜像用例集进行如下配置维护:Optionally, when the current iteration is to modify the function on the basis of the previous iteration, the following configuration maintenance is performed on the set of mirrored use cases:
针对修改的功能,修改镜像用例集中对应的功能用例。For the modified function, modify the corresponding functional use case in the mirrored use case set.
可选地,当当前迭代为在上次迭代基础上删除功能时,对所述镜像用例集进行如下配置维护:Optionally, when the current iteration is to delete the function on the basis of the previous iteration, the following configuration maintenance is performed on the set of mirrored use cases:
针对要删除的功能,删除镜像用例集中对应的功能用例。For the function to be deleted, delete the corresponding functional use case in the image use case set.
可选地,还包括检查更新所述核心用例集,使所述核心用例集中的用例始终针对软件当前的主要流程。Optionally, checking and updating the set of core use cases is also included, so that the use cases in the set of core use cases are always aimed at the current main process of the software.
可选地,还包括预先创建用于保存回归测试用例的回归用例集;Optionally, it also includes pre-creating a regression case set for storing regression test cases;
对所述回归用例集进行配置维护;Perform configuration maintenance on the set of regression use cases;
在回归测试时,调用所述镜像用例集和回归用例集中用例进行测试。During the regression test, the use cases in the mirrored use case set and the regression use case set are called for testing.
可选地,所述对所述回归用例集进行配置维护,包括:Optionally, the configuration maintenance of the set of regression use cases includes:
对功能测试中发现的缺陷进行分析,从中发现软件典型缺陷;Analyze the defects found in functional testing, and discover typical software defects;
对软件发布后用户上报的使用问题进行分析,从中发现软件线上缺陷;Analyze the usage problems reported by users after the software is released, and find software online defects;
设计用于发现所述软件典型缺陷和软件线上缺陷的用例保存入所述回归用例集。The use cases designed to discover the typical software defects and software online defects are stored in the regression use case set.
第二方面,Second aspect,
本申请提供一种软件测试系统,所述软件测试系统包括:The application provides a software testing system, the software testing system comprising:
迭代用例模块,用于保存当前迭代用例;The iterative use case module is used to save the current iterative use case;
核心用例模块,用于保存针对产品主要流程的测试用例;The core use case module is used to save test cases for the main process of the product;
镜像用例模块,用于保存历史迭代用例;Mirror use case module, used to save historical iteration use cases;
回归用例模块,用于保存回归测试用例;Regression use case module, used to save regression test cases;
处理模块,用于对所述迭代用例模块、核心用例模块、镜像用例模块和回归用例模块进行添加、删除、修改处理;A processing module, used to add, delete and modify the iterative use case module, core use case module, mirroring use case module and regression use case module;
测试模块,用于调用所述迭代用例模块、核心用例模块、镜像用例模块和回归用例模块中用例进行软件测试。The test module is used to call the use cases in the iterative use case module, the core use case module, the mirror use case module and the regression use case module to perform software testing.
本申请采用以上技术方案,至少具备以下有益效果:The application adopts the above technical solutions, and at least has the following beneficial effects:
通过对软件测试中用例进行分类管理,在测试不同阶段调用不同的用例组合,提高了测试用例的复用率,降低了测试人员轮岗、测试人员更替的学习成本,整体上提高了软件测试的效率。By classifying and managing use cases in software testing, calling different combinations of use cases at different stages of testing, the reuse rate of test cases is improved, the learning cost of tester rotation and tester replacement is reduced, and the overall efficiency of software testing is improved. efficiency.
本发明的其他优点、目标,和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书,权利要求书,以及附图中所特别指出的结构来实现和获得。Other advantages, objects, and features of the present invention will be set forth in the ensuing description to some extent, and to some extent, will be obvious to those skilled in the art based on the investigation and research below, or can be Learn from the practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本申请的技术方案或现有技术的进一步理解,并且构成说明书的一部分。其中,表达本申请实施例的附图与本申请的实施例一起用于解释本申请的技术方案,但并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present application or the prior art, and constitute a part of the description. Wherein, the drawings expressing the embodiments of the present application are used together with the embodiments of the present application to explain the technical solutions of the present application, but do not constitute limitations on the technical solutions of the present application.
图1为本申请一个实施例中的软件测试方法的流程示意图;Fig. 1 is the schematic flow chart of the software testing method in one embodiment of the present application;
图2为本申请一个实施例中的软件测试方法的用例配置维护的说明示意图。FIG. 2 is a schematic illustration of use case configuration maintenance of a software testing method in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将对本申请的技术方案进行详细的描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施方式,都属于本申请所保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be described in detail below. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in the present application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
为便于理解本发明中的技术方案,下面首先对本申请涉及的几个概念进行说明。In order to facilitate the understanding of the technical solutions in the present invention, several concepts involved in the present application will be described below first.
线上缺陷(线上Bug):指软件发布后,真正的用户使用时发现的问题。Online defect (online bug): Refers to the problems discovered by real users when the software is released.
典型缺陷(典型Bug):指软件的某一个功能上出现的问题,在别的模块或者软件上也会出现。Typical defect (typical bug): Refers to a problem that occurs in a certain function of the software, and also occurs in other modules or software.
迭代:是指一个产品要实现的功能有很多,计划按几个周期实现完毕,每个周期实现什么内容都会规划好,这个固定周期就叫迭代。Iteration: It means that a product has many functions to be realized, and the plan is to complete the realization in several cycles, and the content to be realized in each cycle will be planned. This fixed cycle is called iteration.
在软件测试中,必然涉及到测试用例。现有的软件测试中,针对软件新的功能设计用例,用例的分类方式和设计这些用例的人员的习惯或者风格有很大关联,用例设计完毕后,就会上传到公司的测试用例存储工具上。而当功能发生变化时,针对新功能再设计一份测试用例,上传到用例存储工具上。这样经过几个迭代后,软件的最新功能对应的测试用例需要去翻阅历史的测试用例,有可能在第一次上传的用例文档内,也有可能在第二次上传的用例文档内,也有可能根本没有对应的用例。而在上线前回归测试软件时,针对新的功能按照测试用例来测试,以前的功能就只能再补回归用例,或者靠经验了,或者探索性测试,测试遗漏的概率非常大。换言之,现有的软件测试方法中,缺乏对测试用例的有效管理,复用率低,导致软件测试效率较低。In software testing, test cases are bound to be involved. In existing software testing, use cases are designed for new software functions. The classification of use cases is closely related to the habits or styles of the personnel who design these use cases. After the use cases are designed, they will be uploaded to the company’s test case storage tool. . When the function changes, design a test case for the new function and upload it to the use case storage tool. In this way, after several iterations, the test cases corresponding to the latest functions of the software need to go through the historical test cases, which may be in the use case document uploaded for the first time, or in the use case document uploaded for the second time, or may not be found at all. There is no corresponding use case. When regression testing software before going online, new functions are tested according to test cases, and previous functions can only be supplemented with regression use cases, or rely on experience, or exploratory testing, and the probability of missing tests is very high. In other words, in the existing software testing methods, there is a lack of effective management of test cases, and the reuse rate is low, resulting in low efficiency of software testing.
为此,本申请提出一种软件测试方法,如图1所示,在该软件测试方法中,包括以下步骤:For this reason, the application proposes a kind of software testing method, as shown in Figure 1, in this software testing method, comprises the following steps:
步骤S110,预先创建用于保存当前迭代用例的迭代用例集、用于保存针对产品主要流程的测试用例的核心用例集、以及用于保存历史迭代用例的镜像用例集。Step S110, pre-create an iterative use case set for saving current iterative use cases, a core use case set for saving test cases for the main process of the product, and a mirror use case set for saving historical iterative use cases.
步骤S120,对迭代用例集、核心用例集和镜像用例集进行配置维护。配置维护包括对各用例集进行用例添加、修改、删除等操作,以使各用例集中包含相应的测试用例,具体配置维护过程将在后文中进行进一步说明。Step S120, performing configuration maintenance on the iterative use case set, the core use case set and the mirror use case set. Configuration maintenance includes operations such as adding, modifying, and deleting use cases for each use case set, so that each use case set contains corresponding test cases. The specific configuration maintenance process will be further described later.
步骤S130,在功能测试中,调用迭代用例集和镜像用例集中用例进行软件功能测试及缺陷验证;Step S130, in the function test, call the use cases in the iterative use case set and the mirror use case set to perform software function test and defect verification;
步骤S140,在软件发布后,调用核心用例集中用例进行线上冒烟测试。这里的线上冒烟测试指软件发布后,第一时间对发布后的软件进行一次快速的功能使用测试。Step S140, after the software is released, call the use cases in the core use case set to perform an online smoke test. The online smoke test here refers to a quick functional usage test of the released software as soon as the software is released.
本申请通过对软件测试中用例进行分类,进行分层次组织管理,在测试不同阶段调用不同的用例组合,提高了测试用例的复用率,减轻了测试人员轮岗、测试人员更替的学习成本,整体上提高了软件测试的效率。This application classifies the use cases in software testing, organizes and manages them hierarchically, calls different combinations of use cases at different stages of testing, improves the reuse rate of test cases, and reduces the learning cost of tester rotation and tester replacement. Overall, the efficiency of software testing is improved.
下面以一具体的实施例对本发明的技术方案进行具体说明。The technical solution of the present invention will be described in detail below with a specific embodiment.
针对某一开发测试的软件产品,预先创建用于保存当前迭代用例的迭代用例集、用于保存针对产品主要流程的测试用例的核心用例集、以及用于保存历史迭代用例的镜像用例集。For a software product developed and tested, an iterative use case set used to save the current iterative use cases, a core use case set used to save test cases for the main process of the product, and a mirrored use case set used to save historical iterative use cases are created in advance.
在该实施例中,对迭代用例集、核心用例集和镜像用例集进行配置维护,具体包括两种情景,即首次迭代和首次迭代之后的迭代,下面进行分别说明。In this embodiment, the configuration and maintenance of the iteration use case set, the core use case set and the mirror use case set specifically include two scenarios, that is, the first iteration and the iteration after the first iteration, which will be described separately below.
首次迭代first iteration
这里的首次迭代指软件从头开始开发,要针对第一个迭代要上线功能的进行的迭代测试。在首次迭代中,针对迭代要上线的功能设计迭代用例并保存入迭代用例集,将迭代用例集中针对主要流程的用例取出保存入核心用例集;The first iteration here refers to software development from scratch, and iterative testing for the functions to be launched in the first iteration. In the first iteration, iterative use cases are designed for the functions to be launched in the iteration and saved in the iterative use case set, and the use cases for the main process in the iterative use case set are taken out and saved into the core use case set;
在首次迭代的功能测试中,调用迭代用例集和镜像用例集(此时为空)中用例进行软件功能测试及缺陷验证;In the functional test of the first iteration, the use cases in the iterative use case set and the mirror use case set (empty at this time) are called to perform software function test and defect verification;
在首次迭代结束后,将迭代用例集中用例复制入镜像用例集,并清空该迭代用例集。当然首次迭代结束,该软件产品会进行第一次发布,在该次软件发布后,调用核心用例集中用例进行线上冒烟测试。After the first iteration, the use cases in the iterative use case set are copied into the mirror use case set, and the iterative use case set is cleared. Of course, after the first iteration is over, the software product will be released for the first time. After the software release, the core use cases will be called for online smoke testing.
之后的迭代subsequent iterations
之后的迭代指针对该软件产品的二次迭代及二次之后的迭代。在之后的迭代中,基于当前迭代的功能开发情况,对迭代用例集、核心用例集和镜像用例集中的一个或多个进行配置维护。Subsequent iterations refer to the second iteration of the software product and subsequent iterations. In subsequent iterations, based on the function development of the current iteration, one or more of the iterative use case set, the core use case set and the mirror use case set are configured and maintained.
具体的,当前迭代的功能开发情况包括在上次迭代基础上增加功能,在上次迭代基础上修改功能,以及在上次迭代基础上删除功能。Specifically, the function development of the current iteration includes adding functions on the basis of the previous iteration, modifying functions on the basis of the previous iteration, and deleting functions on the basis of the previous iteration.
举例而言,当前迭代为第二次迭代,软件产品第二次迭代的功能开发情况无非是三种情况:在上次(首次)迭代的基础上增加新功能;发现上次(首次)的功能不符合用户的要求,修改该功能;发现上次(首次)迭代的功能完全没有人用,删除它。For example, the current iteration is the second iteration, and the function development of the second iteration of the software product is nothing more than three situations: adding new functions on the basis of the previous (first) iteration; discovering the functions of the last (first) iteration If it does not meet the user's requirements, modify the function; if it is found that the function of the last (first) iteration is completely unused, delete it.
针对这三种情况,对各用例集中的一个或多个进行配置维护。具体的,For these three situations, one or more of each use case set is configured and maintained. specific,
(1)当当前迭代为在上次迭代基础上增加功能时,对迭代用例集和镜像用例集进行如下配置维护:(1) When the current iteration is to add functions on the basis of the previous iteration, perform the following configuration maintenance on the iteration use case set and the mirror use case set:
针对新增功能设计迭代用例并保存入迭代用例集;Design iterative use cases for new functions and save them into iterative use case sets;
在该次迭代结束后,将迭代用例集中用例复制入镜像用例集,并清空迭代用例集。After the iteration ends, the use cases in the iterative use case set are copied into the mirror use case set, and the iterative use case set is cleared.
(2)当当前迭代为在上次迭代基础上修改功能时,对镜像用例集进行如下配置维护:(2) When the current iteration is to modify the function on the basis of the previous iteration, perform the following configuration maintenance on the mirrored use case set:
针对修改的功能,修改镜像用例集中对应的功能用例,而无需再重写一份测试用例。For the modified function, modify the corresponding functional use case in the mirrored use case set without rewriting a test case.
(3)当当前迭代为在上次迭代基础上删除功能时,对镜像用例集进行如下配置维护:(3) When the current iteration is to delete the function on the basis of the previous iteration, the mirror use case set is configured and maintained as follows:
针对要删除的功能,删除镜像用例集中对应的功能用例。For the function to be deleted, delete the corresponding functional use case in the image use case set.
并且在该实施例中,上述三种情况下,都还包括检查更新核心用例集,使核心用例集中的用例始终针对软件当前的主要流程的配置维护过程。例如,设计新增功能的主要流程用例,放入该核心用例集,例如当主要流程用例在该迭代被修改,删除的,在核心用例集中做对应的修改,删除。还需要说明的是,在上述迭代及迭代后的发布中,同样包括类似首次迭代中的调用用例集组合进行测试的过程。And in this embodiment, the above three cases also include checking and updating the core use case set, so that the use cases in the core use case set are always aimed at the configuration maintenance process of the current main flow of the software. For example, design the main process use cases of new functions and put them into the core use case set. For example, when the main process use cases are modified or deleted in this iteration, make corresponding modifications and deletes in the core use case set. It should also be noted that the above-mentioned iterations and post-iteration releases also include a testing process similar to the combination of test cases in the first iteration.
在上述实施例的基础上,在另一实施例中,本发明中的软件测试方法还包括,预先创建用于保存回归测试用例的回归用例集;On the basis of the foregoing embodiments, in another embodiment, the software testing method in the present invention also includes, pre-creating a set of regression use cases for storing regression test cases;
对回归用例集进行配置维护;Configure and maintain the regression use case set;
在回归测试时(例如在软件最终上线前的回归测试),调用镜像用例集和回归用例集中用例进行测试。During the regression test (for example, the regression test before the software is finally launched), the use cases in the mirror use case set and the regression use case set are called for testing.
其中具体的,对回归用例集进行配置维护包括,Specifically, the configuration and maintenance of the regression use case set includes,
在各次迭代中,对功能测试中发现的缺陷进行分析,从中发现软件典型缺陷;在各次迭代后发布后,对软件发布后用户上报的使用问题进行分析,从中发现软件线上缺陷;设计用于发现上述软件典型缺陷和软件线上缺陷的用例保存入回归用例集。In each iteration, analyze the defects found in the functional test, and find typical software defects; after each iteration, analyze the usage problems reported by users after the software is released, and find software online defects; design The use cases used to discover the above-mentioned typical software defects and software online defects are saved into the regression use case set.
在该实施例中,本申请软件测试方法中用例配置维护如图2所示。结合图2,为便于进一步理解本申请技术方案,下面对本申请的该实施技术方案中,核心用例(核心用例集中用例)、镜像用例(镜像用例集中用例)、迭代用例(迭代用例集中用例)、回归用例(回归用例集中用例)的区别和用途进行进一步说明:In this embodiment, the use case configuration maintenance in the software testing method of the present application is shown in FIG. 2 . In conjunction with Fig. 2, for the convenience of further understanding of the technical solution of the present application, in the implementation technical solution of the present application below, core use case (concentrated use case of core use case), mirroring use case (concentrated use case of mirror image use case), iterative use case (concentrated use case of iterative use case), The differences and uses of regression use cases (regression use case set use cases) are further explained:
核心用例对比镜像用例:核心用例反映的是这个产品的主流程(核心流程),镜像用例反映的是当前产品的所有功能点。Core use case versus mirror use case: the core use case reflects the main process (core process) of this product, and the mirror use case reflects all the function points of the current product.
迭代用例对比镜像用例:迭代用例是针对具体一个迭代的功能检查点,镜像用例是迭代累积到当前状态的一个结果。Iteration use case versus mirror use case: Iteration use case is a functional checkpoint for a specific iteration, and mirror use case is a result of iteration accumulation to the current state.
回归用例:迭代过程发现提取出的典型缺陷,转化为回归用例,线上发生过的缺陷(典型缺陷),转化为回归用例。Regression use cases: The typical defects extracted during the iterative process are converted into regression use cases, and defects that have occurred online (typical defects) are converted into regression use cases.
核心用例可用来了解产品,除测试外,可为任何感兴趣之人所用;回归用例用来补充测试覆盖场景,迭代用例用来检查对应迭代功能,为测试人员所用;镜像用例用来传承,为本组测试老人/新入所用。Core use cases can be used to understand the product, and can be used by anyone who is interested in addition to testing; regression use cases are used to supplement test coverage scenarios, iteration use cases are used to check corresponding iteration functions, and are used by testers; mirror use cases are used for inheritance, for This group is used to test the elderly/newcomers.
此外需要说明的是,根据测试中能够投入的人力成本,还可不进行回归用例集的配置维护,在进行回归测试时,直接用镜像用例集中用例进行测试。In addition, it should be noted that according to the labor cost that can be invested in the test, the configuration and maintenance of the regression use case set may not be performed. When performing regression testing, the use cases in the mirrored use case set are directly used for testing.
本申请的一实施例中还提供了一种软件测试系统,该软件测试系统包括:A software testing system is also provided in an embodiment of the present application, and the software testing system includes:
迭代用例模块,用于保存当前迭代用例;The iterative use case module is used to save the current iterative use case;
核心用例模块,用于保存针对产品主要流程的测试用例;The core use case module is used to save test cases for the main process of the product;
镜像用例模块,用于保存历史迭代用例;Mirror use case module, used to save historical iteration use cases;
回归用例模块,用于保存回归测试用例;Regression use case module, used to save regression test cases;
处理模块,用于对迭代用例模块、核心用例模块、镜像用例模块和回归用例模块进行添加、删除、修改处理;The processing module is used to add, delete and modify the iteration use case module, core use case module, mirror use case module and regression use case module;
测试模块,用于调用迭代用例模块、核心用例模块、镜像用例模块和回归用例模块中用例进行软件测试。The test module is used to call the use cases in the iterative use case module, the core use case module, the mirror use case module and the regression use case module for software testing.
该软件测试系统中处理模块和测试模块的具体实现方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。The specific implementations of the processing module and the testing module in the software testing system have been described in detail in the embodiments of the method, and will not be described in detail here.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉该技术的人员在本发明所揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person familiar with the technology can easily think of changes or substitutions within the technical scope disclosed in the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910938815.7A CN110704322B (en) | 2019-09-30 | 2019-09-30 | Software testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910938815.7A CN110704322B (en) | 2019-09-30 | 2019-09-30 | Software testing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704322A CN110704322A (en) | 2020-01-17 |
CN110704322B true CN110704322B (en) | 2023-03-10 |
Family
ID=69197720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910938815.7A Active CN110704322B (en) | 2019-09-30 | 2019-09-30 | Software testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704322B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116126724A (en) * | 2023-02-24 | 2023-05-16 | 山东云海国创云计算装备产业创新中心有限公司 | A chip driver testing method and testing system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521376A (en) * | 2011-12-20 | 2012-06-27 | 上海电机学院 | Method for simplifying software test case suite |
US8881095B1 (en) * | 2012-03-30 | 2014-11-04 | Sprint Communications Company L.P. | Software defect prediction |
CN107391376A (en) * | 2017-07-26 | 2017-11-24 | 成都科来软件有限公司 | A kind of regression testing method |
CN109446097A (en) * | 2018-11-07 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of regression test case selection method, device, terminal and storage medium |
CN109918271A (en) * | 2019-03-28 | 2019-06-21 | 上海中通吉网络技术有限公司 | Data quality monitoring method, system and storage medium |
CN110134588A (en) * | 2019-04-16 | 2019-08-16 | 江苏大学 | A test case prioritization method and test system based on code and combined coverage |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005045673A2 (en) * | 2003-11-04 | 2005-05-19 | Kimberly-Clark Worldwide, Inc. | Testing tool for complex component based software systems |
US20090307763A1 (en) * | 2008-06-05 | 2009-12-10 | Fiberlink Communications Corporation | Automated Test Management System and Method |
-
2019
- 2019-09-30 CN CN201910938815.7A patent/CN110704322B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521376A (en) * | 2011-12-20 | 2012-06-27 | 上海电机学院 | Method for simplifying software test case suite |
US8881095B1 (en) * | 2012-03-30 | 2014-11-04 | Sprint Communications Company L.P. | Software defect prediction |
CN107391376A (en) * | 2017-07-26 | 2017-11-24 | 成都科来软件有限公司 | A kind of regression testing method |
CN109446097A (en) * | 2018-11-07 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of regression test case selection method, device, terminal and storage medium |
CN109918271A (en) * | 2019-03-28 | 2019-06-21 | 上海中通吉网络技术有限公司 | Data quality monitoring method, system and storage medium |
CN110134588A (en) * | 2019-04-16 | 2019-08-16 | 江苏大学 | A test case prioritization method and test system based on code and combined coverage |
Non-Patent Citations (5)
Title |
---|
Adaptive Random Testing by Static Partitioning;Korosh Koochekian Sabor;《IEEE Xplore》;20150727;全文 * |
基于历史信息的自适应测试用例优先级技术;常龙辉等;《计算机科学》;20150915(第09期);全文 * |
基于持续集成的冒烟测试;姜文等;《计算机技术与发展》;20180428(第08期);全文 * |
基于程序切片的测试用例集约简方法;吴洁等;《重庆交通大学学报(自然科学版)》;20100415(第02期);全文 * |
应用软件项目的迭代开发与测试;姜文等;《计算机技术与发展》;20181220(第04期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110704322A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111352651A (en) | Code branch management method and device | |
CN111680008B (en) | Log processing method and system, readable storage medium and intelligent device | |
CN109656820B (en) | Intelligent automatic test system based on CBTC | |
CN109739933A (en) | Storage space release method, device, terminal and computer-readable storage medium | |
CN110489436A (en) | Variation and platform, computer equipment and readable medium on the line of database | |
US8321867B1 (en) | Request processing for stateless conformance engine | |
CN111461283A (en) | Automatic iteration operation and maintenance method, system, equipment and storage medium of AI model | |
US20240427564A1 (en) | Systems and methods for code development with generative artificial intelligence | |
US10073938B2 (en) | Integrated circuit design verification | |
CN110704322B (en) | Software testing method and system | |
CN117216095A (en) | Structured query statement detection method, device, equipment and medium | |
CN108874611A (en) | A kind of construction method and device of test data | |
CN108460160A (en) | Inserting method, device, terminal and the storage medium of database instance | |
CN109063040B (en) | Client program data acquisition method and system | |
CN114519071A (en) | Generation method, matching method, system, device and medium of rule matching model | |
CN101150624A (en) | A system and method for data configuration | |
CN117407205A (en) | Abnormality processing method, abnormality processing device, storage medium and electronic equipment | |
US20230385157A1 (en) | Snapshot comparison with metadata compaction | |
CN113703916B (en) | Cloud virtual machine life cycle state dependency relation extraction method oriented to anomaly detection | |
CN115543815A (en) | Test data initialization method and device | |
CN114817012A (en) | Automatic test data management method and system | |
CN107729187A (en) | A kind of test case management disaster recovery method and system based on virtual platform | |
CN109992475B (en) | Log processing method, server and storage medium | |
CN111580953A (en) | Method and device for making a scheduling simulation scene, storage medium and electronic device | |
CN114253867B (en) | Automatic testing method, device and system based on neural network model |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |