CN107729256A - The correlating method and system of a kind of project demands and test case - Google Patents

The correlating method and system of a kind of project demands and test case Download PDF

Info

Publication number
CN107729256A
CN107729256A CN201711140381.3A CN201711140381A CN107729256A CN 107729256 A CN107729256 A CN 107729256A CN 201711140381 A CN201711140381 A CN 201711140381A CN 107729256 A CN107729256 A CN 107729256A
Authority
CN
China
Prior art keywords
test case
project demands
project
incidence relation
demands
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711140381.3A
Other languages
Chinese (zh)
Inventor
周春法
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711140381.3A priority Critical patent/CN107729256A/en
Publication of CN107729256A publication Critical patent/CN107729256A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to field of computer technology, there is provided a kind of project demands and the correlating method and system of test case, method include:Project demands list and test case list are called in project document;Control inquires about the project demands corresponding to each test case, and the first incidence relation is established between each test case and corresponding project demands in the test case list;Control inquires about the test case corresponding to each project demands, and the second incidence relation is established between each project demands and corresponding test case in the project demands list;According to first incidence relation and the second incidence relation of foundation, generate the incidence relation between the test case and project demands, association is established between the project demands and test case, association is established between test case and project demands so as to realize, test case and project demands are accomplished effectively to manage, the risk in R&D process is reduced, is increased customer satisfaction degree.

Description

The correlating method and system of a kind of project demands and test case
Technical field
The invention belongs to field of computer technology, more particularly to the correlating method of a kind of project demands and test case and it is System.
Background technology
In Project-developing test process, demand retrospect and test case tracking process are cumbersome, it is necessary to when expending substantial amounts of Between and manpower counted, collected, arranging issue, cause to be unable to fast responding market Project-developing less efficient.
At present, the software systems of in the market are weaker to the managerial ability of demand and test case, it is impossible to demand and test The version of use-case, director and more new record is effectively managed.
The content of the invention
It is an object of the invention to provide a kind of project demands and the correlating method of test case, it is intended to solves prior art The software systems of middle in the market are weaker to the managerial ability of demand and test case, it is impossible to the version of demand and test case, Director and the problem of more new record is effectively managed.
The present invention is achieved in that a kind of project demands and the correlating method of test case, and methods described includes following Step:
Project demands list and test case list are called in project document;
Control inquires about the project demands corresponding to each test case in the test case list, and each The first incidence relation is established between individual test case and corresponding project demands;
Control inquires about the test case corresponding to each project demands in the project demands list, and each The second incidence relation is established between individual project demands and corresponding test case;
According to first incidence relation and the second incidence relation of foundation, generate the test case and project demands it Between incidence relation, between the project demands and test case establish association.
As an improvement scheme, methods described also comprises the steps:
According to the incidence relation between the test case and project demands, when clicking on it in the project demands list In a project demands when, then show test case all corresponding to this project demands automatically;
When clicking on a wherein test case in the project demands list, then showing this test case automatically Corresponding all project demands.
As an improvement scheme, methods described also comprises the steps:
According to the incidence relation between the test case and the project demands, calculate described in the test case covering The coverage rate of project demands.
As an improvement scheme, methods described also comprises the steps:
When the change operation for during Project-developing, receiving the version information to the test case or project demands refers to Order;
When the change of version information occurs for the test case or one of main body of project demands, then according to Incidence relation between test case and the project demands, version change information updating is synchronized to another corresponding main body On.
As an improvement scheme, methods described also comprises the steps:
The test case is classified, forms several classification charts.
Another object of the present invention is to provide the interconnected system of a kind of project demands and test case, the system bag Include:
List calling module, for calling project demands list and test case list in project document;
First incidence relation establishes module, for controlling in the test case list, inquires about each test case Corresponding project demands, and the first incidence relation is established between each test case and corresponding project demands;
Second incidence relation establishes module, for controlling in the project demands list, inquires about each project demands Corresponding test case, and the second incidence relation is established between each project demands and corresponding test case;
Relating module, for first incidence relation and the second incidence relation according to foundation, generate the test and use Incidence relation between example and project demands, association is established between the project demands and test case.
As an improvement scheme, the system also includes:
Test case display module, for according to the incidence relation between the test case and project demands, when in institute State when a wherein project demands are clicked in project demands list, then show test all corresponding to this project demands automatically Use-case;
Project demands display module, for when when clicking on a wherein test case in the project demands list, Project demands all corresponding to this test case are then shown automatically.
As an improvement scheme, the system also includes:
Coverage rate computing module, for according to the incidence relation between the test case and the project demands, calculating The test case covers the coverage rate of the project demands.
As an improvement scheme, the system also includes:
Version information changes operational order receiving module, for working as during Project-developing, receives and the test is used The change operational order of the version information of example or project demands;
Version information synchronization module, for version letter to occur when one of main body of the test case or project demands During the change of breath, then according to the incidence relation between the test case and the project demands, version is changed into information updating Corresponding to being synchronized in another main body.
As an improvement scheme, the system also includes:
Sort module, for classifying to the test case, form several classification charts.
In embodiments of the present invention, project demands list and test case list are called in project document;Control is in institute State in test case list, inquire about the project demands corresponding to each test case, and each test case with it is corresponding Project demands between establish the first incidence relation;Control inquires about each project demands institute in the project demands list Corresponding test case, and the second incidence relation is established between each project demands and corresponding test case;According to building Vertical first incidence relation and the second incidence relation, generates the incidence relation between the test case and project demands, Association is established between the project demands and test case, is closed so as to realize to establish between test case and project demands Connection, accomplishes effectively to manage to test case and project demands, reduces the risk in R&D process, increases customer satisfaction degree.
Brief description of the drawings
Fig. 1 is the implementation process figure of project demands provided by the invention and the correlating method of test case;
Fig. 2 is the structured flowchart of the interconnected system of project demands provided by the invention and test case.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the implementation process figure of project demands provided by the invention and the correlating method of test case, and its is specific Comprise the steps:
In step S101, project demands list and test case list are called in project document.
In step s 102, control in the test case list, inquire about the project corresponding to each test case Demand, and the first incidence relation is established between each test case and corresponding project demands.
In step s 103, control in the project demands list, inquire about the test corresponding to each project demands Use-case, and the second incidence relation is established between each project demands and corresponding test case.
In step S104, according to first incidence relation and the second incidence relation of foundation, generate the test and use Incidence relation between example and project demands, association is established between the project demands and test case.
Wherein, according to the incidence relation between the test case and project demands, when in the project demands list When clicking on a wherein project demands, then test case all corresponding to this project demands is shown automatically;
When clicking on a wherein test case in the project demands list, then showing this test case automatically Corresponding all project demands;
In this embodiment, the mode shown automatically includes showing in a manner of other window, or with the page nearby The form of list shows, herein not limiting the present invention.
In embodiments of the present invention, according to the incidence relation between the test case and the project demands, institute is calculated State the coverage rate that test case covers the project demands;
The design of the coverage rate, provide the user reference data, while also record and statistical test use-case and project demands Between covering relation.
In embodiments of the present invention, when during Project-developing, receiving the version to the test case or project demands The change operational order of this information;
When the change of version information occurs for the test case or one of main body of project demands, then according to Incidence relation between test case and the project demands, version change information updating is synchronized to another corresponding main body On.
In embodiments of the present invention, the test case is classified, forms several classification charts, to use test Example is more effectively managed.
In embodiments of the present invention, when the data message to test case or project demands is handled, it is necessary to corresponding Make renewal and record, the process content of specific data message include but is not limited to data exporting, data statistics and Director changes, and will not be repeated here.
In embodiments of the present invention, the data statistics of demand and use-case, version updating maintenance, incidence relation in integration project Deng common function, increase demand and use-case updating maintenance version, content record, demand and use-case are carried out all the time in R&D process Tracking retrospect, avoids the risk brought by demand and use-case.
Fig. 2 shows the structured flowchart of the interconnected system of project demands provided by the invention and test case, for the ease of Illustrate, the part related to the embodiment of the present invention is only gived in figure.
List calling module 11, for calling project demands list and test case list in project document;
First incidence relation establishes module 12, for controlling in the test case list, inquires about each test and uses Project demands corresponding to example, and the first incidence relation is established between each test case and corresponding project demands;
Second incidence relation establishes module 13, and for controlling in the project demands list, inquiring about each project needs Corresponding test case is sought, and the second incidence relation is established between each project demands and corresponding test case;
Relating module 14, for first incidence relation and the second incidence relation according to foundation, generate the test Incidence relation between use-case and project demands, association is established between the project demands and test case.
Wherein, test case display module 15, for according to the incidence relation between the test case and project demands, When clicking on a wherein project demands in the project demands list, then show corresponding to this project demands and own automatically Test case;
Project demands display module 16, a wherein test case is clicked in the project demands list for working as When, then project demands all corresponding to this test case are shown automatically.
Coverage rate computing module 17, for according to the incidence relation between the test case and the project demands, meter Calculate the coverage rate that the test case covers the project demands.
Version information change operational order receiving module 18, for working as during Project-developing, is received to the test The change operational order of the version information of use-case or project demands;
Version information synchronization module 19, version occurs for one of main body when the test case or project demands During the change of information, then according to the incidence relation between the test case and the project demands, version is changed into information more It is new to be synchronized in another corresponding main body.
Sort module 20, for classifying to the test case, form several classification charts.
Wherein, the function of above-mentioned modules will not be repeated here as described in above-mentioned embodiment of the method.
In embodiments of the present invention, project demands list and test case list are called in project document;Control is in institute State in test case list, inquire about the project demands corresponding to each test case, and each test case with it is corresponding Project demands between establish the first incidence relation;Control inquires about each project demands institute in the project demands list Corresponding test case, and the second incidence relation is established between each project demands and corresponding test case;According to building Vertical first incidence relation and the second incidence relation, generates the incidence relation between the test case and project demands, Association is established between the project demands and test case, is closed so as to realize to establish between test case and project demands Connection, accomplishes effectively to manage to test case and project demands, reduces the risk in R&D process, increases customer satisfaction degree.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. the correlating method of a kind of project demands and test case, it is characterised in that methods described comprises the steps:
Project demands list and test case list are called in project document;
Control inquires about the project demands corresponding to each test case in the test case list, and in each survey It is on probation that the first incidence relation is established between example and corresponding project demands;
Control inquires about the test case corresponding to each project demands in the project demands list, and at each The second incidence relation is established between mesh demand and corresponding test case;
According to first incidence relation and the second incidence relation of foundation, generate between the test case and project demands Incidence relation, association is established between the project demands and test case.
2. the correlating method of project demands according to claim 1 and test case, it is characterised in that methods described is also wrapped Include following step:
According to the incidence relation between the test case and project demands, when clicking on wherein one in the project demands list During bar project demands, then test case all corresponding to this project demands is shown automatically;
When clicking on a wherein test case in the project demands list, then showing that this test case is corresponding automatically All project demands.
3. the correlating method of project demands according to claim 2 and test case, it is characterised in that methods described is also wrapped Include following step:
According to the incidence relation between the test case and the project demands, calculate the test case and cover the project The coverage rate of demand.
4. the correlating method of project demands according to claim 3 and test case, it is characterised in that methods described is also wrapped Include following step:
When the change operational order for during Project-developing, receiving the version information to the test case or project demands;
When the change of version information occurs for the test case or one of main body of project demands, then according to the test Incidence relation between use-case and the project demands, version change information updating is synchronized in another corresponding main body.
5. the correlating method of project demands according to claim 4 and test case, it is characterised in that methods described is also wrapped Include following step:
The test case is classified, forms several classification charts.
6. the interconnected system of a kind of project demands and test case, it is characterised in that the system includes:
List calling module, for calling project demands list and test case list in project document;
First incidence relation establishes module, and for controlling in the test case list, it is right to inquire about each test case institute The project demands answered, and the first incidence relation is established between each test case and corresponding project demands;
Second incidence relation establishes module, and for controlling in the project demands list, it is right to inquire about each project demands institute The test case answered, and the second incidence relation is established between each project demands and corresponding test case;
Relating module, for first incidence relation and the second incidence relation according to foundation, generate the test case and Incidence relation between project demands, association is established between the project demands and test case.
7. the interconnected system of project demands according to claim 6 and test case, it is characterised in that the system is also wrapped Include:
Test case display module, for according to the incidence relation between the test case and project demands, when in the item When a wherein project demands are clicked in mesh list of requirements, then show that test all corresponding to this project demands is used automatically Example;
Project demands display module, for when when clicking on a wherein test case in the project demands list, then from All project demands corresponding to dynamic display this test case.
8. the interconnected system of project demands according to claim 7 and test case, it is characterised in that the system is also wrapped Include:
Coverage rate computing module, for according to the incidence relation between the test case and the project demands, described in calculating Test case covers the coverage rate of the project demands.
9. the interconnected system of project demands according to claim 8 and test case, it is characterised in that the system is also wrapped Include:
Version information changes operational order receiving module, for when during Project-developing, receiving to the test case or The change operational order of the version information of project demands;
Version information synchronization module, version information occurs for one of main body when the test case or project demands During change, then according to the incidence relation between the test case and the project demands, it is synchronous that version is changed into information updating Onto another corresponding main body.
10. the interconnected system of project demands according to claim 9 and test case, it is characterised in that the system is also Including:
Sort module, for classifying to the test case, form several classification charts.
CN201711140381.3A 2017-11-16 2017-11-16 The correlating method and system of a kind of project demands and test case Pending CN107729256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711140381.3A CN107729256A (en) 2017-11-16 2017-11-16 The correlating method and system of a kind of project demands and test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711140381.3A CN107729256A (en) 2017-11-16 2017-11-16 The correlating method and system of a kind of project demands and test case

Publications (1)

Publication Number Publication Date
CN107729256A true CN107729256A (en) 2018-02-23

Family

ID=61216862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711140381.3A Pending CN107729256A (en) 2017-11-16 2017-11-16 The correlating method and system of a kind of project demands and test case

Country Status (1)

Country Link
CN (1) CN107729256A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845951A (en) * 2018-08-14 2018-11-20 郑州云海信息技术有限公司 A kind of calculation method and system of automatic test coverage rate
CN108958792A (en) * 2018-07-03 2018-12-07 郑州云海信息技术有限公司 Product demand management method and system in a kind of software development process
CN109542784A (en) * 2018-11-19 2019-03-29 中国银行股份有限公司 A kind of test cases inspection method and device
CN112084111A (en) * 2020-09-10 2020-12-15 广州小鹏汽车科技有限公司 Data processing method, system and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN102968373A (en) * 2012-11-29 2013-03-13 安科智慧城市技术(中国)有限公司 Method and device for maintaining test system
CN103246947A (en) * 2012-02-10 2013-08-14 广州博纳信息技术有限公司 Management system for software assessment lab
CN103257917A (en) * 2012-02-16 2013-08-21 广州博纳信息技术有限公司 Management method for software evaluation system
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CA2948250A1 (en) * 2015-11-20 2017-05-20 General Electric Company System and method for safety-critical software automated requirements-based test case generation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN103246947A (en) * 2012-02-10 2013-08-14 广州博纳信息技术有限公司 Management system for software assessment lab
CN103257917A (en) * 2012-02-16 2013-08-21 广州博纳信息技术有限公司 Management method for software evaluation system
CN102968373A (en) * 2012-11-29 2013-03-13 安科智慧城市技术(中国)有限公司 Method and device for maintaining test system
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CA2948250A1 (en) * 2015-11-20 2017-05-20 General Electric Company System and method for safety-critical software automated requirements-based test case generation

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958792A (en) * 2018-07-03 2018-12-07 郑州云海信息技术有限公司 Product demand management method and system in a kind of software development process
CN108845951A (en) * 2018-08-14 2018-11-20 郑州云海信息技术有限公司 A kind of calculation method and system of automatic test coverage rate
CN109542784A (en) * 2018-11-19 2019-03-29 中国银行股份有限公司 A kind of test cases inspection method and device
CN112084111A (en) * 2020-09-10 2020-12-15 广州小鹏汽车科技有限公司 Data processing method, system and device

Similar Documents

Publication Publication Date Title
CN110717784B (en) Electric power marketing system and method based on intelligent management platform
US10382558B2 (en) Edge resource sharing
CN107729256A (en) The correlating method and system of a kind of project demands and test case
US20190268658A1 (en) Criteria Verification to Facilitate Providing of Highest Cost per Mile (CPM) Overlays to Client Devices
US10347102B2 (en) Method and system for surveillance camera arbitration of uplink consumption
US9471946B1 (en) Energy management computer system
CN102882745B (en) A kind of method and apparatus for monitoring business server
Framinan et al. Dynamic card controlling in a Conwip system
CN107580073A (en) Realize the method and device of targeted customer's message push
CN111130908A (en) Micro-service dynamic aggregation and splitting system based on calling flow analysis and prediction
US20240104896A1 (en) Method for detecting human occupancy and activity in a work area
Kang et al. Typical weekly occupancy profiles in non-residential buildings based on mobile positioning data
US20130151979A1 (en) System and method for enterprise utility data aggregation, management, and reporting
US20180268364A1 (en) System and method for perpetual inventory management
CN112243285A (en) Base station energy saving method and device
Kefeli et al. Using a mathematical programming model to examine the marginal price of capacitated resources
US20150317687A1 (en) System and method for analytics-based advertising
CN104683998A (en) Method and device for processing business quality
CN102164166B (en) Method and system for remote-control sector transmission
US20110106579A1 (en) System and Method of Management and Reduction of Subscriber Churn in Telecommunications Networks
CN105493126A (en) Card benefit providing system and method for automatically adjusting card benefits for each customer by applying card usage information
US20150118999A1 (en) Systems and Methods for Creating and Managing Mobile Phone Services
CN106302770B (en) The based reminding method and system of business information
CN100353795C (en) Public measuring method of wireless resource management
CN104951368A (en) Dynamic allocation device and method of resources

Legal Events

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

Application publication date: 20180223