CN101192194A - Test case design method based on test case database - Google Patents

Test case design method based on test case database Download PDF

Info

Publication number
CN101192194A
CN101192194A CNA2007100007513A CN200710000751A CN101192194A CN 101192194 A CN101192194 A CN 101192194A CN A2007100007513 A CNA2007100007513 A CN A2007100007513A CN 200710000751 A CN200710000751 A CN 200710000751A CN 101192194 A CN101192194 A CN 101192194A
Authority
CN
China
Prior art keywords
test
test case
data storehouse
case data
query result
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
CNA2007100007513A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2007100007513A priority Critical patent/CN101192194A/en
Publication of CN101192194A publication Critical patent/CN101192194A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a test case design method based on a test case database system, including the following steps: firstly, extracted test key words are input into a test case database system; secondly, the test case database system queries according to the input test key words, and the following third step is executed when a query result exists; thirdly, the test case database system returns a test case and a test functional point prompt as a query result; fourthly, the test case database system outputs corresponding test case. Through making full use of the prior test cases during test implementation process of the system and providing expert test functional point prompt at the beginning of the design of the test case, the invention realizes effective extension of the thinking of the design staff of the test case, increase of the number of the test cases, shortened assessment time and improvement in assessment efficiency and assessment quality, thereby greatly improving testing quality.

Description

Method for test examples design based on test case data storehouse system
Technical field
The present invention relates to the communications field, and more particularly, relate to a kind of method for test examples design based on test case data storehouse system, this method is particularly useful for having the communication system of AM/BAM complication system.
Background technology
Along with the development of system, the design of test case also has different features in each stage.Initial stage and research staff have set up the basic test use-case storehouse of system together substantially, but do not extract by the characteristic of test case and the test function point that relates to.
Yet progressively perfect along with system generally do not carry out follow-up big function development, basically just to early stage system be optimized, new demand replenish and the solution of fault is incorporated into etc., be the design of system testing use-case basically.And from personnel, often have new tester to need to add, old tester need carry out rotating of field tests simultaneously, like this, carrying out test case when design, the designer is probably owing to be familiar with other field of system and not deep enoughly cause the design of test case comprehensive inadequately.In fact, generally can remedy by the evaluation of follow-up test use-case, but to accomplish that evaluation comprehensively to test case, then need the personnel that attend evaluation in body to understand system's original demands deeply, to guarantee the evaluation quality, otherwise can not satisfy the height evaluation quality of test case, cause again expending bigger manpower and time.
Therefore, because single Test Design personnel in the deficiency of test case design knowledge, cause the test case design to lack comprehensive, completeness and validity, and the efficient and the quality of test case evaluation are all not enough.
Summary of the invention
Consider the problems referred to above, the embodiment of the invention provides a kind of method for test examples design based on test case data storehouse system, and it utilizes experience accumulation forms in the system testing implementation process Validity Test use-case and test function point prompt system experts database.
The embodiment of the invention provides a kind of method for test examples design based on test case data storehouse system.
This method may further comprise the steps: first step, the test key word that input is extracted in the system of test case data storehouse; Second step, test case data storehouse system is inquired about according to the test key word of input; Wherein,, proceed to third step existing under the situation of Query Result, third step, test case data storehouse system returns test case and test function point is pointed out as Query Result; And the 4th step, test case data storehouse system exports corresponding test case.
Wherein, be extracted in the test key word of importing in the first step by the analytical test demand.The test key word can have one or more, and under the situation that has a plurality of test key words, the relation between a plurality of test key words can be any one or its combination in the following relation: logical and, logical OR, logic NOT.
In third step, the Query Result of test case data storehouse system output shows that with tree structure the node of tree structure can launch and fold.
In addition, between third step and the 4th step, further may further comprise the steps: steps A, check the prompting of test case and test function point.
On the other hand, after second step, if there is no Query Result, or Query Result is not comprehensive, then carries out the interpolation of corresponding test case and test function point information.
Concrete interpolation process is as follows: step a, select respective nodes in the tree-shaped query structure of test case data storehouse system; Step b adds corresponding test case of test case key word or test function point information in advance; And step c, in step b, under the situation of pre-information of adding by audit, information is added test case data storehouse system.
Wherein, in step c, do not pass through under the situation of audit deletion information in pre-information of adding.
In addition, above-mentioned respective nodes comprises any in following: system, subsystem, module.
Therefore, the present invention is by making full use of system's existing test case in the test implementation process, and at the beginning of test case design, just provide expert's test function point and point out, expanded test case designer's thinking effectively, enriched the test case number, shortened the time of evaluation, improved the efficient and the quality of evaluation, thereby improved test mass greatly.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram based on the method for test examples design of test case data storehouse system according to first embodiment of the invention;
Fig. 2 is the detail flowchart based on the specific implementation of the method for test examples design of test case data storehouse system that illustrates in the example 1;
Fig. 3 is the overview flow chart based on the method for test examples design of test case data storehouse system according to first embodiment of the invention; And
Fig. 4 illustrates to add the detail flowchart of the process of record to test case data storehouse system in the example 2.
Embodiment
Hereinafter with reference to accompanying drawing embodiments of the invention are described.
First embodiment
In the present embodiment, provide a kind of method for test examples design based on test case data storehouse system.
As shown in Figure 1, this method may further comprise the steps: step S102, the test key word that input is extracted in the system of test case data storehouse; Step S104, test case data storehouse system is inquired about according to the test key word of input; Wherein, exist under the situation of Query Result, proceeding to step S106, step S106, test case data storehouse system returns test case and test function point is pointed out as Query Result; And step S108, test case data storehouse system exports corresponding test case.
Wherein, for the test key word of importing in step S102, the tester can obtain by testing requirement is analyzed and designed according to testing requirement.In addition, the test key word can have one or more, and under the situation that has a plurality of test key words, the relation between a plurality of test key words can be any one or its combination in the following relation: logical and, logical OR, logic NOT.
The Query Result of test case data storehouse system output shows that with tree structure the node of tree structure can launch and fold in step S106, for example, the test key word-" system-" subsystem-" module-" test case and the prompting of test function point.
On the other hand, after step S104, if there is no Query Result, or Query Result is not comprehensive, then carries out the interpolation of corresponding test case and test function point information.
Concrete interpolation process as shown in Figure 3.Wherein, step S302-step S308 is identical with step S102-step S108, for this reason, will omit it is repeated in this description.
As shown in Figure 3, comprising: step S310, select respective nodes (as: corresponding system, subsystem, module) in the tree-shaped query structure of test case data storehouse system; Step S312 adds corresponding test case of test case key word or test function point information in advance; And step S314, in step S312, under the situation of pre-information of adding by audit, information is added test case data storehouse system.
Example 1
Specifically describe said method below with reference to example, the specific implementation of this example as shown in Figure 2.
Process shown in Figure 2 is carried out following description: S202: Test Design personnel carry out testing requirement analysis and design according to testing requirement, draw the test key word of this testing requirement, enter test case data storehouse system, import this test key word; S204: test case data storehouse system is inquired about according to the test key word of input; S206: select node corresponding in the tree structure (as: corresponding system, subsystem, module); S208: test case data storehouse system returns test case and test function point prompting query result; If there is not Query Result, show that then test case data storehouse system does not preserve the corresponding test case or the prompting of test function point of this test key word, need carry out replenish (S214) of corresponding test case and test function point information; If Query Result is arranged, carry out next step; S210: check the prompting of corresponding test case and test function point; S212: test case data storehouse system derives corresponding test case on request.
Wherein, the process shown in Fig. 3 can be carried out as the flow process of adding record to test case data storehouse system separately, and this process also can be called the self study process of test case data storehouse system.Come this is described in detail below with reference to example.
Example 2
The flow process of adding record to test case data storehouse system has been described in the example 2.As shown in Figure 4, may further comprise the steps:
S402: Test Design personnel carry out testing requirement analysis and design according to testing requirement, draw the test key word of this testing requirement, enter test case data storehouse system, import this test key word; S404: select node corresponding in the tree structure (as: corresponding system, subsystem, module; ); S406: this key word test case record or the prompting of test function point are added in the test case design specialist system in advance; S408: submit to expert group to examine this key word test case record or the prompting of test function point; If expert group's audit is passed through, then this key word test case record or the prompting of test function point are formally added in the test case design specialist system (S410), if can not examine, then from test case design specialist system, delete the pre-record (S412) that adds by expert group.
In addition, it is pointed out that the test key word that also can't know for inquiring, can be suspended in the system of test case data storehouse, wait for that corresponding personnel increase operation newly in the mode of message.
Like this, on basis described above, suppose new demand: in the V5 configuration management of OMC backstage the scope that is provided with of V5ID had original 0~15 to expand 0~511 to.
This testing requirement is given V5 operational trials man analysis and design.Draw following analysis result: in (1) V5 interface configuration ID is carried out maximal value, maximal value-1, minimum value, the test case of minimum value+1; (2) status poll of V5 interface and startup test; (3) test of distributing telephone numbers on the different I D interface among the HLR.
The action prompt that input V5ID key word obtains in the system of test case data storehouse: in the management of (1) V5 interface configuration ID is carried out maximal value, maximal value-1, minimum value, the test case design of minimum value+1; (2) status poll of V5 interface and startup test; (3) test of distributing telephone numbers on the different I D interface among the HLR, number information editor test; (4) select different V5ID to observe and follow the tracks of in service observation and the signaling tracing; (5) select V5ID to inquire about in the real-time register information inquiry of user among the HLR.
As can be seen, because the operational trials personnel are not very clear the correlation module of OMC, cause two test cases of when analyzing, having omitted OMC.
As mentioned above, the method for test examples design that provides by means of the embodiment of the invention based on test case data storehouse system, can make full use of forefathers' test experience accumulation, solve the incomplete problem of personal knowledge in the design test case effectively, simultaneously because system is dynamic perfecting process, coverage rate, validity when therefore having improved design test case have effectively also improved the efficient and the quality of evaluation simultaneously greatly, thereby have improved test mass.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the method for test examples design based on test case data storehouse system is characterized in that, may further comprise the steps:
First step, the test key word that input is extracted in the system of test case data storehouse;
Second step, described test case data storehouse system is inquired about according to the described test key word of input;
Wherein, existing under the situation of Query Result, proceed to third step
Third step, described test case data storehouse system returns test case and test function point is pointed out as Query Result; And
The 4th step, described test case data storehouse system exports corresponding test case.
2. method according to claim 1 is characterized in that, is extracted in the described test key word of importing in the described first step by the analytical test demand.
3. method according to claim 2, described test key word can have one or more, under the situation that has a plurality of test key words, the relation between described a plurality of test key words can be any one or its combination in the following relation: logical and, logical OR, logic NOT.
4. method according to claim 1 is characterized in that, in described third step, the described Query Result of described test case data storehouse system output shows that with tree structure the node of described tree structure can launch and fold.
5. method according to claim 1 is characterized in that, between described third step and the 4th step, further may further comprise the steps:
Steps A is checked the prompting of described test case and test function point.
6. according to each described method in the claim 1 to 5, it is characterized in that after described second step, if there is no Query Result, or Query Result is not comprehensive, then carry out the interpolation of corresponding test case and test function point information.
7. method according to claim 6 is characterized in that, may further comprise the steps:
Step a selects respective nodes in the tree-shaped query structure of described test case data storehouse system;
Step b adds corresponding test case of described test case key word or test function point information in advance; And
Step c under the situation of pre-described information of adding by audit, adds described test case data storehouse system with described information in step b.
8. method according to claim 7 is characterized in that, in described step c, does not pass through to delete described information under the situation of audit in pre-described information of adding.
9. method according to claim 7 is characterized in that, described respective nodes comprises any in following: system, subsystem, module.
CNA2007100007513A 2007-01-19 2007-01-19 Test case design method based on test case database Pending CN101192194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100007513A CN101192194A (en) 2007-01-19 2007-01-19 Test case design method based on test case database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100007513A CN101192194A (en) 2007-01-19 2007-01-19 Test case design method based on test case database

Publications (1)

Publication Number Publication Date
CN101192194A true CN101192194A (en) 2008-06-04

Family

ID=39487194

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100007513A Pending CN101192194A (en) 2007-01-19 2007-01-19 Test case design method based on test case database

Country Status (1)

Country Link
CN (1) CN101192194A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521133A (en) * 2011-12-15 2012-06-27 盛科网络(苏州)有限公司 TCL (tool command language)-based white-box testing automation method and TCL-based white-box testing automation system
CN104239212A (en) * 2014-09-28 2014-12-24 北京国双科技有限公司 Query method and device of test case and establishment method and device of test case
CN104750604A (en) * 2013-12-30 2015-07-01 中国银联股份有限公司 Generating method and device for browser compatibility test case
CN105302723A (en) * 2015-11-06 2016-02-03 北京京东尚科信息技术有限公司 Test case evaluation method and apparatus
CN105320701A (en) * 2014-08-04 2016-02-10 腾讯科技(深圳)有限公司 Method and device for screening function point test implementing ways, and terminal
CN106095677A (en) * 2016-06-08 2016-11-09 上海爱数信息技术股份有限公司 The RESTful Webservice automatic interface testing method realized based on Robot Framework
CN107273285A (en) * 2017-05-16 2017-10-20 北京金山安全软件有限公司 Test item generation method and device
CN107341080A (en) * 2017-07-07 2017-11-10 郑州云海信息技术有限公司 A kind of test case management system and method
CN107402882A (en) * 2017-07-21 2017-11-28 杭州迪普科技股份有限公司 Web page method of testing and device
CN107957957A (en) * 2017-12-28 2018-04-24 网易(杭州)网络有限公司 The acquisition methods and device of test case
WO2019100576A1 (en) * 2017-11-27 2019-05-31 平安科技(深圳)有限公司 Automated test management method and apparatus, terminal device, and storage medium
CN110232028A (en) * 2019-06-24 2019-09-13 湖南国科微电子股份有限公司 A kind of test exemple automation operation method and system
CN110471858A (en) * 2019-08-22 2019-11-19 腾讯科技(深圳)有限公司 Applied program testing method, device and storage medium
CN110532179A (en) * 2019-08-14 2019-12-03 交控科技股份有限公司 The method and device of test verifying is carried out in a kind of CBTC test analysis
CN110806969A (en) * 2019-09-18 2020-02-18 北京你财富计算机科技有限公司 Test case integrity evaluation method and device and electronic equipment
CN113190434A (en) * 2021-04-12 2021-07-30 成都安易迅科技有限公司 Test case generation method and device, storage medium and computer equipment

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521133A (en) * 2011-12-15 2012-06-27 盛科网络(苏州)有限公司 TCL (tool command language)-based white-box testing automation method and TCL-based white-box testing automation system
CN104750604A (en) * 2013-12-30 2015-07-01 中国银联股份有限公司 Generating method and device for browser compatibility test case
CN104750604B (en) * 2013-12-30 2017-08-25 中国银联股份有限公司 The generation method and device of browser compatibility test cases
CN105320701A (en) * 2014-08-04 2016-02-10 腾讯科技(深圳)有限公司 Method and device for screening function point test implementing ways, and terminal
CN105320701B (en) * 2014-08-04 2019-06-14 腾讯科技(深圳)有限公司 Screening technique, device and the terminal of function point test implementation
CN104239212A (en) * 2014-09-28 2014-12-24 北京国双科技有限公司 Query method and device of test case and establishment method and device of test case
CN104239212B (en) * 2014-09-28 2017-04-12 北京国双科技有限公司 Query method and device of test case and establishment method and device of test case
CN105302723A (en) * 2015-11-06 2016-02-03 北京京东尚科信息技术有限公司 Test case evaluation method and apparatus
CN105302723B (en) * 2015-11-06 2020-07-31 北京京东尚科信息技术有限公司 Test case evaluation method and device and computer readable storage medium
CN106095677B (en) * 2016-06-08 2018-09-25 上海爱数信息技术股份有限公司 The RESTful Webservice automatic interface testing methods realized based on Robot Framework
CN106095677A (en) * 2016-06-08 2016-11-09 上海爱数信息技术股份有限公司 The RESTful Webservice automatic interface testing method realized based on Robot Framework
CN107273285A (en) * 2017-05-16 2017-10-20 北京金山安全软件有限公司 Test item generation method and device
CN107341080B (en) * 2017-07-07 2021-07-27 郑州云海信息技术有限公司 Test case management system and method
CN107341080A (en) * 2017-07-07 2017-11-10 郑州云海信息技术有限公司 A kind of test case management system and method
CN107402882A (en) * 2017-07-21 2017-11-28 杭州迪普科技股份有限公司 Web page method of testing and device
CN107402882B (en) * 2017-07-21 2020-11-06 杭州迪普科技股份有限公司 Web page testing method and device
WO2019100576A1 (en) * 2017-11-27 2019-05-31 平安科技(深圳)有限公司 Automated test management method and apparatus, terminal device, and storage medium
CN107957957A (en) * 2017-12-28 2018-04-24 网易(杭州)网络有限公司 The acquisition methods and device of test case
CN107957957B (en) * 2017-12-28 2020-09-11 网易(杭州)网络有限公司 Test case obtaining method and device
CN110232028A (en) * 2019-06-24 2019-09-13 湖南国科微电子股份有限公司 A kind of test exemple automation operation method and system
CN110532179A (en) * 2019-08-14 2019-12-03 交控科技股份有限公司 The method and device of test verifying is carried out in a kind of CBTC test analysis
CN110471858A (en) * 2019-08-22 2019-11-19 腾讯科技(深圳)有限公司 Applied program testing method, device and storage medium
CN110471858B (en) * 2019-08-22 2023-09-01 腾讯科技(深圳)有限公司 Application program testing method, device and storage medium
CN110806969A (en) * 2019-09-18 2020-02-18 北京你财富计算机科技有限公司 Test case integrity evaluation method and device and electronic equipment
CN113190434A (en) * 2021-04-12 2021-07-30 成都安易迅科技有限公司 Test case generation method and device, storage medium and computer equipment
CN113190434B (en) * 2021-04-12 2024-03-08 成都安易迅科技有限公司 Test case generation method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN101192194A (en) Test case design method based on test case database
CN101178687B (en) Software regression testing method
CN109033471B (en) Information asset identification method and device
CN100409710C (en) Method and system for checking configuration of nodes in telecommunications network
CN103002415B (en) A kind of method and apparatus by short message sending identifying code
MX2019008958A (en) Resolving system information between eps and 5gs.
CN108322318B (en) Alarm analysis method and equipment
CN106155894A (en) A kind of generation method and device of test case
CN112543473B (en) Test method, device and equipment based on network element simulation and computer storage medium
CN100546414C (en) In a kind of mobile communication system to operation or the test data method and apparatus handling and analyze
CN109086213A (en) A kind of commercial vehicle network test management system and method based on distributed system
CN108733698A (en) A kind of processing method and background service system of log information
CN109639478A (en) There are the method, apparatus of family relationship client, equipment and media for identification
CN106844319A (en) Report form generation method and device
US7543198B2 (en) Test data reporting and analyzing using data array and related data analysis
CN109446327B (en) Diagnosis method and system for mobile communication customer complaints
CN107180114B (en) Maritime satellite communication ticket analysis method and system
CN106131134A (en) A kind of message content merges De-weight method and system
CN100558056C (en) Automation consistency test method and device
CN110572278B (en) Method and device for positioning information of three-layer gateway of metropolitan area network
CN102256255A (en) Detection method for parallel-used-card proof based on time and geographic location collisions
CN116760681A (en) Fault node association discovery method based on frequent item analysis
CN112416557B (en) Method and device for determining call relation, storage medium and electronic device
CN110635925B (en) Network node analysis system and analysis method
CN112800035A (en) GIS (geographic information System) -based power grid data communication sharing system

Legal Events

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

Open date: 20080604