CN110737577B - A method and device for storing test defect data - Google Patents
A method and device for storing test defect data Download PDFInfo
- Publication number
- CN110737577B CN110737577B CN201810803274.2A CN201810803274A CN110737577B CN 110737577 B CN110737577 B CN 110737577B CN 201810803274 A CN201810803274 A CN 201810803274A CN 110737577 B CN110737577 B CN 110737577B
- Authority
- CN
- China
- Prior art keywords
- level
- test
- defect
- mapping relation
- storage system
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 549
- 230000007547 defect Effects 0.000 title claims abstract description 370
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000013507 mapping Methods 0.000 claims abstract description 342
- 238000013500 data storage Methods 0.000 claims abstract description 25
- 230000002950 deficient Effects 0.000 claims description 21
- 238000010998 test method Methods 0.000 claims description 4
- 238000005070 sampling Methods 0.000 claims 3
- 238000000605 extraction Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
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/3692—Test management for test results analysis
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)
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,具体涉及一种测试缺陷数据存储方法、装置、电子设备和计算机存储介质。The invention relates to the technical field of computers, in particular to a test defect data storage method, device, electronic equipment and computer storage medium.
背景技术Background technique
一个应用开发新版本或者增加新功能时,在该新版本应用或新功能发布前,需要进行测试,以便使开发人员得知该新版本应用或新功能的运行状态。在测试时,会得到一些缺陷数据,为了开发人员调用或分析这些缺陷数据,一般会将测试时得到的缺陷数据进行存储,例如,存储至专门的缺陷存储系统。但是专门的缺陷存储系统有自身的目录层级,在进行缺陷存储时,需要按照缺陷存储系统的目录层级进行存储,一旦缺陷数据的业务层级不符合,则无法存储,例如,缺陷数据对应的业务层级可能是三级,而缺陷存储系统的目录层级是二级,这就使得缺陷数据的存储不是很友好,存储效率低下。When a new version of an application is developed or a new function is added, before the new version of the application or the new function is released, a test needs to be carried out so that developers can know the running status of the new version of the application or the new function. During testing, some defect data will be obtained. In order for developers to call or analyze these defect data, the defect data obtained during testing will generally be stored, for example, stored in a dedicated defect storage system. However, the special defect storage system has its own directory level. When storing defects, it needs to be stored according to the directory level of the defect storage system. Once the business level of the defect data does not match, it cannot be stored. For example, the business level corresponding to the defect data It may be three levels, but the directory level of the defect storage system is two levels, which makes the storage of defect data not very friendly and the storage efficiency is low.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的测试缺陷数据存储方法、装置、电子设备和计算机存储介质。In view of the above problems, the present invention is proposed to provide a test defect data storage method, device, electronic device and computer storage medium that overcome the above problems or at least partially solve the above problems.
根据本发明的一个方面,提供了一种测试缺陷数据存储方法,其中,该方法包括:According to one aspect of the present invention, a method for storing test defect data is provided, wherein the method includes:
接收用于提出测试请求的提测单;Receive test submissions for submitting test requests;
建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;Establishing a mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system;
获取与所述提测单对应的测试获得的缺陷数据;Obtain the defect data obtained from the test corresponding to the test proposal;
根据所述映射关系,将获取的缺陷数据存储至所述缺陷存储系统中相应的目录层级下的存储文件中。According to the mapping relationship, the acquired defect data is stored in a storage file under a corresponding directory level in the defect storage system.
可选地,该方法进一步包括:Optionally, the method further includes:
创建映射关系表;Create a mapping relationship table;
将建立的所述提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至所述映射关系表中;saving the established mapping relationship between the service level of the test bill and the directory level of the defect storage system in the mapping relationship table;
当接收到指定提测单的缺陷数据的获取请求时,查询所述映射关系表,确定与所述指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;When receiving the acquisition request of the defect data of the designated test proposal, query the mapping relationship table, and determine the directory level of the defect storage system that has a mapping relationship with the business level of the designated test proposal;
从确定的缺陷存储系统的目录层级下的存储文件中获取所述指定提测单对应的缺陷数据。The defect data corresponding to the designated test proposal is acquired from the storage files under the determined directory level of the defect storage system.
可选地,该方法进一步包括:Optionally, the method further includes:
根据获取的指定提测单对应的缺陷数据生成相应的测试报告。Generate a corresponding test report based on the acquired defect data corresponding to the specified test proposal.
可选地,所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:Optionally, the establishment of the mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system includes:
获取所述提测单对应的业务层级;Obtain the service level corresponding to the test proposal;
根据获取的业务层级,建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。According to the obtained business level, a mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system is established.
可选地,所述获取所述提测单对应的业务层级包括:Optionally, the obtaining the service level corresponding to the test proposal includes:
直接从所述提测单中获取对应的业务层级;Obtain the corresponding business level directly from the test proposal;
或者,or,
提供业务层级输入接口,通过所述接口接收所述提测单对应的业务层级;Provide a service level input interface, and receive the service level corresponding to the test proposal through the interface;
或者,or,
在接收到所述提测单时,从指定数据库中获取与所述提测单对应的业务层级;其中,所述指定数据库中存储有提测单对应的业务层级。When the test proposal is received, the service level corresponding to the test proposal is obtained from a designated database; wherein, the designated database stores the service level corresponding to the test proposal.
可选地,所述缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;Optionally, the directory hierarchy of the defective storage system includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies;
所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:The establishment of the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system includes:
根据所述业务层级中的业务线信息,建立所述提测单对应的业务线与所述缺陷存储系统的目录层级的第一层级的映射关系;According to the business line information in the business level, establish a mapping relationship between the business line corresponding to the test proposal and the first level of the directory level of the defect storage system;
根据所述业务层级中的测试标识信息,建立所述提测单对应的测试标识信息与所述缺陷存储系统的所述第一层级下的第二层级的映射关系。According to the test identification information in the service level, establish a mapping relationship between the test identification information corresponding to the test proposal and the second level under the first level of the defect storage system.
可选地,在所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,该方法进一步包括:Optionally, before the establishment of the mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system, the method further includes:
查询映射关系表,判断所述映射关系表中是否存在与所述提测单的业务层级对应的映射关系;其中,所述映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;Querying the mapping relationship table, and judging whether there is a mapping relationship corresponding to the business level of the test bill in the mapping relationship table; wherein, the mapping relationship table stores the relationship between the business level corresponding to the test bill and the defect storage system Directory-level mapping relationship;
若不存在,在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系;If it does not exist, create a new directory level in the defect storage system, and establish a mapping relationship between the business level corresponding to the test proposal and the created new directory level;
若存在,则根据所述映射关系,将获取的缺陷数据直接存储至所述缺陷存储系统中相应的目录层级下的存储文件中。If it exists, according to the mapping relationship, the acquired defect data is directly stored in a storage file under a corresponding directory level in the defect storage system.
可选地,所述缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;Optionally, the defect storage system includes a first level and a second level, wherein the first level includes one or more second levels;
所述在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系包括:The creating a new directory level in the defect storage system, and establishing the mapping relationship between the service level corresponding to the testing order and the created new directory level include:
查询所述映射关系表中是否存在与所述提测单对应的业务层级的业务线信息对应的映射关系;Querying whether there is a mapping relationship corresponding to the business line information of the business level corresponding to the testing order in the mapping relationship table;
若存在,则在与所述业务线信息具有映射关系的第一层级下创建新的第二层级,建立所述提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;If it exists, create a new second level under the first level that has a mapping relationship with the business line information, and establish a mapping between the test identification information of the business level corresponding to the test proposal and the created second level. relation;
若不存在,则在所述缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立所述提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立所述提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。If it does not exist, create a new first level in the defect storage system, and create a new second level under the created first level; establish the business line information and create The mapping relationship of the first level, and the mapping relationship between the test identification information of the business level corresponding to the test proposal and the created second level is established.
可选地,所述缺陷存储系统是指缺陷跟踪系统bugzilla。Optionally, the bug storage system refers to bugzilla, a bug tracking system.
根据本发明的另一方面,提供了一种测试缺陷数据存储装置,其中,该装置包括:According to another aspect of the present invention, a test defect data storage device is provided, wherein the device includes:
提测单接收单元,适于接收用于提出测试请求的提测单;A testing order receiving unit adapted to receive a testing order for making a test request;
映射关系建立单元,适于建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;A mapping relationship establishment unit, adapted to establish a mapping relationship between the business level corresponding to the test bill and the directory level of the defect storage system;
缺陷数据获取单元,适于获取与所述提测单对应的测试获得的缺陷数据;a defect data acquisition unit, adapted to acquire defect data obtained from the test corresponding to the testing order;
缺陷数据存储单元,适于根据所述映射关系,将获取的缺陷数据存储至所述缺陷存储系统中相应的目录层级下的存储文件中。The defect data storage unit is adapted to store the obtained defect data in storage files under the corresponding directory level in the defect storage system according to the mapping relationship.
可选地,该装置进一步包括:Optionally, the device further includes:
映射关系存储单元,适于创建映射关系表;将建立的所述提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至所述映射关系表中;The mapping relationship storage unit is adapted to create a mapping relationship table; and save the established mapping relationship between the business level of the test bill and the directory level of the defect storage system in the mapping relationship table;
缺陷数据确定单元,适于当接收到指定提测单的缺陷数据的获取请求时,查询所述映射关系表,确定与所述指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;从确定的缺陷存储系统的目录层级下的存储文件中获取所述指定提测单对应的缺陷数据。The defect data determining unit is adapted to query the mapping relationship table when receiving the defect data acquisition request of the designated test bill, and determine the directory level of the defect storage system that has a mapping relationship with the business level of the designated test bill ; Acquiring the defect data corresponding to the specified testing proposal form from the storage files under the determined directory level of the defect storage system.
可选地,该装置进一步包括:Optionally, the device further includes:
测试报告生成单元,适于根据获取的指定提测单对应的缺陷数据生成相应的测试报告。The test report generation unit is adapted to generate a corresponding test report according to the obtained defect data corresponding to the specified test proposal.
可选地,Optionally,
所述映射关系建立单元,适于获取所述提测单对应的业务层级;根据获取的业务层级,建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。The mapping relationship establishment unit is adapted to obtain the service level corresponding to the test proposal; according to the acquired business level, establish a mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system.
可选地,Optionally,
所述映射关系建立单元,适于直接从所述提测单中获取对应的业务层级;或者,提供业务层级输入接口,通过所述接口接收所述提测单对应的业务层级;或者,在接收到所述提测单时,从指定数据库中获取与所述提测单对应的业务层级;其中,所述指定数据库中存储有提测单对应的业务层级。The mapping relationship establishment unit is adapted to directly obtain the corresponding service level from the test proposal; or provide a service level input interface through which the service level corresponding to the test proposal is received; or, upon receiving When the test submission form is received, the service level corresponding to the test submission form is obtained from a designated database; wherein, the service level corresponding to the test submission form is stored in the designated database.
可选地,所述缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;Optionally, the directory hierarchy of the defective storage system includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies;
所述映射关系建立单元,适于根据所述业务层级中的业务线信息,建立所述提测单对应的业务线与所述缺陷存储系统的目录层级的第一层级的映射关系;根据所述业务层级中的测试标识信息,建立所述提测单对应的测试标识信息与所述缺陷存储系统的所述第一层级下的第二层级的映射关系。The mapping relationship establishment unit is adapted to establish a mapping relationship between the business line corresponding to the test proposal and the first level of the directory level of the defect storage system according to the business line information in the business level; according to the The test identification information in the service level establishes a mapping relationship between the test identification information corresponding to the test proposal and the second level under the first level of the defect storage system.
可选地,该装置进一步包括:Optionally, the device further includes:
映射关系查询单元,适于在所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,查询映射关系表,判断所述映射关系表中是否存在与所述提测单的业务层级对应的映射关系;其中,所述映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;若不存在,在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系;若存在,则根据所述映射关系,将获取的缺陷数据直接存储至所述缺陷存储系统中相应的目录层级下的存储文件中。The mapping relationship query unit is adapted to query the mapping relationship table before establishing the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system, and determine whether there is a mapping relationship in the mapping relationship table that is related to the proposed problem. The mapping relationship corresponding to the business level of the test sheet; wherein, the mapping relationship table stores the mapping relationship between the business level corresponding to the test order and the directory level of the defect storage system; if it does not exist, create a new one in the defect storage system directory level, establishing a mapping relationship between the business level corresponding to the test proposal and the created new directory level; if it exists, according to the mapping relationship, the acquired defect data is directly stored in the corresponding defect storage system In the storage file under the directory hierarchy.
可选地,所述缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;Optionally, the defect storage system includes a first level and a second level, wherein the first level includes one or more second levels;
所述映射关系查询单元,适于查询所述映射关系表中是否存在与所述提测单对应的业务层级的业务线信息对应的映射关系;若存在,则在与所述业务线信息具有映射关系的第一层级下创建新的第二层级,建立所述提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;若不存在,则在所述缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立所述提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立所述提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。The mapping relationship query unit is adapted to query whether there is a mapping relationship corresponding to the business line information of the business level corresponding to the survey proposal in the mapping relationship table; if it exists, it has a mapping relationship with the business line information Create a new second level under the first level of the relationship, and establish a mapping relationship between the test identification information of the service level corresponding to the test proposal and the created second level; if it does not exist, then in the defect storage system Create a new first level in the first level, and create a new second level under the created first level; establish the mapping relationship between the business line information of the business level corresponding to the test proposal and the created first level, and establish the The mapping relationship between the test identification information of the service level corresponding to the above-mentioned test proposal and the created second level.
可选地,所述缺陷存储系统是指缺陷跟踪系统bugzilla。Optionally, the bug storage system refers to bugzilla, a bug tracking system.
根据本发明的又一方面,提供了一种电子设备,其中,该电子设备包括:According to yet another aspect of the present invention, an electronic device is provided, wherein the electronic device includes:
处理器;以及,Processor; and,
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行根据前述的方法。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the method according to the foregoing.
根据本发明的再一方面,提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现前述的方法。According to still another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the aforementioned Methods.
根据本发明的技术方案,接收用于提出测试请求的提测单;建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;获取与提测单对应的测试获得的缺陷数据;根据映射关系,将获取的缺陷数据存储至缺陷存储系统中相应的目录层级下的存储文件中。通过本技术方案,建立了提测单对应的业务层级与缺陷存储系统的目录层级的映射关系,测试人员可以根据自己的需求提交测试单,然后测试得到的缺陷数据自动存储到缺陷存储系统,不需要按照缺陷存储系统的目录层级,也可以实现缺陷数据的存储,提高了存储效率,使得缺陷数据的存储更加人性化,增强用户的使用体验。According to the technical solution of the present invention, receiving a test request form for submitting a test request; establishing a mapping relationship between the business level corresponding to the test order and the directory level of the defect storage system; obtaining the defect data obtained by the test corresponding to the test order; According to the mapping relationship, the acquired defect data is stored in a storage file under a corresponding directory level in the defect storage system. Through this technical solution, the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system is established. The tester can submit the test form according to his own needs, and then the defect data obtained by the test is automatically stored in the defect storage system. According to the directory hierarchy of the defect storage system, the storage of defect data can also be realized, which improves the storage efficiency, makes the storage of defect data more humanized, and enhances the user experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了根据本发明一个实施例的测试缺陷数据存储方法的流程示意图;FIG. 1 shows a schematic flow diagram of a method for storing test defect data according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的测试缺陷数据存储装置的结构示意图;FIG. 2 shows a schematic structural diagram of a test defect data storage device according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的电子设备的结构示意图;FIG. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的计算机可读存储介质的结构示意图。Fig. 4 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本发明一个实施例的测试缺陷数据存储方法的流程示意图。如图1所示,该方法包括:Fig. 1 shows a schematic flowchart of a method for storing test defect data according to an embodiment of the present invention. As shown in Figure 1, the method includes:
步骤S110,接收用于提出测试请求的提测单。Step S110, receiving a test submission form for making a test request.
本实施例中,可以采用提供接口的方式,通过接口接收用户提出测试请求的测试单。测试人员可以根据自己的需求或根据自己的习惯输入相应的提测单,而不需要考虑提测单的业务层级是否符合缺陷存储系统的目录层级。In this embodiment, the method of providing an interface may be used to receive the test form of the user's test request through the interface. Testers can input the corresponding test submission form according to their own needs or according to their own habits, without considering whether the business level of the test submission form conforms to the directory level of the defect storage system.
步骤S120,建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。Step S120, establishing a mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system.
步骤S130,获取与提测单对应的测试获得的缺陷数据。Step S130, acquiring the defect data obtained from the test corresponding to the test proposal.
步骤S140,根据映射关系,将获取的缺陷数据存储至缺陷存储系统中相应的目录层级下的存储文件中。Step S140, according to the mapping relationship, store the acquired defect data in the storage file under the corresponding directory level in the defect storage system.
测试人员提交提测单后,根据该提测单会进行相应的测试,测试过程中会获得缺陷数据,为了实现缺陷数据的存储,可以采用本实施例的方案,根据映射关系,将缺陷数据直接进行存储,而无需考虑对应的业务层级与目录层级是否一致的问题。通过本实施例,实现了缺陷数据的存储,提高了存储效率,使得缺陷数据的存储更加人性化,增强用户的使用体验。After the tester submits the test report, the corresponding test will be carried out according to the test report, and the defect data will be obtained during the test. In order to realize the storage of the defect data, the solution of this embodiment can be used, and the defect data can be directly stored according to the mapping relationship. Store without considering whether the corresponding business level is consistent with the directory level. Through this embodiment, the storage of defect data is realized, the storage efficiency is improved, the storage of defect data is more humanized, and the use experience of users is enhanced.
另外,缺陷数据存储系统是一个独立的系统,针对具有一定的流程的测试来说,缺陷存储系统与测试其他流程缺乏关联,需要测试人员进行特定的缺陷数据存储操作,才可以实现缺陷数据的存储。In addition, the defect data storage system is an independent system. For a test with a certain process, the defect storage system is not related to other test processes. It requires testers to perform specific defect data storage operations to realize defect data storage. .
通过本实施例,将缺陷存储系统与整个测试流程关联起来,测试人员只要提交测试单即可,不需要进行单独的操作也可以实现缺陷数据的存储,进一步提高用户的使用体验。Through this embodiment, the defect storage system is associated with the entire test process, and the tester only needs to submit the test sheet, and can realize the storage of defect data without performing separate operations, further improving the user experience.
在本发明的一个实施例中,图1所示的方法进一步包括:创建映射关系表;将建立的提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至映射关系表中;当接收到指定提测单的缺陷数据的获取请求时,查询映射关系表,确定与指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;从确定的缺陷存储系统的目录层级下的存储文件中获取指定提测单对应的缺陷数据。In one embodiment of the present invention, the method shown in FIG. 1 further includes: creating a mapping relationship table; saving the established mapping relationship between the business level of the test bill and the directory level of the defect storage system in the mapping relationship table; When receiving the defect data acquisition request of the specified test proposal, query the mapping relationship table to determine the directory level of the defect storage system that has a mapping relationship with the business level of the specified test proposal; from the directory level of the determined defect storage system Obtain the defect data corresponding to the specified test proposal from the storage file.
考虑到现有技术中缺陷存储系统与测试其他流程缺乏关联,而且,在读取缺陷数据时,也需要操作人员数值该缺陷系统的目录层级信息,以及需要读取的缺陷数据相应的信息才可以。因此,提出了本实施例的方案。Considering the lack of connection between the defect storage system and other testing processes in the prior art, and when reading the defect data, the operator also needs to value the directory level information of the defect system and the information corresponding to the defect data that needs to be read. . Therefore, the proposal of this embodiment is proposed.
通过本实施例的方案,一方面可以将缺陷存储系统与测试其他流程相关联,也可以实现缺陷数据的灵活读取,只需要根据提测单信息(例如标识信息)就可以获取到对应的缺陷数据。Through the solution of this embodiment, on the one hand, the defect storage system can be associated with other testing processes, and the flexible reading of defect data can also be realized, and the corresponding defect can be obtained only according to the information of the test order (such as identification information) data.
进一步地,图1所示方法进一步包括:根据获取的指定提测单对应的缺陷数据生成相应的测试报告。Further, the method shown in FIG. 1 further includes: generating a corresponding test report according to the obtained defect data corresponding to the designated test proposal.
通过本实施例,将测试过程中的测试单提交、测试、缺陷数据存储、缺陷数据读取以及测试报告的生成等测试流程整合到一起,进一步方便了测试人员的操作,提高了用户的使用体验。Through this embodiment, the test procedures such as test sheet submission, testing, defect data storage, defect data reading, and test report generation in the test process are integrated together, which further facilitates the operation of testers and improves user experience .
在本发明的一个实施例中,图1所示的步骤S120中的建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:获取提测单对应的业务层级;根据获取的业务层级,建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。In one embodiment of the present invention, in step S120 shown in FIG. 1 , establishing the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system includes: obtaining the business level corresponding to the test proposal; Business level, establish the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system.
在本实施例中,为了建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系,首先需要获取提测单对应的业务层级。In this embodiment, in order to establish a mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system, it is first necessary to obtain the service level corresponding to the test proposal.
优选地,提测单对应的业务层级包括业务线信息、项目信息或测试标识信息。Preferably, the business level corresponding to the test proposal includes line of business information, project information or test identification information.
进一步地,上述的获取提测单对应的业务层级包括:直接从提测单中获取对应的业务层级;或者,提供业务层级输入接口,通过接口接收提测单对应的业务层级;或者,在接收到提测单时,从指定数据库中获取与提测单对应的业务层级;其中,指定数据库中存储有提测单对应的业务层级。Further, the above-mentioned acquisition of the service level corresponding to the test proposal includes: directly obtaining the corresponding business level from the test proposal; or, providing a service level input interface, and receiving the service level corresponding to the test proposal through the interface; or, receiving When the testing order is received, the business level corresponding to the testing order is obtained from the designated database; wherein, the business level corresponding to the testing order is stored in the designated database.
本实施例中,可以通过三个途径获取到测试单对应的业务层级。如果接收到的提测单中有对应的业务层级,则可以直接从提测单中获取对应的业务层级;也可以提供业务层级输入的接口,用户通过该接口输入提测单对应的业务层级,即通过该接口获取到提测单对应的业务层级;如果测试人员将提测单的相关信息存储在指定数据库中,则在接收到提测单时,从指定数据库中获取对应的业务层级,例如,指定数据库中对应保存有提测单的标识信息和业务层级,则可以通过提测单的标识信息,从指定数据库中获取对应的业务层级。In this embodiment, the service level corresponding to the test order can be obtained through three ways. If there is a corresponding business level in the received test proposal, the corresponding business level can be obtained directly from the test proposal; an interface for inputting the business level can also be provided, through which the user can input the corresponding business level of the test proposal. That is, the business level corresponding to the test proposal is obtained through this interface; if the tester stores the relevant information of the test proposal in the designated database, the corresponding business level is obtained from the designated database when the test proposal is received, for example , the designated database correspondingly stores the identification information and business level of the testing order, then the corresponding business level can be obtained from the designated database through the identification information of the testing order.
在本发明的一个实施例中,图1所示的方法中的缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级。In an embodiment of the present invention, the directory hierarchy of the defective storage system in the method shown in FIG. 1 includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies.
则图1所示方法中的步骤S120中的建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:根据业务层级中的业务线信息,建立提测单对应的业务线与缺陷存储系统的目录层级的第一层级的映射关系;根据业务层级中的测试标识信息,建立提测单对应的测试标识信息与缺陷存储系统的第一层级下的第二层级的映射关系。Then, in step S120 of the method shown in FIG. 1 , the establishment of the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system includes: according to the business line information in the business level, establishing the business line corresponding to the testing order and The mapping relationship of the first level of the directory level of the defect storage system; according to the test identification information in the business level, establish the mapping relationship between the test identification information corresponding to the test order and the second level under the first level of the defect storage system.
在本发明中,缺陷存储系统的目录层级包括两个层级,那么就将提测单的业务线信息和测试标识信息分别与缺陷存储系统有两个层级建立映射关系。这里的测试标识信息可以是唯一标识码也可以是测试人员定义的测试名称。In the present invention, the directory hierarchy of the defect storage system includes two levels, so the business line information and test identification information of the test submission form are respectively mapped to two levels of the defect storage system. The test identification information here may be a unique identification code or a test name defined by the tester.
例如,缺陷存储系统的目录层级包括产品层级和组件层级,则将提测单的业务线信息与产品层级建立关系,将提测单的测试标识信息与组件层级建立关系。For example, the directory level of the defect storage system includes the product level and the component level, and the relationship between the business line information of the test order and the product level is established, and the test identification information of the test order is established with the component level.
在一个具体的例子中,缺陷存储系统有产品层级和组件层级。提测单1的业务层级是业务线信息1、测试标识1;提测单2的业务层级是业务线信息2、测试标识2;提测单3的业务层级是业务线信息1、测试标识3。建立映射关系时,将提测单1的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单1的测试标识信息1与缺陷存储系统的组件层级1建立映射关系;将提测单2的业务线信息2与缺陷存储系统的产品层级2建立映射关系,将提测单2的测试标识信息2与缺陷存储系统的组件层级2建立映射关系;将提测单3的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单3的测试标识信息3与缺陷存储系统的组件层级3建立映射关系。In a specific example, a defect storage system has a product level and a component level. The business level of test submission 1 is business line information 1, test ID 1; the business level of test submission 2 is business line information 2, test ID 2; the business level of test submission 3 is business line information 1, test ID 3 . When establishing the mapping relationship, establish a mapping relationship between the business line information 1 of the test proposal 1 and the product level 1 of the defect storage system, and establish a mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the defect storage system; Establish a mapping relationship between the business line information 2 of the testing order 2 and the product level 2 of the defect storage system, and establish a mapping relationship between the test identification information 2 of the testing order 2 and the component level 2 of the defect storage system; The line information 1 establishes a mapping relationship with the product level 1 of the defect storage system, and establishes a mapping relationship between the test identification information 3 of the testing order 3 and the component level 3 of the defect storage system.
那么在缺陷数据存储时,则将提测单1对应的缺陷数据1存储到产品层级1下的组件层级1下的存储文件中;提测单2对应的缺陷数据2存储到产品层级2下的组件层级2下的存储文件中;将提测单3对应的缺陷数据3存储到产品层级1下的组件层级3下的存储文件中。Then, when defect data is stored, the defect data 1 corresponding to the testing order 1 is stored in the storage file under the component level 1 under the product level 1; the defect data 2 corresponding to the testing order 2 is stored in the storage file under the product level 2 In the storage file under the component level 2; store the defect data 3 corresponding to the testing order 3 in the storage file under the component level 3 under the product level 1.
上述实施例是对缺陷存储系统有两个层级的情况下进行的说明,如果缺陷存储系统有两个以上的层级,也可以通过本技术方案实现。The above-mentioned embodiment is an explanation for the case where the defective storage system has two levels. If the defective storage system has more than two levels, it can also be realized through this technical solution.
在本发明的一个实施例中,缺陷存储系统的目录层级有三个层级,则建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:根据业务层级中的业务线信息,建立提测单对应的业务线与缺陷存储系统的目录层级的第一层级的映射关系;根据业务层级中的项目信息,建立提测单对应的项目信息与缺陷存储系统的第一层级下的第二层级的映射关系;根据业务层级中的测试标识信息,建立提测单对应的测试标识信息与缺陷存储系统的该第一层级下的该第二层级的第三层级的映射关系。In one embodiment of the present invention, the directory level of the defect storage system has three levels, then establishing the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system includes: according to the business line information in the business level, establish The mapping relationship between the business line corresponding to the test proposal and the first level of the directory hierarchy of the defect storage system; according to the project information in the business level, the project information corresponding to the test proposal and the second level under the first level of the defect storage system are established. Hierarchical mapping relationship: according to the test identification information in the service level, establish a mapping relationship between the test identification information corresponding to the test proposal and the third level of the second level under the first level of the defect storage system.
在一个具体的例子中,缺陷存储系统有产品层级、版本层级和组件层级,提测单1的业务层级是业务线信息1、项目信息1、测试标识1;提测单2的业务层级是业务线信息2、项目信息2、测试标识2;提测单3的业务层级是业务线信息1、项目信息1、测试标识3。建立映射关系时,将提测单1的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单1的项目信息1与缺陷存储系统的版本层级1建立映射关系,将提测单1的测试标识信息1与缺陷存储系统的组件层级1建立映射关系;将提测单2的业务线信息2与缺陷存储系统的产品层级2建立映射关系,将提测单2的项目信息2与缺陷存储系统的版本层级2建立映射关系,将提测单2的测试标识信息2与缺陷存储系统的组件层级2建立映射关系;将提测单3的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单3的项目信息1与缺陷存储系统的版本层级1建立映射关系,将提测单3的测试标识信息3与缺陷存储系统的组件层级3建立映射关系。In a specific example, the defect storage system has a product level, a version level, and a component level. The business level of test proposal 1 is business line information 1, project information 1, and test identification 1; the business level of test proposal 2 is business Line information 2, project information 2, test identification 2; the business level of test submission form 3 is business line information 1, project information 1, and test identification 3. When establishing the mapping relationship, establish a mapping relationship between the business line information 1 of the test proposal 1 and the product level 1 of the defect storage system, establish a mapping relationship between the project information 1 of the test proposal 1 and the version level 1 of the defect storage system, and provide Establish a mapping relationship between the test identification information 1 of the test order 1 and the component level 1 of the defect storage system; establish a mapping relationship between the business line information 2 of the test order 2 and the product level 2 of the defect storage system, and the project information of the test order 2 2 Establish a mapping relationship with the version level 2 of the defect storage system, and establish a mapping relationship between the test identification information 2 of the test proposal 2 and the component level 2 of the defect storage system; the business line information 1 of the test proposal 3 and the defect storage system Establish a mapping relationship at product level 1, establish a mapping relationship between project information 1 of test proposal 3 and version level 1 of the defect storage system, and establish a mapping relationship between test identification information 3 of test proposal 3 and component level 3 of the defect storage system.
那么在缺陷数据存储时,则将提测单1对应的缺陷数据1存储到产品层级1的版本层级1的组件层级1下的存储文件中;提测单2对应的缺陷数据2存储到产品层级2的版本层级2的组件层级2下的存储文件中;将提测单3对应的缺陷数据3存储到产品层级1的版本层级1的组件层级3下的存储文件中。Then, when defect data is stored, the defect data 1 corresponding to the testing order 1 is stored in the storage file under the component level 1 of the version level 1 of the product level 1; the defect data 2 corresponding to the testing order 2 is stored in the product level In the storage file under the component level 2 of the version level 2 of version 2; store the defect data 3 corresponding to the test proposal 3 in the storage file under the component level 3 of the version level 1 of the product level 1.
也就是说,本技术方案在建立映射关系时,不限定缺陷存储系统的目录层级的层技数,只要是依据本技术方案的建立映射关系的思路实现的,均包括在本技术方案内。That is to say, this technical solution does not limit the number of layers of the directory hierarchy of the defect storage system when establishing a mapping relationship, as long as it is realized based on the idea of establishing a mapping relationship in this technical solution, it is included in this technical solution.
在本发明的一个实施例中,在图1所示的方法的步骤S120中的建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,该方法进一步包括:查询映射关系表,判断映射关系表中是否存在与提测单的业务层级对应的映射关系;其中,映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;若不存在,在缺陷存储系统中创建新的目录层级,建立提测单对应的业务层级与创建的新的目录层级的映射关系;若存在,则根据映射关系,将获取的缺陷数据直接存储至缺陷存储系统中相应的目录层级下的存储文件中。In one embodiment of the present invention, before establishing the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system in step S120 of the method shown in FIG. 1 , the method further includes: querying the mapping relationship table , to determine whether there is a mapping relationship corresponding to the business level of the bill of lading in the mapping relationship table; wherein, the mapping relationship table stores the mapping relationship between the business level of the bill of lading and the directory level of the defect storage system; if not, Create a new directory level in the defect storage system, and establish a mapping relationship between the business level corresponding to the test proposal and the created new directory level; if it exists, the acquired defect data will be directly stored in the defect storage system according to the mapping relationship Store files under the corresponding directory hierarchy.
考虑到测试人员可能会对同样的测试内容提出相同的测试请求,即相同的测试单,那么相应的缺陷数据应该存储到同一个存储文件中。本实施例中,创建映射关系表,将建立的提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至映射关系表中。当再次接受提测单时,首先查询该映射关系表中是否已经存在与该提测单的业务层级对应的映射关系,如果存在,不需要重新建立映射关系,而是直接根据已有的映射关系进行缺陷数据的存储,实现同样的提测单的测试获得的缺陷数据存储在同一存储文件中。如果不存在,为了建立映射关系,需要创建新的目录层级,使得提测单的业务层级与新的目录层级建立映射关系。Considering that testers may make the same test request for the same test content, that is, the same test order, the corresponding defect data should be stored in the same storage file. In this embodiment, a mapping relationship table is created, and the established mapping relationship between the service level of the test bill and the directory level of the defect storage system is saved in the mapping relationship table. When accepting the test proposal again, first check whether the mapping relationship corresponding to the business level of the test proposal already exists in the mapping relationship table. If it exists, there is no need to re-establish the mapping relationship, but directly according to the existing mapping relationship Defect data storage is carried out, and the defect data obtained from the test of the same testing order is stored in the same storage file. If it does not exist, in order to establish a mapping relationship, a new directory level needs to be created, so that the business level of the test bill and the new directory level can be mapped.
例如,映射关系表中,存储有提测单1的业务线信息1与产品层级1的映射关系,以及提测单1的测试标识信息1与产品层级1的组件层级1的映射关系,则将提测单1的测试获得的缺陷数据存储在产品层级1的组件层级1下的存储文件中。如果没有,则说明没有与提测单1的业务层级具有映射关系的组件层级1和/或产品层级1,需要创建新的目录层级,建立提测单对应的业务层级与创建的新的目录层级的映射关系。For example, in the mapping relationship table, the mapping relationship between the business line information 1 of the test proposal 1 and the product level 1, and the mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the product level 1 are stored. The defect data obtained by the test of the test sheet 1 is stored in the storage file under the component level 1 of the product level 1. If not, it means that there is no component level 1 and/or product level 1 that has a mapping relationship with the business level of test proposal 1, and a new directory level needs to be created, and the business level corresponding to the test proposal and the new directory level created mapping relationship.
进一步地,上述的缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级。Further, the above defect storage system includes a first level and a second level, wherein the first level includes one or more second levels.
则上述的在缺陷存储系统中创建新的目录层级,建立提测单对应的业务层级与创建的新的目录层级的映射关系包括:查询映射关系表中是否存在与提测单对应的业务层级的业务线信息对应的映射关系;若存在,则在与业务线信息具有映射关系的第一层级下创建新的第二层级,建立提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;若不存在,则在缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。Then the above-mentioned creation of a new directory level in the defect storage system, and the establishment of the mapping relationship between the business level corresponding to the test proposal and the created new directory level include: querying whether there is a business level corresponding to the test proposal in the mapping relationship table The mapping relationship corresponding to the business line information; if it exists, create a new second level under the first level that has a mapping relationship with the business line information, and establish the test identification information of the business level corresponding to the test proposal and the created second level The mapping relationship between them; if it does not exist, create a new first level in the defect storage system, and create a new second level under the created first level; establish the business line information of the business level corresponding to the testing order The mapping relationship with the created first level, and the mapping relationship between the test identification information of the business level corresponding to the establishment of the test proposal and the created second level.
考虑到测试人员的测试需求是针对同一业务线下的不同内容的测试,那么就需要将该测试的缺陷数据存储到对应该业务线信息的缺陷存储系统的同一目录层级下。Considering that the testing needs of testers are for testing different content under the same business line, it is necessary to store the defect data of the test in the same directory level of the defect storage system corresponding to the information of the business line.
在上述实施例的基础上,创建新的目录层级时,还需要确定是建立新的第一层级还是建立新的第二层级。具体是,查询映射关系表中是否存在提测单的业务层级的业务线信息对应的映射关系,如果存在,说明该业务线信息对应的第一层级已经存在,则只需要建立第二层级即可,如果不存在,则说明既需要创建新的第二层级,也需要创建新的第一层级。Based on the above embodiments, when creating a new directory level, it is also necessary to determine whether to create a new first level or a new second level. Specifically, query whether there is a mapping relationship corresponding to the business line information of the business level of the bill of lading in the mapping relationship table. If it exists, it means that the first level corresponding to the business line information already exists, and only the second level needs to be established. , if it does not exist, it means that both a new second level and a new first level need to be created.
例如,接收到提测单1后,获取提测单1的业务层级的业务线信息1和测试标识信息1,查询映射关系表中,如果存储有提测单1的业务线信息1与产品层级1的映射关系,但是不存在提测单1的测试标识信息1与产品层级1的组件层级1的映射关系,则在产品层级1下创建新的组件x,建立提测单1的业务层级的业务线信息1与产品层级1的映射关系,以及建立测试标识信息1与组件x的映射关系,将提测单1的测试获得的缺陷数据存储在产品层级1的组件x下的存储文件中。如果既没有与提测单1的业务线信息1对应的映射关系,也没有提测单1的测试标识信息1对应的映射关系,则创建新的产品x,以及在产品x下创建新的组件y,建立提测单1的业务层级的业务线信息1与产品x的映射关系,以及建立测试标识信息1与组件y的映射关系,将提测单1的测试获得的缺陷数据存储在产品x的组件y下的存储文件中。For example, after receiving the test proposal 1, obtain the business line information 1 and test identification information 1 of the business level of the test proposal 1, query the mapping relationship table, if the business line information 1 and the product level of the test proposal 1 are stored 1, but there is no mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the product level 1, then create a new component x under the product level 1, and establish the business level of the test proposal 1 The mapping relationship between line of business information 1 and product level 1, and the mapping relationship between test identification information 1 and component x are established, and the defect data obtained by the test of test order 1 is stored in the storage file under component x of product level 1. If there is neither a mapping relationship corresponding to the business line information 1 of the test proposal 1 nor a mapping relationship corresponding to the test identification information 1 of the test proposal 1, create a new product x and create a new component under product x y, establish the mapping relationship between the business line information 1 of the business level of the testing order 1 and the product x, and establish the mapping relationship between the test identification information 1 and the component y, and store the defect data obtained from the testing of the testing order 1 in the product x in the store file under component y.
在本发明的一个实施例中,图1所述的方法中的缺陷存储系统是指缺陷跟踪系统bugzilla。In one embodiment of the present invention, the defect storage system in the method described in FIG. 1 refers to the defect tracking system bugzilla.
bugzilla是一个独立的系统,将本发明的技术方案应用在使用bugzilla存储缺陷数据的场景中,可以实现bugzilla系统与其他测试流程的关联。具体地,bugzilla系统的目录层级包括有产品层级和组件层级(版本层级),那么就建立提测单的业务线信息与产品层级的映射关系,以及建立提测单的测试标识信息与组件(版本)层级的映射关系。Bugzilla is an independent system. Applying the technical solution of the present invention to the scene where bugzilla is used to store defect data can realize the association between the bugzilla system and other testing processes. Specifically, the directory hierarchy of the bugzilla system includes a product level and a component level (version level), so the mapping relationship between the business line information of the test order and the product level is established, and the test identification information and the component (version level) of the test order are established. ) level mapping relationship.
图2示出了根据本发明一个实施例的测试缺陷数据存储装置的结构示意图。如图2所示,该测试缺陷数据存储装置200包括:Fig. 2 shows a schematic structural diagram of a test defect data storage device according to an embodiment of the present invention. As shown in Figure 2, the test defect
提测单接收单元210,适于接收用于提出测试请求的提测单。The test
本实施例中,可以采用提供接口的方式,通过接口接收用户提出测试请求的测试单。测试人员可以根据自己的需求或根据自己的习惯输入相应的提测单,而不需要考虑提测单的业务层级是否符合缺陷存储系统的目录层级。In this embodiment, the method of providing an interface may be used to receive the test form of the user's test request through the interface. Testers can input the corresponding test submission form according to their own needs or according to their own habits, without considering whether the business level of the test submission form conforms to the directory level of the defect storage system.
映射关系建立单元220,适于建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。The mapping
缺陷数据获取单元230,适于获取与提测单对应的测试获得的缺陷数据。The defect
缺陷数据存储单元240,适于根据映射关系,将获取的缺陷数据存储至缺陷存储系统中相应的目录层级下的存储文件中。The defect
测试人员提交提测单后,根据该提测单会进行相应的测试,测试过程中会获得缺陷数据,为了实现缺陷数据的存储,可以采用本实施例的方案,根据映射关系,将缺陷数据直接进行存储,而无需考虑对应的业务层级与目录层级是否一致的问题。通过本实施例,实现了缺陷数据的存储,提高了存储效率,使得缺陷数据的存储更加人性化,增强用户的使用体验。After the tester submits the test proposal, the corresponding test will be carried out according to the test proposal, and the defect data will be obtained during the test. In order to realize the storage of the defect data, the solution of this embodiment can be adopted, and the defect data can be directly stored according to the mapping relationship. Store without considering whether the corresponding business level is consistent with the directory level. Through this embodiment, the storage of defect data is realized, the storage efficiency is improved, the storage of defect data is more humanized, and user experience is enhanced.
另外,缺陷数据存储系统是一个独立的系统,针对具有一定的流程的测试来说,缺陷存储系统与测试其他流程缺乏关联,需要测试人员进行特定的缺陷数据存储操作,才可以实现缺陷数据的存储。In addition, the defect data storage system is an independent system. For a test with a certain process, the defect storage system is not related to other test processes. It requires testers to perform specific defect data storage operations to realize defect data storage. .
通过本实施例,将缺陷存储系统与整个测试流程关联起来,测试人员只要提交测试单即可,不需要进行单独的操作也可以实现缺陷数据的存储,进一步提高用户的使用体验。Through this embodiment, the defect storage system is associated with the entire test process, and the tester only needs to submit the test sheet, and can realize the storage of defect data without performing separate operations, further improving the user experience.
在本发明的一个实施例中,图2所示的装置进一步包括:In one embodiment of the present invention, the device shown in Figure 2 further includes:
映射关系存储单元,适于创建映射关系表;将建立的提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至映射关系表中。The mapping relationship storage unit is suitable for creating a mapping relationship table; and saving the established mapping relationship between the business level of the bill of lading and the directory level of the defect storage system in the mapping relationship table.
缺陷数据确定单元,适于当接收到指定提测单的缺陷数据的获取请求时,查询映射关系表,确定与指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;从确定的缺陷存储系统的目录层级下的存储文件中获取指定提测单对应的缺陷数据。The defect data determination unit is adapted to query the mapping relationship table when receiving the defect data acquisition request of the designated test bill, and determine the directory level of the defect storage system that has a mapping relationship with the business level of the designated test bill; from the determined Obtain the defect data corresponding to the specified test proposal from the storage file under the directory level of the defect storage system.
考虑到现有技术中缺陷存储系统与测试其他流程缺乏关联,而且,在读取缺陷数据时,也需要操作人员数值该缺陷系统的目录层级信息,以及需要读取的缺陷数据相应的信息才可以。因此,提出了本实施例的方案。Considering the lack of connection between the defect storage system and other testing processes in the prior art, and when reading the defect data, the operator also needs to value the directory level information of the defect system and the information corresponding to the defect data that needs to be read. . Therefore, the proposal of this embodiment is proposed.
通过本实施例的方案,一方面可以将缺陷存储系统与测试其他流程相关联,也可以实现缺陷数据的灵活读取,只需要根据提测单信息(例如标识信息)就可以获取到对应的缺陷数据。Through the solution of this embodiment, on the one hand, the defect storage system can be associated with other testing processes, and the flexible reading of defect data can also be realized, and the corresponding defect can be obtained only according to the information of the test order (such as identification information) data.
在本发明的一个实施例中,图2所示的装置进一步包括:In one embodiment of the present invention, the device shown in Figure 2 further includes:
测试报告生成单元,适于根据获取的指定提测单对应的缺陷数据生成相应的测试报告。The test report generation unit is adapted to generate a corresponding test report according to the obtained defect data corresponding to the specified test proposal.
通过本实施例,将测试过程中的测试单提交、测试、缺陷数据存储、缺陷数据读取以及测试报告的生成等测试流程整合到一起,进一步方便了测试人员的操作,提高了用户的使用体验。Through this embodiment, the test procedures such as test sheet submission, testing, defect data storage, defect data reading, and test report generation in the test process are integrated together, which further facilitates the operation of testers and improves user experience .
在本发明的一个实施例中,图2所示的映射关系建立单元220,适于获取提测单对应的业务层级;根据获取的业务层级,建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。In one embodiment of the present invention, the mapping
在本实施例中,为了建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系,首先需要获取提测单对应的业务层级。In this embodiment, in order to establish a mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system, it is first necessary to obtain the service level corresponding to the test proposal.
优选地,提测单对应的业务层级包括业务线信息、项目信息或测试标识信息。Preferably, the business level corresponding to the test proposal includes line of business information, project information or test identification information.
进一步地,上述映射关系建立单元220,适于直接从提测单中获取对应的业务层级;或者,提供业务层级输入接口,通过接口接收提测单对应的业务层级;或者,在接收到提测单时,从指定数据库中获取与提测单对应的业务层级;其中,指定数据库中存储有提测单对应的业务层级。Further, the above-mentioned mapping
本实施例中,可以通过三个途径获取到测试单对应的业务层级。如果接收到的提测单中有对应的业务层级,则可以直接从提测单中获取对应的业务层级;也可以提供业务层级输入的接口,用户通过该接口输入提测单对应的业务层级,即通过该接口获取到提测单对应的业务层级;如果测试人员将提测单的相关信息存储在指定数据库中,则在接收到提测单时,从指定数据库中获取对应的业务层级,例如,指定数据库中对应保存有提测单的标识信息和业务层级,则可以通过提测单的标识信息,从指定数据库中获取对应的业务层级。In this embodiment, the service level corresponding to the test order can be obtained through three ways. If there is a corresponding business level in the received test proposal, the corresponding business level can be obtained directly from the test proposal; an interface for inputting the business level can also be provided, through which the user can input the corresponding business level of the test proposal. That is, the business level corresponding to the test proposal is obtained through this interface; if the tester stores the relevant information of the test proposal in the designated database, the corresponding business level is obtained from the designated database when the test proposal is received, for example , the designated database correspondingly stores the identification information and business level of the testing order, then the corresponding business level can be obtained from the designated database through the identification information of the testing order.
在本发明的一个实施例中,上述的缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级。In an embodiment of the present invention, the directory hierarchy of the defect storage system includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies.
则图2所示的映射关系建立单元220,适于根据业务层级中的业务线信息,建立提测单对应的业务线与缺陷存储系统的目录层级的第一层级的映射关系;根据业务层级中的测试标识信息,建立提测单对应的测试标识信息与缺陷存储系统的第一层级下的第二层级的映射关系。Then the mapping
在本发明中,缺陷存储系统的目录层级包括两个层级,那么就将提测单的业务线信息和测试标识信息分别与缺陷存储系统有两个层级建立映射关系。这里的测试标识信息可以是唯一标识码也可以是测试人员定义的测试名称。In the present invention, the directory hierarchy of the defect storage system includes two levels, so the business line information and test identification information of the test submission form are mapped to the two levels of the defect storage system respectively. The test identification information here may be a unique identification code or a test name defined by the tester.
例如,缺陷存储系统的目录层级包括产品层级和组件层级,则将提测单的业务线信息与产品层级建立关系,将提测单的测试标识信息与组件层级建立关系。For example, the directory level of the defect storage system includes the product level and the component level, and the relationship between the business line information of the test order and the product level is established, and the test identification information of the test order is established with the component level.
在一个具体的例子中,缺陷存储系统有产品层级和组件层级。提测单1的业务层级是业务线信息1、测试标识1;提测单2的业务层级是业务线信息2、测试标识2;提测单3的业务层级是业务线信息1、测试标识3。建立映射关系时,将提测单1的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单1的测试标识信息1与缺陷存储系统的组件层级1建立映射关系;将提测单2的业务线信息2与缺陷存储系统的产品层级2建立映射关系,将提测单2的测试标识信息2与缺陷存储系统的组件层级2建立映射关系;将提测单3的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单3的测试标识信息3与缺陷存储系统的组件层级3建立映射关系。In a specific example, a defect storage system has a product level and a component level. The business level of test submission 1 is business line information 1, test ID 1; the business level of test submission 2 is business line information 2, test ID 2; the business level of test submission 3 is business line information 1, test ID 3 . When establishing the mapping relationship, establish a mapping relationship between the business line information 1 of the test proposal 1 and the product level 1 of the defect storage system, and establish a mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the defect storage system; Establish a mapping relationship between the business line information 2 of the testing order 2 and the product level 2 of the defect storage system, and establish a mapping relationship between the test identification information 2 of the testing order 2 and the component level 2 of the defect storage system; The line information 1 establishes a mapping relationship with the product level 1 of the defect storage system, and establishes a mapping relationship between the test identification information 3 of the testing order 3 and the component level 3 of the defect storage system.
那么在缺陷数据存储时,则将提测单1对应的缺陷数据1存储到产品层级1下的组件层级1下的存储文件中;提测单2对应的缺陷数据2存储到产品层级2下的组件层级2下的存储文件中;将提测单3对应的缺陷数据3存储到产品层级1下的组件层级3下的存储文件中。Then, when defect data is stored, the defect data 1 corresponding to the testing order 1 is stored in the storage file under the component level 1 under the product level 1; the defect data 2 corresponding to the testing order 2 is stored in the storage file under the product level 2 In the storage file under the component level 2; store the defect data 3 corresponding to the testing order 3 in the storage file under the component level 3 under the product level 1.
上述实施例是对缺陷存储系统有两个层级的情况下进行的说明,如果缺陷存储系统有两个以上的层级,也可以通过本技术方案实现。The above-mentioned embodiment is an explanation for the case where the defective storage system has two levels. If the defective storage system has more than two levels, it can also be realized through this technical solution.
在本发明的一个实施例中,缺陷存储系统的目录层级有三个层级,则映射关系建立单元220,适于根据业务层级中的业务线信息,建立提测单对应的业务线与缺陷存储系统的目录层级的第一层级的映射关系;根据业务层级中的项目信息,建立提测单对应的项目信息与缺陷存储系统的第一层级下的第二层级的映射关系;根据业务层级中的测试标识信息,建立提测单对应的测试标识信息与缺陷存储系统的该第一层级下的该第二层级的第三层级的映射关系。In one embodiment of the present invention, the directory hierarchy of the defect storage system has three levels, and the mapping
在一个具体的例子中,缺陷存储系统有产品层级、版本层级和组件层级,提测单1的业务层级是业务线信息1、项目信息1、测试标识1;提测单2的业务层级是业务线信息2、项目信息2、测试标识2;提测单3的业务层级是业务线信息1、项目信息1、测试标识3。建立映射关系时,将提测单1的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单1的项目信息1与缺陷存储系统的版本层级1建立映射关系,将提测单1的测试标识信息1与缺陷存储系统的组件层级1建立映射关系;将提测单2的业务线信息2与缺陷存储系统的产品层级2建立映射关系,将提测单2的项目信息2与缺陷存储系统的版本层级2建立映射关系,将提测单2的测试标识信息2与缺陷存储系统的组件层级2建立映射关系;将提测单3的业务线信息1与缺陷存储系统的产品层级1建立映射关系,将提测单3的项目信息1与缺陷存储系统的版本层级1建立映射关系,将提测单3的测试标识信息3与缺陷存储系统的组件层级3建立映射关系。In a specific example, the defect storage system has a product level, a version level, and a component level. The business level of test proposal 1 is business line information 1, project information 1, and test identification 1; the business level of test proposal 2 is business Line information 2, project information 2, test identification 2; the business level of test submission form 3 is business line information 1, project information 1, and test identification 3. When establishing the mapping relationship, establish a mapping relationship between the business line information 1 of the test proposal 1 and the product level 1 of the defect storage system, establish a mapping relationship between the project information 1 of the test proposal 1 and the version level 1 of the defect storage system, and provide Establish a mapping relationship between the test identification information 1 of the test order 1 and the component level 1 of the defect storage system; establish a mapping relationship between the business line information 2 of the test order 2 and the product level 2 of the defect storage system, and the project information of the test order 2 2 Establish a mapping relationship with the version level 2 of the defect storage system, and establish a mapping relationship between the test identification information 2 of the test proposal 2 and the component level 2 of the defect storage system; the business line information 1 of the test proposal 3 and the defect storage system Establish a mapping relationship at product level 1, establish a mapping relationship between project information 1 of test proposal 3 and version level 1 of the defect storage system, and establish a mapping relationship between test identification information 3 of test proposal 3 and component level 3 of the defect storage system.
那么在缺陷数据存储时,则将提测单1对应的缺陷数据1存储到产品层级1的版本层级1的组件层级1下的存储文件中;提测单2对应的缺陷数据2存储到产品层级2的版本层级2的组件层级2下的存储文件中;将提测单3对应的缺陷数据3存储到产品层级1的版本层级1的组件层级3下的存储文件中。Then, when defect data is stored, the defect data 1 corresponding to the testing order 1 is stored in the storage file under the component level 1 of the version level 1 of the product level 1; the defect data 2 corresponding to the testing order 2 is stored in the product level In the storage file under the component level 2 of the version level 2 of version 2; store the defect data 3 corresponding to the test proposal 3 in the storage file under the component level 3 of the version level 1 of the product level 1.
也就是说,本技术方案在建立映射关系时,不限定缺陷存储系统的目录层级的层技数,只要是依据本技术方案的建立映射关系的思路实现的,均包括在本技术方案内。That is to say, this technical solution does not limit the number of layers of the directory hierarchy of the defect storage system when establishing a mapping relationship, as long as it is realized based on the idea of establishing a mapping relationship in this technical solution, it is included in this technical solution.
在本发明的一个实施例中,图2所示的装置进一步包括:In one embodiment of the present invention, the device shown in Figure 2 further includes:
映射关系查询单元,适于在建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,查询映射关系表,判断映射关系表中是否存在与提测单的业务层级对应的映射关系;其中,映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;若不存在,在缺陷存储系统中创建新的目录层级,建立提测单对应的业务层级与创建的新的目录层级的映射关系;若存在,则根据映射关系,将获取的缺陷数据直接存储至缺陷存储系统中相应的目录层级下的存储文件中。The mapping relationship query unit is suitable for querying the mapping relationship table before establishing the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system, and judging whether there is a mapping corresponding to the business level of the testing order in the mapping relationship table relationship; among them, the mapping relationship table stores the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system; if it does not exist, create a new directory level in the defect storage system, and establish the business corresponding to the test proposal The mapping relationship between the level and the created new directory level; if it exists, then according to the mapping relationship, the acquired defect data is directly stored in the storage file under the corresponding directory level in the defect storage system.
考虑到测试人员可能会对同样的测试内容提出相同的测试请求,即相同的测试单,那么相应的缺陷数据应该存储到同一个存储文件中。本实施例中,创建映射关系表,将建立的提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至映射关系表中。当再次接受提测单时,首先查询该映射关系表中是否已经存在与该提测单的业务层级对应的映射关系,如果存在,不需要重新建立映射关系,而是直接根据已有的映射关系进行缺陷数据的存储,实现同样的提测单的测试获得的缺陷数据存储在同一存储文件中。如果不存在,为了建立映射关系,需要创建新的目录层级,使得提测单的业务层级与新的目录层级建立映射关系。Considering that testers may make the same test request for the same test content, that is, the same test order, the corresponding defect data should be stored in the same storage file. In this embodiment, a mapping relationship table is created, and the established mapping relationship between the service level of the test bill and the directory level of the defect storage system is saved in the mapping relationship table. When accepting the test proposal again, first check whether the mapping relationship corresponding to the business level of the test proposal already exists in the mapping relationship table. If it exists, there is no need to re-establish the mapping relationship, but directly according to the existing mapping relationship Defect data storage is carried out, and the defect data obtained from the test of the same testing order is stored in the same storage file. If it does not exist, in order to establish a mapping relationship, a new directory level needs to be created, so that the business level of the test bill and the new directory level can be mapped.
例如,映射关系表中,存储有提测单1的业务线信息1与产品层级1的映射关系,以及提测单1的测试标识信息1与产品层级1的组件层级1的映射关系,则将提测单1的测试获得的缺陷数据存储在产品层级1的组件层级1下的存储文件中。如果没有,则说明没有与提测单1的业务层级具有映射关系的组件层级1和/或产品层级1,需要创建新的目录层级,建立提测单对应的业务层级与创建的新的目录层级的映射关系。For example, in the mapping relationship table, the mapping relationship between the business line information 1 of the test proposal 1 and the product level 1 is stored, and the mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the product level 1 is stored. The defect data obtained by the test of the test sheet 1 is stored in the storage file under the component level 1 of the product level 1. If not, it means that there is no component level 1 and/or product level 1 that has a mapping relationship with the business level of test proposal 1, and a new directory level needs to be created, and the business level corresponding to the test proposal and the new created directory level need to be created mapping relationship.
进一步地,上述的缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;Further, the above defect storage system includes a first level and a second level, wherein the first level includes one or more second levels;
则上述的映射关系查询单元,适于查询映射关系表中是否存在与提测单对应的业务层级的业务线信息对应的映射关系;若存在,则在与业务线信息具有映射关系的第一层级下创建新的第二层级,建立提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;若不存在,则在缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。Then the above-mentioned mapping relationship query unit is suitable for querying whether there is a mapping relationship corresponding to the business line information of the business level corresponding to the test bill in the mapping relationship table; Next, create a new second level, and establish the mapping relationship between the test identification information of the business level corresponding to the test proposal and the created second level; if it does not exist, create a new first level in the defect storage system, and Create a new second level under the created first level; establish the mapping relationship between the business line information of the business level corresponding to the test proposal and the created first level, and establish the test identification information and the business level corresponding to the test proposal The created second-level mapping relationship.
考虑到测试人员的测试需求是针对同一业务线下的不同内容的测试,那么就需要将该测试的缺陷数据存储到对应该业务线信息的缺陷存储系统的同一目录层级下。Considering that the testing needs of testers are for testing different content under the same business line, it is necessary to store the defect data of the test in the same directory level of the defect storage system corresponding to the information of the business line.
在上述实施例的基础上,创建新的目录层级时,还需要确定是建立新的第一层级还是建立新的第二层级。具体是,查询映射关系表中是否存在提测单的业务层级的业务线信息对应的映射关系,如果存在,说明该业务线信息对应的第一层级已经存在,则只需要建立第二层级即可,如果不存在,则说明既需要创建新的第二层级,也需要创建新的第一层级。Based on the above embodiments, when creating a new directory level, it is also necessary to determine whether to create a new first level or a new second level. Specifically, query whether there is a mapping relationship corresponding to the business line information of the business level of the bill of lading in the mapping relationship table. If it exists, it means that the first level corresponding to the business line information already exists, and only the second level needs to be established. , if it does not exist, it means that both a new second level and a new first level need to be created.
例如,接收到提测单1后,获取提测单1的业务层级的业务线信息1和测试标识信息1,查询映射关系表中,如果存储有提测单1的业务线信息1与产品层级1的映射关系,但是不存在提测单1的测试标识信息1与产品层级1的组件层级1的映射关系,则在产品层级1下创建新的组件x,建立提测单1的业务层级的业务线信息1与产品层级1的映射关系,以及建立测试标识信息1与组件x的映射关系,将提测单1的测试获得的缺陷数据存储在产品层级1的组件x下的存储文件中。如果既没有与提测单1的业务线信息1对应的映射关系,也没有提测单1的测试标识信息1对应的映射关系,则创建新的产品x,以及在产品x下创建新的组件y,建立提测单1的业务层级的业务线信息1与产品x的映射关系,以及建立测试标识信息1与组件y的映射关系,将提测单1的测试获得的缺陷数据存储在产品x的组件y下的存储文件中。For example, after receiving the test proposal 1, obtain the business line information 1 and test identification information 1 of the business level of the test proposal 1, query the mapping relationship table, if the business line information 1 and the product level of the test proposal 1 are stored 1, but there is no mapping relationship between the test identification information 1 of the test proposal 1 and the component level 1 of the product level 1, then create a new component x under the product level 1, and establish the business level of the test proposal 1 The mapping relationship between line of business information 1 and product level 1, and the mapping relationship between test identification information 1 and component x are established, and the defect data obtained by the test of test order 1 is stored in the storage file under component x of product level 1. If there is neither a mapping relationship corresponding to the business line information 1 of the test proposal 1 nor a mapping relationship corresponding to the test identification information 1 of the test proposal 1, create a new product x and create a new component under product x y, establish the mapping relationship between the business line information 1 of the business level of the testing order 1 and the product x, and establish the mapping relationship between the test identification information 1 and the component y, and store the defect data obtained from the testing of the testing order 1 in the product x in the store file under component y.
在本发明的一个实施例中,上述的缺陷存储系统是指缺陷跟踪系统bugzilla。In an embodiment of the present invention, the above-mentioned defect storage system refers to the defect tracking system bugzilla.
bugzilla是一个独立的系统,将本发明的技术方案应用在使用bugzilla存储缺陷数据的场景中,可以实现bugzilla系统与其他测试流程的关联。具体地,bugzilla系统的目录层级包括有产品层级和组件层级(版本层级),那么就建立提测单的业务线信息与产品层级的映射关系,以及建立提测单的测试标识信息与组件(版本)层级的映射关系。Bugzilla is an independent system. Applying the technical solution of the present invention to the scene where bugzilla is used to store defect data can realize the association between the bugzilla system and other testing processes. Specifically, the directory hierarchy of the bugzilla system includes a product level and a component level (version level), so the mapping relationship between the business line information of the test order and the product level is established, and the test identification information and the component (version level) of the test order are established. ) level mapping relationship.
综上所述,根据本发明的技术方案,接收用于提出测试请求的提测单;建立提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;获取与提测单对应的测试获得的缺陷数据;根据映射关系,将获取的缺陷数据存储至缺陷存储系统中相应的目录层级下的存储文件中。通过本技术方案,建立了提测单对应的业务层级与缺陷存储系统的目录层级的映射关系,测试人员可以根据自己的需求提交测试单,然后测试得到的缺陷数据自动存储到缺陷存储系统,不需要按照缺陷存储系统的目录层级,也可以实现缺陷数据的存储,提高了存储效率,使得缺陷数据的存储更加人性化,增强用户的使用体验。To sum up, according to the technical solution of the present invention, the test request form for submitting a test request is received; the mapping relationship between the service level corresponding to the test form and the directory level of the defect storage system is established; and the test form corresponding to the test form is obtained. The obtained defect data; according to the mapping relationship, the obtained defect data is stored in the storage file under the corresponding directory level in the defect storage system. Through this technical solution, the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system is established. The tester can submit the test form according to his own needs, and then the defect data obtained by the test is automatically stored in the defect storage system. According to the directory hierarchy of the defect storage system, the storage of defect data can also be realized, which improves the storage efficiency, makes the storage of defect data more humanized, and enhances the user experience.
需要说明的是:It should be noted:
在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual appliance, or other device. Various general purpose devices can also be used with the teachings based on this. The structure required to construct such an apparatus will be apparent from the foregoing description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the contents of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的测试缺陷数据存储装置、电子设备和计算机存储介质中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components in the test defect data storage device, electronic equipment, and computer storage medium according to the embodiments of the present invention. some or all of the features. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
例如,图3示出了根据本发明一个实施例的电子设备的结构示意图。该电子设备300传统上包括处理器310和被安排成存储计算机可执行指令(程序代码)的存储器320。存储器320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器320具有存储用于执行图1所示的以及各实施例中的任何方法步骤的程序代码340的存储空间330。例如,用于程序代码的存储空间330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码340。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图4所述的计算机可读存储介质400。该计算机可读存储介质400可以具有与图3的电子设备中的存储器320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码410,即可以由诸如310之类的处理器读取的程序代码,当这些程序代码由电子设备运行时,导致该电子设备执行上面所描述的方法中的各个步骤。For example, FIG. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention. The
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种测试缺陷数据存储方法,其中,该方法包括:The invention discloses A1. A method for storing test defect data, wherein the method includes:
接收用于提出测试请求的提测单;Receive test submissions for submitting test requests;
建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;Establishing a mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system;
获取与所述提测单对应的测试获得的缺陷数据;Obtain the defect data obtained from the test corresponding to the test proposal;
根据所述映射关系,将获取的缺陷数据存储至所述缺陷存储系统中相应的目录层级下的存储文件中。According to the mapping relationship, the acquired defect data is stored in a storage file under a corresponding directory level in the defect storage system.
A2、如A1所述的方法,其中,该方法进一步包括:A2. The method as described in A1, wherein the method further comprises:
创建映射关系表;Create a mapping relationship table;
将建立的所述提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至所述映射关系表中;saving the established mapping relationship between the service level of the test bill and the directory level of the defect storage system in the mapping relationship table;
当接收到指定提测单的缺陷数据的获取请求时,查询所述映射关系表,确定与所述指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;When receiving the acquisition request of the defect data of the designated test proposal, query the mapping relationship table, and determine the directory level of the defect storage system that has a mapping relationship with the business level of the designated test proposal;
从确定的缺陷存储系统的目录层级下的存储文件中获取所述指定提测单对应的缺陷数据。The defect data corresponding to the designated test proposal is acquired from the storage files under the determined directory level of the defect storage system.
A3、如A2所述的方法,其中,该方法进一步包括:A3, the method as described in A2, wherein, the method further comprises:
根据获取的指定提测单对应的缺陷数据生成相应的测试报告。Generate a corresponding test report based on the acquired defect data corresponding to the specified test proposal.
A4、如A1所述的方法,其中,所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:A4. The method as described in A1, wherein the establishment of the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system includes:
获取所述提测单对应的业务层级;Obtain the service level corresponding to the test proposal;
根据获取的业务层级,建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。According to the obtained business level, a mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system is established.
A5、如A4所述的方法,其中,所述获取所述提测单对应的业务层级包括:A5. The method as described in A4, wherein said obtaining the service level corresponding to the test proposal includes:
直接从所述提测单中获取对应的业务层级;Obtain the corresponding business level directly from the test proposal;
或者,or,
提供业务层级输入接口,通过所述接口接收所述提测单对应的业务层级;Provide a service level input interface, and receive the service level corresponding to the test proposal through the interface;
或者,or,
在接收到所述提测单时,从指定数据库中获取与所述提测单对应的业务层级;其中,所述指定数据库中存储有提测单对应的业务层级。When the test proposal is received, the service level corresponding to the test proposal is obtained from a designated database; wherein, the designated database stores the service level corresponding to the test proposal.
A6、如A1所述的方法,其中,所述缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;A6. The method according to A1, wherein the directory hierarchy of the defective storage system includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies;
所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系包括:The establishment of the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system includes:
根据所述业务层级中的业务线信息,建立所述提测单对应的业务线与所述缺陷存储系统的目录层级的第一层级的映射关系;According to the business line information in the business level, establish a mapping relationship between the business line corresponding to the test proposal and the first level of the directory level of the defect storage system;
根据所述业务层级中的测试标识信息,建立所述提测单对应的测试标识信息与所述缺陷存储系统的所述第一层级下的第二层级的映射关系。According to the test identification information in the service level, establish a mapping relationship between the test identification information corresponding to the test proposal and the second level under the first level of the defect storage system.
A7、如A1所述的方法,其中,在所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,该方法进一步包括:A7. The method as described in A1, wherein, before establishing the mapping relationship between the business level corresponding to the testing order and the directory level of the defect storage system, the method further includes:
查询映射关系表,判断所述映射关系表中是否存在与所述提测单的业务层级对应的映射关系;其中,所述映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;Querying the mapping relationship table, and judging whether there is a mapping relationship corresponding to the business level of the test bill in the mapping relationship table; wherein, the mapping relationship table stores the relationship between the business level corresponding to the test bill and the defect storage system Directory-level mapping relationship;
若不存在,在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系;If it does not exist, create a new directory level in the defect storage system, and establish a mapping relationship between the business level corresponding to the test proposal and the created new directory level;
若存在,则根据所述映射关系,将获取的缺陷数据直接存储至所述缺陷存储系统中相应的目录层级下的存储文件中。If it exists, according to the mapping relationship, the acquired defect data is directly stored in a storage file under a corresponding directory level in the defect storage system.
A8、如A7所述的方法,其中,所述缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;A8. The method according to A7, wherein the defective storage system includes a first level and a second level, wherein the first level includes one or more second levels;
所述在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系包括:The creating a new directory level in the defect storage system, and establishing the mapping relationship between the service level corresponding to the testing order and the created new directory level include:
查询所述映射关系表中是否存在与所述提测单对应的业务层级的业务线信息对应的映射关系;Querying whether there is a mapping relationship corresponding to the business line information of the business level corresponding to the testing order in the mapping relationship table;
若存在,则在与所述业务线信息具有映射关系的第一层级下创建新的第二层级,建立所述提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;If it exists, create a new second level under the first level that has a mapping relationship with the business line information, and establish a mapping between the test identification information of the business level corresponding to the test proposal and the created second level. relation;
若不存在,则在所述缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立所述提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立所述提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。If it does not exist, create a new first level in the defect storage system, and create a new second level under the created first level; establish the business line information and create The mapping relationship of the first level, and the mapping relationship between the test identification information of the business level corresponding to the test proposal and the created second level is established.
A9、如A1-A8中任一项所述的方法,其中,所述缺陷存储系统是指缺陷跟踪系统bugzilla。A9. The method according to any one of A1-A8, wherein the defect storage system refers to a defect tracking system bugzilla.
本发明还公开了B10、一种测试缺陷数据存储装置,其中,该装置包括:The present invention also discloses B10, a test defect data storage device, wherein the device includes:
提测单接收单元,适于接收用于提出测试请求的提测单;A testing order receiving unit adapted to receive a testing order for making a test request;
映射关系建立单元,适于建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;A mapping relationship establishment unit, adapted to establish a mapping relationship between the business level corresponding to the test bill and the directory level of the defect storage system;
缺陷数据获取单元,适于获取与所述提测单对应的测试获得的缺陷数据;a defect data acquisition unit, adapted to acquire defect data obtained from the test corresponding to the testing order;
缺陷数据存储单元,适于根据所述映射关系,将获取的缺陷数据存储至所述缺陷存储系统中相应的目录层级下的存储文件中。The defect data storage unit is adapted to store the obtained defect data in storage files under the corresponding directory level in the defect storage system according to the mapping relationship.
B11、如B10所述的装置,其中,该装置进一步包括:B11. The device as described in B10, wherein the device further comprises:
映射关系存储单元,适于创建映射关系表;将建立的所述提测单的业务层级与缺陷存储系统的目录层级的映射关系保存至所述映射关系表中;The mapping relationship storage unit is adapted to create a mapping relationship table; and save the established mapping relationship between the business level of the test bill and the directory level of the defect storage system in the mapping relationship table;
缺陷数据确定单元,适于当接收到指定提测单的缺陷数据的获取请求时,查询所述映射关系表,确定与所述指定提测单的业务层级具有映射关系的缺陷存储系统的目录层级;从确定的缺陷存储系统的目录层级下的存储文件中获取所述指定提测单对应的缺陷数据。The defect data determining unit is adapted to query the mapping relationship table when receiving the defect data acquisition request of the designated test bill, and determine the directory level of the defect storage system that has a mapping relationship with the business level of the designated test bill ; Acquiring the defect data corresponding to the specified testing proposal form from the storage files under the determined directory level of the defect storage system.
B12、如B11所述的装置,其中,该装置进一步包括:B12. The device as described in B11, wherein the device further comprises:
测试报告生成单元,适于根据获取的指定提测单对应的缺陷数据生成相应的测试报告。The test report generation unit is adapted to generate a corresponding test report according to the acquired defect data corresponding to the designated test proposal.
B13、如B10所述的装置,其中,B13. The device of B10, wherein,
所述映射关系建立单元,适于获取所述提测单对应的业务层级;根据获取的业务层级,建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系。The mapping relationship establishment unit is adapted to obtain the service level corresponding to the test proposal; according to the acquired business level, establish a mapping relationship between the service level corresponding to the test proposal and the directory level of the defect storage system.
B14、如B13所述的装置,其中,B14. The device of B13, wherein,
所述映射关系建立单元,适于直接从所述提测单中获取对应的业务层级;或者,提供业务层级输入接口,通过所述接口接收所述提测单对应的业务层级;或者,在接收到所述提测单时,从指定数据库中获取与所述提测单对应的业务层级;其中,所述指定数据库中存储有提测单对应的业务层级。The mapping relationship establishment unit is adapted to directly obtain the corresponding service level from the test proposal; or provide a service level input interface through which the service level corresponding to the test proposal is received; or, upon receiving When the test submission form is received, the service level corresponding to the test submission form is obtained from a designated database; wherein, the service level corresponding to the test submission form is stored in the designated database.
B15、如B10所述的装置,其中,所述缺陷存储系统的目录层级包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;B15. The device according to B10, wherein the directory hierarchy of the defective storage system includes a first hierarchy and a second hierarchy, wherein the first hierarchy includes one or more second hierarchies;
所述映射关系建立单元,适于根据所述业务层级中的业务线信息,建立所述提测单对应的业务线与所述缺陷存储系统的目录层级的第一层级的映射关系;根据所述业务层级中的测试标识信息,建立所述提测单对应的测试标识信息与所述缺陷存储系统的所述第一层级下的第二层级的映射关系。The mapping relationship establishment unit is adapted to establish a mapping relationship between the business line corresponding to the test proposal and the first level of the directory level of the defect storage system according to the business line information in the business level; according to the The test identification information in the service level establishes a mapping relationship between the test identification information corresponding to the test proposal and the second level under the first level of the defect storage system.
B16、如B10所述的装置,其中,该装置进一步包括:B16. The device as described in B10, wherein the device further comprises:
映射关系查询单元,适于在所述建立所述提测单对应的业务层级与缺陷存储系统的目录层级的映射关系之前,查询映射关系表,判断所述映射关系表中是否存在与所述提测单的业务层级对应的映射关系;其中,所述映射关系表存储的是提测单对应的业务层级与缺陷存储系统的目录层级的映射关系;若不存在,在缺陷存储系统中创建新的目录层级,建立所述提测单对应的业务层级与创建的新的目录层级的映射关系;若存在,则根据所述映射关系,将获取的缺陷数据直接存储至所述缺陷存储系统中相应的目录层级下的存储文件中。The mapping relationship query unit is adapted to query the mapping relationship table before establishing the mapping relationship between the business level corresponding to the test proposal and the directory level of the defect storage system, and determine whether there is a mapping relationship in the mapping relationship table that is related to the proposed problem. The mapping relationship corresponding to the business level of the test sheet; wherein, the mapping relationship table stores the mapping relationship between the business level corresponding to the test order and the directory level of the defect storage system; if it does not exist, create a new one in the defect storage system directory level, establishing a mapping relationship between the business level corresponding to the test proposal and the created new directory level; if it exists, according to the mapping relationship, the acquired defect data is directly stored in the corresponding defect storage system In the storage file under the directory hierarchy.
B17、如B16所述的装置,其中,所述缺陷存储系统包括第一层级和第二层级,其中,第一层级包括有一个或多个第二层级;B17. The apparatus according to B16, wherein the defect storage system includes a first level and a second level, wherein the first level includes one or more second levels;
所述映射关系查询单元,适于查询所述映射关系表中是否存在与所述提测单对应的业务层级的业务线信息对应的映射关系;若存在,则在与所述业务线信息具有映射关系的第一层级下创建新的第二层级,建立所述提测单对应的业务层级的测试标识信息与创建的第二层级之间的映射关系;若不存在,则在所述缺陷存储系统中创建新的第一层级,以及在创建的第一层级下创建新的第二层级;建立所述提测单对应的业务层级的业务线信息与创建的第一层级的映射关系,以及建立所述提测单对应的业务层级的测试标识信息与创建的第二层级的映射关系。The mapping relationship query unit is adapted to query whether there is a mapping relationship corresponding to the business line information of the business level corresponding to the survey proposal in the mapping relationship table; if it exists, it has a mapping relationship with the business line information Create a new second level under the first level of the relationship, and establish a mapping relationship between the test identification information of the service level corresponding to the test proposal and the created second level; if it does not exist, then in the defect storage system Create a new first level in the first level, and create a new second level under the created first level; establish the mapping relationship between the business line information of the business level corresponding to the test proposal and the created first level, and establish the The mapping relationship between the test identification information of the service level corresponding to the above-mentioned test proposal and the created second level.
B18、如B10-B17中任一项所述的装置,其中,所述缺陷存储系统是指缺陷跟踪系统bugzilla。B18. The device according to any one of B10-B17, wherein the defect storage system refers to a defect tracking system bugzilla.
本发明还公开了C19、一种电子设备,其中,该电子设备包括:The present invention also discloses C19, an electronic device, wherein the electronic device includes:
处理器;以及,Processor; and,
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行根据A1~A9中任一项所述的方法。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the method according to any one of A1 to A9.
本发明还公开了D20、一种计算机可读存储介质,其中,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现A1~A9中任一项所述的方法。The present invention also discloses D20, a computer-readable storage medium, wherein, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by the processor, the steps in A1-A9 are realized. any one of the methods described.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810803274.2A CN110737577B (en) | 2018-07-20 | 2018-07-20 | A method and device for storing test defect data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810803274.2A CN110737577B (en) | 2018-07-20 | 2018-07-20 | A method and device for storing test defect data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110737577A CN110737577A (en) | 2020-01-31 |
CN110737577B true CN110737577B (en) | 2022-11-04 |
Family
ID=69235553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810803274.2A Active CN110737577B (en) | 2018-07-20 | 2018-07-20 | A method and device for storing test defect data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110737577B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817843B (en) * | 2021-01-25 | 2024-05-17 | 上海哔哩哔哩科技有限公司 | Project management method and system |
CN113051165A (en) * | 2021-03-30 | 2021-06-29 | 北京金山云网络技术有限公司 | Method, device, monitoring server and medium for processing test order |
CN112882960A (en) * | 2021-03-30 | 2021-06-01 | 中信银行股份有限公司 | Data acquisition method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101344899A (en) * | 2008-08-15 | 2009-01-14 | 炬力集成电路设计有限公司 | Simulation test method and system of on-chip system |
CN101719095A (en) * | 2009-12-30 | 2010-06-02 | 北京世纪高通科技有限公司 | Method and device for managing regression testing |
CN103186456A (en) * | 2011-12-29 | 2013-07-03 | 北京新媒传信科技有限公司 | Method and device for testing system |
CN107622014A (en) * | 2017-09-22 | 2018-01-23 | 广州视源电子科技股份有限公司 | Test report generation method and device, readable storage medium and computer equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070174023A1 (en) * | 2006-01-26 | 2007-07-26 | International Business Machines Corporation | Methods and apparatus for considering a project environment during defect analysis |
-
2018
- 2018-07-20 CN CN201810803274.2A patent/CN110737577B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101344899A (en) * | 2008-08-15 | 2009-01-14 | 炬力集成电路设计有限公司 | Simulation test method and system of on-chip system |
CN101719095A (en) * | 2009-12-30 | 2010-06-02 | 北京世纪高通科技有限公司 | Method and device for managing regression testing |
CN103186456A (en) * | 2011-12-29 | 2013-07-03 | 北京新媒传信科技有限公司 | Method and device for testing system |
CN107622014A (en) * | 2017-09-22 | 2018-01-23 | 广州视源电子科技股份有限公司 | Test report generation method and device, readable storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110737577A (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8151247B2 (en) | Test data management | |
WO2016091034A1 (en) | Method and device for providing application channel packet | |
WO2015176431A1 (en) | Method and device for generating test data | |
CN111831564A (en) | A regression testing method, device and computing device | |
CN110737577B (en) | A method and device for storing test defect data | |
CN105608143A (en) | Detection method and device of consistency of multi-copy data | |
CN106815140A (en) | A kind of interface test method and device | |
CN107256233A (en) | A kind of date storage method and device | |
CN106227769B (en) | Date storage method and device | |
CN111274120B (en) | Interface document verification method and device | |
CN113791732A (en) | Optical disc information acquisition method, computing device and readable storage medium | |
CN110750434A (en) | Interface testing method, apparatus, electronic device, and computer-readable storage medium | |
CN113836001A (en) | Code detection method, device and storage medium | |
CN117785723A (en) | Dynamic interface parameter association method, device and electronic equipment | |
CN112671942A (en) | Method, device, equipment and storage medium for setting network port name | |
CN110201397B (en) | Game resource allocation method and device and electronic equipment | |
CN109445716A (en) | A kind of cloud hard disk expansion method and device | |
CN110737573B (en) | Method and device for automatically testing user interface UI | |
WO2019095824A1 (en) | Data configuration management method, device, and computer readable storage medium | |
CN104391662B (en) | A kind of data read-write method and device | |
CN114647548A (en) | A log generation method and device | |
CN112115052A (en) | Automatic walkthrough method and system for graphical user interface and interface walkthrough tool | |
CN109460255B (en) | Memory address query method and device | |
CN113064943A (en) | A data acquisition method, device, electronic device and storage medium | |
CN109976991A (en) | A kind for the treatment of method and apparatus of program code |
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 |