CN104123227A - Method for automatically generating testing cases - Google Patents

Method for automatically generating testing cases Download PDF

Info

Publication number
CN104123227A
CN104123227A CN201410397663.1A CN201410397663A CN104123227A CN 104123227 A CN104123227 A CN 104123227A CN 201410397663 A CN201410397663 A CN 201410397663A CN 104123227 A CN104123227 A CN 104123227A
Authority
CN
China
Prior art keywords
case
test
data
user
management platform
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
CN201410397663.1A
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.)
Information Center of Guangdong Power Grid Co Ltd
Original Assignee
Information Center of Guangdong Power Grid 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 Information Center of Guangdong Power Grid Co Ltd filed Critical Information Center of Guangdong Power Grid Co Ltd
Priority to CN201410397663.1A priority Critical patent/CN104123227A/en
Publication of CN104123227A publication Critical patent/CN104123227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for automatically generating testing cases. The method includes the steps of building a testing case management platform to control generation of the testing cases, wherein the testing case management platform comprises a control layer, a service logical layer and a data accessing layer; obtaining an operation instruction input by a user; determining testing parameters and data types according to the operation instruction of the user; building testing data on the testing case management platform according to the testing parameters and the data types; calling case templates preset in a testing case template base through the data accessing layer, and automatically rendering the testing data with a case design method according to the case templates to generate the testing cases. The method for automatically generating the testing cases has the advantages that the automation degree is high, and the testing cases are comprehensive, normative, accurate and reasonable; the generating efficiency and the quality of the testing cases are greatly improved.

Description

A kind of method of automatic generating test use case
Technical field
The present invention relates to software testing technology field, relate in particular to a kind of method of automatic generating test use case.
Background technology
China's intelligent grid enters the all-round construction stage, and the construction of intelligent substation standard is pressed by capital construction transformer station.Along with intelligent substation popularization in China, how to realize more efficiently and accurately the test to digitizing protective device protection logic, more and more come into one's own.Because tested software or system become increasingly complex, be to guarantee test mass, conventionally need design and write a large amount of test cases.Writing of test case occupied very large proportion in whole test job amount, determining the testing efficiency of whole system and quality.
Current Test Sample Design technical ability requires threshold higher, need professional designer to there is higher technical merit and abundant working experience, just can design satisfactory test case, meet the coverage of test, therefore the quality of test case is very high to people's dependence, and test case quality respectively has height because different people writes.And through long-term facts have proved, between each functional module in system under test (SUT), or between system under test (SUT) and system under test (SUT), often because of functional similarity, method for test examples design phase Sihe test case structural similarity, and there is a large amount of closely similar test cases, therefore quite most test case belongs to and repeats to write, for the Automation Design and generating test use case provide may.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of automatic generating test use case, the efficiency that improves Test Sample Design and write, the designing quality of raising test case.
For solving above technical matters, the embodiment of the present invention provides a kind of method of automatic generating test use case, comprising:
Set up test case management platform to control the generation of test case; Described test case management platform comprises key-course, Business Logic and data access layer;
Obtain the operational order of user's input;
Described key-course, by sending control routine monitoring page jump logical relation, is collected user's request msg, forwards user's request, and controls according to user's operational order the display page that described test case management platform jumps to appointment;
Described Business Logic is monitored the page jump logical relation obtaining according to described key-course, user's operational order is converted into service logic;
Described data access layer comprises test case data storehouse and test case template storehouse, carries out data transmission and storage, and the access control order of control data transmission and storage is carried out to individual packages according to described service logic and described test case data storehouse;
According to user's operational order, determine test parameter and data type; According to described test parameter and described data type, on described test case management platform, construct test data;
By described data access layer, call use-case template default in described test case template storehouse, and according to described use-case template, described test data is played up with generating test use case automatically according to use-case method for designing.
A kind of can implementation in, described use-case method for designing is equivalence class partitioning.
In another can implementation, described use-case method for designing is boundary value analysis method.
In another can implementation, described use-case method for designing is orthogonal experimental design method.
Further, described test case management platform also comprises test data Core Generator;
By described test data Core Generator, the data type of test data is defined and revised, and according to user's operational order typing, modification or deletion test data.
Further, the method for described automatic generating test use case, also comprises: by described test data Core Generator, set up data group, use-case method for designing and the association status of described data group are arranged.
Again further, the method for described automatic generating test use case, also comprises: set up the incidence relation of key word and test case function point, form function point listing file;
Described function point listing file is imported to described test case management platform, and use-case template default in described test case template storehouse chosen in the key word of inputting according to user, and according to the automatic generating test use case of described function point listing file.
Preferably, described test case management platform is provided with multiple user right;
Import described function point listing file on described test case management platform before, judge whether current operation user possesses the use-case design authority based on key word; If active user is the user who possesses the use-case design authority based on key word, according to the automatic generating test use case of described function point listing file.
The method of automatic generating test use case provided by the invention, by setting up test case management platform to control the generation of test case, and test case management platform is divided into key-course, Business Logic and data access layer, by key-course, monitor page jump logical relation, collect user's request msg, forward user's request, and control according to user's operational order the display page that described test case management platform jumps to appointment, by Business Logic, user's operational order is converted into service logic; By data access layer, according to described service logic and test case data storehouse, carry out data transmission and storage, and the access control order of control data transmission and storage is carried out to individual packages; Thereby the present invention can determine test parameter and data type according to user's operational order, on described test case management platform, construct test data, this test data is generated as to needed test case automatically.The present invention has overcome that traditional test case of being undertaken by craft is existing writes the defect that inefficiency and difficult quality are protected, and adopts robotization generation technique, improves formation efficiency and the quality of test case.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of an embodiment of the method for automatic generating test use case provided by the invention.
Fig. 2 is a kind of data shelf composition of test case management platform provided by the invention.
Fig. 3 is flow chart of steps of adding test case in described test case list interface provided by the invention.
Fig. 4 is provided by the invention according to a kind of flow chart of steps that can implementation of function point listing file generating test use case.
Fig. 5 is the flow chart of steps based on cause-and-effect diagram use-case design method generating test use case provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Referring to Fig. 1, it is the flow chart of steps of an embodiment of the method for automatic generating test use case provided by the invention.
The method of the automatic generating test use case that the present embodiment provides mainly comprises the following steps:
Step S101: set up test case management platform to control the generation of test case.Described test case management platform comprises key-course, Business Logic and data access layer.In the present embodiment, while specifically implementing, adopt bus-type framework to design this test case management platform, can eliminate the technological disparity between different application, allow different application server coordinate operation, realized communication and integration between different services.From function, ESB (Enterprise Service Bus, ESB) provide the tupe of event-driven and document guiding, and distributed operational management mechanism, support content-based route and filtration, the transmittability that has possessed complex data, and a series of standard interface can be provided, provide other system to use.
Step S102: the operational order that obtains user's input.
Step S103: described key-course is by sending control routine monitoring page jump logical relation, collect user's request msg, forward user's request, and control according to user's operational order the display page (Java Server Pages is called for short JSP) that described test case management platform jumps to appointment.Key-course (Command) can comprise service interface layer, represents layer, authentication entitlement management module, security control log management module and ESB (Enterprise Service Bus, ESB) service bus etc., to connect and to control the signal of whole test case management platform, control the duty of test case management platform.In addition, represent layer and also by the various browsers (Internet Explorer) that connect in client, carry out data communication with user.
Step S104: described Business Logic (Service) is monitored the page jump logical relation obtaining according to described key-course, user's operational order is converted into service logic.Service layer is mainly paid close attention to page logic, client's demand is converted into actual service logic and just by Service layer, is realized, wherein authority transaction journal etc. is not that the intersection of pure business is by AOP (Aspect Oriented Programming, towards tangent plane programming) special procedure process, developer's focus is focused on and can be by loaded down with trivial details efficiency that other thing affects.
Step S105: described data access layer comprises test case data storehouse and test case template storehouse, according to described service logic and described test case data storehouse, carry out data transmission and storage, and the access control order of control data transmission and storage is carried out to individual packages.Particularly, data access layer (Data Access Object, be called for short DAO) mainly generate in service logic, need and database between carry out mutual control routine, for example, the present embodiment is to SQL (Structured Query Language, Structured Query Language (SQL)) the corresponding database such as program statement, data storage procedure carries out the encapsulation of the part control routine of data access, and data access layer is detached and independently can realize better transplantability.
Step S106: determine test parameter and data type according to user's operational order; According to described test parameter and described data type, on described test case management platform, construct test data.
Step S107: call use-case template default in described test case template storehouse by described data access layer, and according to described use-case template, described test data is played up with generating test use case automatically according to use-case method for designing.
In the present embodiment, Business Logic is mainly used in doing the work of some validation verifications, with the robustness of better assurance program operation.As complete data interpolation, modification and inquiry business etc.; Do not allow to input null character string in the text box of appointment the whether correct and data type checking of data layout; The validity judgement of user right etc.; By above many judgements, to determine whether will operate, continue to transmit backward, guarantee the normal operation of program as far as possible.The major function of data access layer is to be responsible for the access of database, for realizing the Select (inquiry) to tables of data, Insert (insertion), Update (renewal), the operations such as Delete (deletion).If add the element of ORM (Object-Relational Mapping, Object Relation Mapping), will comprise so the mapping (mapping) between object and tables of data, and the persistence of object entity.Data access layer, briefly, the operations such as SQL statement of by data access layer, database being carried out exactly.
Referring to Fig. 2, it is a kind of data shelf composition of test case management platform provided by the invention.Particularly, need to first set up test case template storehouse 201, for the template of generating test use case; Preferably, described test case management platform also comprises test data Core Generator 202; By described test data Core Generator, the data type of test data is defined and revised, and according to user's operational order typing, modification or deletion test data, therefore can be according to the rule generation test data of user preset; In addition, need to set in advance test case create-rule module 203, user need to, according to the needs of test occasion, adopt corresponding use-case method for designing, for example equivalence class partitioning.More than having completed after the preparation of three parts, gather three's effect can be in batches generating test use case automatically, as the test case 1 in Fig. 2, test case 2 ..., test case N.All test cases are finally aggregated into the test case management end in test case management platform 204, thereby realize unified management and scheduling to test case and use-case data.
The test data that the present embodiment produces by test data Core Generator 202 can be applied in test management platform 204, through calling the test case template in test case template storehouse 201, according to module 203, select corresponding method for test examples design, by test data robotization Mass production, be a plurality of test cases, to meet the demand of software test.Further, the present embodiment can be set up data group by described test data Core Generator, and use-case method for designing and the association status of described data group are arranged.
In a kind of attainable mode, described use-case method for designing is equivalence class partitioning.By equivalence class partitioning, all possible input data of program (effective and invalid) are divided into several equivalence classes, then from each part, choose representative data and reasonably classify as test case; Test case is comprised of the representative of effective equivalence class and invalid equivalence class, thereby guarantees that test case has integrality and representativeness.Utilize this method design test case can not consider the inner structure of program, user's the actual demand description of take is foundation, selects suitable typical subset, serious analysis and weigh every demand of user and find as much as possible mistake.
In the attainable mode of another kind, described use-case method for designing is boundary value analysis method.Boundary value analysis is made further improvement on the basis of equivalence class partitioning.Boundary value analysis method is not from certain equivalence class, at will to choose one as representative, but makes each border of this equivalence class will be as test condition; It not only considers initial conditions, also will consider the test case that output region produces.According to long-term test practical experience, a large amount of software test mistakes is to occur on the border of the scope of inputing or outputing, rather than occurs in the inside of input/output bound.Therefore for various border condition design test case, can be conducive to detect more mistake.
For example, can set up data source table " TPM_BOUNDARY_DATASOURCE ", and its field information is carried out to assignment, as shown in table 1.
Table 1 Boundary value method energy data source table TPM_BOUNDARY_DATASOURCE
Sequence number Field name Field description Field type Length Allow empty
1 ID ID NUMBER 18 N
2 DATAGROUP_ID Affiliated data group id NUMBER 19 Y
3 FIELD_NAME Field name VARchar2 40 Y
4 DATATYPE_ID Data type id NUMBER 19 Y
5 RANGE Scope VARchar2 40 Y
6 REGULAR Regular expression VARchar2 40 Y
7 CORRECT_COUNT Positive exact figures NUMBER 10 Y
8 ERROR_COUNT Mistake number NUMBER 10 Y
9 OUTER_COUNT Number outside border NUMBER 10 Y
10 BOUNDARY_COUNT Boundary value number NUMBER 10 Y
11 CORRECT_VALUE Right value VARchar2 510 Y
12 ERROR_VALUE Improper value VARchar2 510 Y
13 OUTER_VALUE Outside border VARchar2 510 Y
14 BOUNDARY_VALUE Boundary value VARchar2 510 Y
15 CREATE_TIME Creation-time TIMESTAMP 11 Y
16 UPDATE_TIME Modification time TIMESTAMP 11 Y
Set up Boundary value method result data table " TPM_ORTHOGONAL_DATASOURCE ", as shown in table 2.
Table 2 Boundary value method result data table TPM_BOUNDARY_DATARESULT
Sequence number Field name Field description Field type Length Allow empty
1 ID ID NUMBER 19 N
2 DATAGROUP_ID Affiliated data group id NUMBER 19 Y
3 DATA Data VARchar2 510 Y
4 EXPECTED_RESULT Expected results VARchar2 510 Y
5 COLUMN_COUNT Data columns NUMBER 10 Y
6 CREATE_TIME Creation-time TIMESTAMP 11 Y
7 UPDATE_TIME Modification time TIMESTAMP 11 Y
At upper table 1, include 16 field names, table 2 has comprised 6 field names, and and respectively each field name is described, and give different field types and length, whether allow for the definition such as empty.All configuration informations are preset by user, for characterizing the test data generator that meets user's request.Described field information can also comprise the annotation, default value, attribute of this field information, certainly increase the information such as type, constraint.
In another attainable mode, described use-case method for designing is Orthogonal Experiment and Design (Orthogonal experimental design) method.Its design process mainly comprises: 1) determine experimental factor and number of levels; 2) select suitable orthogonal arrage; 3) list testing program and test findings; 4) Orthogonal Experiment and Design result is analyzed, comprised range analysis and variance analysis; 5) determine optimum or more excellent factor level combination.Quadrature Shiyan design method is picked out the representational point of part and is tested from comprehensive test according to orthogonality, be a kind of high-level efficiency, quick, economic experimental design method.
Further, in the middle of concrete enforcement, test case management platform can be set up platform management interface and the user oriented functions such as button are set, the interface that user implements test case management platform by the login of operation setting button, can know by this interface one or more test case libraries that test case data storehouse is provided with.For example, be provided with public use-case storehouse in the data access layer of test case management platform, user enters public use-case list interface when clicking " public use-case " function button of platform, and user can be by the test case in the public use-case of this Interface maintenance storehouse.When needs increase test case newly to public use-case storehouse, the key-course of platform and Business Logic can be by generating the mode of corresponding function button, eject user oriented " interpolation use-case " functional block, user only need arrange the information such as the related test data of test case, quantity type, use-case method for designing, priority level in this functional block, and the backstage of platform can generate public use-case automatically.
As shown in Figure 3, while adding test case in described test case list interface, can comprise the following steps:
Step S301: input use-case information on described test case management platform;
Step S302: test case list interface ejects use-case and adds frame;
Step S303: need to determine whether to add test case data according to user;
Step S304: user's service data is upgraded and preserved.
It should be noted that, described test case management platform is typically provided with multiple user right.User carries out, in the process of data transmission, conventionally need to possessing corresponding operating right between local system and test case management platform.For example, only possess the user who public use-case is examined to administration authority, the public use-case that just can enter platform is examined administration page, browses the directory listing of public use-case and completes examining of test case by corresponding function button.And possess the user of the multiplexing authority of template, enter after the multiplexing page of template of platform can public use-case directory listing, and can carry out reuse plan to test case by choosing corresponding function button.Due to the power of examination and approval having increased public use-case, thereby can different users be limited, avoid the improper operation behavior of some operating personnel that do not possess authority to public use-case management platform, and, can, so that managerial personnel examine newly-increased or amended test case, guarantee quality and the availability of test case.And because user is when designing other test cases, can call existing test case in public use-case storehouse, improve the reusability of test case.Further, user can access test case management platform existing test case in platform is directed into local system, or the test case of local system is directed into test case management platform, has improved formation efficiency and the reusability of test case.
Further, the method for the automatic generating test use case that the present embodiment provides also comprises: set up the incidence relation of key word and test case function point (Function Point), form function point listing file.In concrete software test procedure, can use " function point " to be measured user's that software product offers function.
The present embodiment imports described test case management platform by described function point listing file, and use-case template default in described test case template storehouse chosen in the key word of inputting according to user, and according to the automatic generating test use case of described function point listing file.
Preferably, import described function point listing file on described test case management platform before, judge whether current operation user possesses the use-case design authority based on key word; If active user is the user who possesses the use-case design authority based on key word, according to the automatic generating test use case of described function point listing file.
Particularly, referring to Fig. 4, be provided by the invention according to a kind of flow chart of steps that can implementation of function point listing file generating test use case, this implementation specifically comprises the following steps:
Step S401: import the function point listing file based on key word on described test case management platform;
Step S402: judge whether active user possesses key word use-case design authority;
Step S403: if active user is the user who possesses the design of key word use-case, enter after the key word use-case design page user, eject import feature dot file frame;
Step S404: user is by described function point file frame generating test use case.
Particularly, need to utilize the data framework relation of each layer on side case management platform, on key word use-case step table " TPM_NEW_KEY_CASE_STEP ", pre-set each Step Information of the test case that will generate, as shown in table 3.
Table 3 TPM_NEW_KEY_CASE_STEP
Sequence number Field name Field description Field type Length Allow empty
1 STEP_ID ID NUMBER 19 N
2 TC_ID Test case ID NUMBER 19 Y
3 STEP_DESC Step is described VARchar2 400 Y
4 EXPECT_RESULT Expected results VARchar2 400 Y
5 SORT Step sequence NUMBER 19 Y
Further by setting up key word use-case module information table " TPM_NEW_KEY_CASE ", the module information based on key word generating test use case is set again, as shown in table 4.
Table 4 TPM_NEW_KEY_CASE
Sequence number Field name Field description Field type Length Allow empty
1 TC_ID ID NUMBER 19 N
2 TQ_ID Testing requirement ID NUMBER 19 Y
3 TC_SN Use-case numbering VARchar2 40 Y
4 TC_NAME Use-case title VARchar2 256 N
5 TC_TYPE Use-case type code VARchar2 20 Y
6 TC_DESC Test case is described VARchar2 2048 Y
7 EXECUTE_WAY Use-case executive mode (M: manual A: automatically) VARchar2 2 Y
8 CONDITION Precondition VARchar2 2048 Y
9 STATE State VARchar2 4 Y
10 PRIORITY Priority VARchar2 20 Y
11 RELATE_FLAG Associated script (Y: associated N: not associated) VARchar2 2 Y
12 CREATER Founder VARchar2 40 Y
13 CREATE_ID Founder ID NUMBER 19 Y
14 CREATE_TIME Creation-time TIMESTAMP 11 Y
15 UPDATE_TIME Modification time TIMESTAMP 11 Y
User can be based on table 3 and set test case module information and the Step Information of table 4, automatically generates the test case matching with table 3 and the default information of table 4 by test case management platform.
It should be noted that, the method for automatic generating test use case provided by the invention can also adopt other implementation generating test use cases, as cause-and-effect diagram use-case design method.
Particularly, referring to Fig. 5, be the flow chart of steps based on cause-and-effect diagram use-case design method generating test use case provided by the invention.Specifically comprise:
Step S501: launch " use-case design " tree structure; Described tree structure refers between test case the nonlinear data structure of the tree-like relation that exists " one-to-many ", can facilitate tester to carry out multiplexing or management to numerous test cases on platform.
Step S502: click " design of cause-and-effect diagram use-case " menu and enter cause-and-effect diagram use-case design lists interface;
Step S503: the test case to the design of cause-and-effect diagram method operates and manages; After use-case designs, can carry out the multiplexing of page module and add test case management platform to this use-case;
Step S504: to the inquiry of cause and effect method design use-case, increase newly, delete, refresh and copy.
Therefore, the method for automatic generating test use case provided by the invention can need towards different users, and design has the test case of different characteristics, and formation efficiency is high, and speed is fast and reusability is high.Owing to being operation generating test use case data according to the functional specification of the required system to be tested of user and active user, therefore the test case of obtaining can be more comprehensively, standard, reflect accurately the testing requirement of system to be tested, more reasonable, and due to without tester's hand-coding, greatly reduced tester's workload.
The method of automatic generating test use case provided by the invention, by setting up test case management platform to control the generation of test case, and test case management platform is divided into key-course, Business Logic and data access layer, by key-course, monitor page jump logical relation, collect user's request msg, forward user's request, and control according to user's operational order the display page that described test case management platform jumps to appointment, by Business Logic, user's operational order is converted into service logic; By data access layer, according to described service logic and test case data storehouse, carry out data transmission and storage, and the access control order of control data transmission and storage is carried out to individual packages; Thereby the present invention can determine test parameter and data type according to user's operational order, on described test case management platform, construct test data, this test data is generated as to needed test case automatically.The present invention has overcome that traditional test case of being undertaken by craft is existing writes the defect that inefficiency and difficult quality are protected, and adopts robotization generation technique, improves formation efficiency and the quality of test case.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (8)

1. a method for automatic generating test use case, is characterized in that, comprising:
Set up test case management platform to control the generation of test case; Described test case management platform comprises key-course, Business Logic and data access layer;
Obtain the operational order of user's input;
Described key-course, by sending control routine monitoring page jump logical relation, is collected user's request msg, forwards user's request, and controls according to user's operational order the display page that described test case management platform jumps to appointment;
Described Business Logic is monitored the page jump logical relation obtaining according to described key-course, user's operational order is converted into service logic;
Described data access layer comprises test case data storehouse and test case template storehouse, carries out data transmission and storage, and the access control order of control data transmission and storage is carried out to individual packages according to described service logic and described test case data storehouse;
According to user's operational order, determine test parameter and data type; According to described test parameter and described data type, on described test case management platform, construct test data;
By described data access layer, call use-case template default in described test case template storehouse, and according to described use-case template, described test data is played up with generating test use case automatically according to use-case method for designing.
2. the method for automatic generating test use case as claimed in claim 1, is characterized in that, described use-case method for designing is equivalence class partitioning.
3. the method for automatic generating test use case as claimed in claim 1, is characterized in that, described use-case method for designing is boundary value analysis method.
4. the method for automatic generating test use case as claimed in claim 1, is characterized in that, described use-case method for designing is orthogonal experimental design method.
5. the method for the automatic generating test use case as described in claim 1~4 any one, is characterized in that, described test case management platform also comprises test data Core Generator;
By described test data Core Generator, the data type of test data is defined and revised, and according to user's operational order typing, modification or deletion test data.
6. the method for automatic generating test use case as claimed in claim 5, is characterized in that, also comprises: by described test data Core Generator, set up data group, use-case method for designing and the association status of described data group are arranged.
7. the method for automatic generating test use case as claimed in claim 5, is characterized in that, also comprises: set up the incidence relation of key word and test case function point, form function point listing file;
Described function point listing file is imported to described test case management platform, and use-case template default in described test case template storehouse chosen in the key word of inputting according to user, and according to the automatic generating test use case of described function point listing file.
8. the method for automatic generating test use case as claimed in claim 7, is characterized in that, described test case management platform is provided with multiple user right;
Import described function point listing file on described test case management platform before, judge whether current operation user possesses the use-case design authority based on key word; If active user is the user who possesses the use-case design authority based on key word, according to the automatic generating test use case of described function point listing file.
CN201410397663.1A 2014-08-13 2014-08-13 Method for automatically generating testing cases Pending CN104123227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410397663.1A CN104123227A (en) 2014-08-13 2014-08-13 Method for automatically generating testing cases

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410397663.1A CN104123227A (en) 2014-08-13 2014-08-13 Method for automatically generating testing cases

Publications (1)

Publication Number Publication Date
CN104123227A true CN104123227A (en) 2014-10-29

Family

ID=51768647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410397663.1A Pending CN104123227A (en) 2014-08-13 2014-08-13 Method for automatically generating testing cases

Country Status (1)

Country Link
CN (1) CN104123227A (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503900A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Test case generation method and device
CN104679658A (en) * 2015-03-17 2015-06-03 百度在线网络技术(北京)有限公司 Test method and test system for WEB pages
CN105512036A (en) * 2015-12-12 2016-04-20 天津南大通用数据技术股份有限公司 Test template for automatically generating test case according to preset rules and test method
CN106339312A (en) * 2015-07-17 2017-01-18 腾讯科技(深圳)有限公司 API (application programming interface) testing method and system
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN104461875B (en) * 2014-11-23 2018-01-09 国云科技股份有限公司 A kind of method according to equivalence class design software test case
CN107783901A (en) * 2017-09-26 2018-03-09 深圳市牛鼎丰科技有限公司 Method for generating test case, device, computer equipment and storage medium
CN107908549A (en) * 2017-10-24 2018-04-13 北京小米移动软件有限公司 Method for generating test case, device and computer-readable recording medium
CN107943695A (en) * 2017-11-21 2018-04-20 郑州云海信息技术有限公司 Testing case management, device, equipment and computer-readable recording medium
CN108388545A (en) * 2018-01-26 2018-08-10 浪潮软件集团有限公司 Method and tool for generating test data of text input box
CN108490922A (en) * 2018-04-27 2018-09-04 北京新能源汽车股份有限公司 A kind of generation method and device of unified diagnostic service test case
CN108984410A (en) * 2018-07-18 2018-12-11 郑州云海信息技术有限公司 A kind of method for test examples design of high multiplexing
CN109062780A (en) * 2018-06-25 2018-12-21 深圳市远行科技股份有限公司 The development approach and terminal device of automatic test cases
CN109471796A (en) * 2018-10-16 2019-03-15 平安证券股份有限公司 Interface test method, device, computer equipment and storage medium
CN109522228A (en) * 2018-11-15 2019-03-26 深圳乐信软件技术有限公司 Interface automatic test data configuration method, apparatus, platform and storage medium
CN109614519A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Data lead-in method and data importing device
CN109710532A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Test case management method and device and electronic equipment
CN109871321A (en) * 2019-01-23 2019-06-11 四川虹美智能科技有限公司 A kind of method and test case management platform of test case Code automatic build
CN109871311A (en) * 2017-12-04 2019-06-11 北京京东尚科信息技术有限公司 A kind of method and apparatus for recommending test case
WO2019134480A1 (en) * 2018-01-05 2019-07-11 中兴通讯股份有限公司 Development method and device based on structured query language (sql), and storage medium
CN110166328A (en) * 2019-07-05 2019-08-23 南方电网科学研究院有限责任公司 A kind of test device of demand response equipment
CN110221960A (en) * 2019-04-19 2019-09-10 平安科技(深圳)有限公司 Generate method and device, the computer equipment, storage medium of test case
CN110750442A (en) * 2019-09-06 2020-02-04 平安医疗健康管理股份有限公司 Test case generation method, device, equipment and storage medium
CN110780850A (en) * 2019-10-24 2020-02-11 上海复深蓝软件股份有限公司 Requirement case auxiliary generation method and device, computer equipment and storage medium
CN110825620A (en) * 2019-10-16 2020-02-21 四川大学 Test case priority calculation method in regression test
CN110825616A (en) * 2019-09-25 2020-02-21 北京中科晶上科技股份有限公司 Automatic test system for mobile terminal equipment in local area network
CN110888802A (en) * 2019-10-24 2020-03-17 广州永融科技股份有限公司 Method for managing test requirement
CN110990280A (en) * 2019-12-03 2020-04-10 中国工商银行股份有限公司 Automatic test data generation system and method
CN111104161A (en) * 2019-12-03 2020-05-05 江苏艾佳家居用品有限公司 Automatic approval execution method for database sql script
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform
CN112180890A (en) * 2019-07-05 2021-01-05 北京新能源汽车股份有限公司 Test case generation method, device and equipment
CN112286810A (en) * 2020-10-29 2021-01-29 中国航空工业集团公司洛阳电光设备研究所 Method and system for quickly generating use case based on use case data and logic separation
CN112363948A (en) * 2020-11-30 2021-02-12 深圳市六度人和科技有限公司 Interface testing method and device, electronic equipment and storage medium
CN113110982A (en) * 2021-03-29 2021-07-13 青岛海尔科技有限公司 Data access layer verification method and device, storage medium and electronic device
CN116204446A (en) * 2023-05-06 2023-06-02 云账户技术(天津)有限公司 Automatic test flow management method and device based on JIRA platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141767A (en) * 2007-10-10 2008-03-12 中兴通讯股份有限公司 Network management platform testing system and method
CN101162426A (en) * 2007-11-15 2008-04-16 中兴通讯股份有限公司 Example design test method for testing based on data driving and automatically testing platform
US20080126852A1 (en) * 2006-08-14 2008-05-29 Brandyberry Mark A Handling Fatal Computer Hardware Errors
CN103186457A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and device for automatically generating test case

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126852A1 (en) * 2006-08-14 2008-05-29 Brandyberry Mark A Handling Fatal Computer Hardware Errors
CN101141767A (en) * 2007-10-10 2008-03-12 中兴通讯股份有限公司 Network management platform testing system and method
CN101162426A (en) * 2007-11-15 2008-04-16 中兴通讯股份有限公司 Example design test method for testing based on data driving and automatically testing platform
CN103186457A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and device for automatically generating test case

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TMAC: "老调重弹:浅析MVC模式与三层架构的区别", 《HELLO-CODE.BLOG》 *

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503900A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Test case generation method and device
CN104461875B (en) * 2014-11-23 2018-01-09 国云科技股份有限公司 A kind of method according to equivalence class design software test case
CN104679658B (en) * 2015-03-17 2018-11-13 百度在线网络技术(北京)有限公司 The test method and system of WEB page
CN104679658A (en) * 2015-03-17 2015-06-03 百度在线网络技术(北京)有限公司 Test method and test system for WEB pages
CN106339312A (en) * 2015-07-17 2017-01-18 腾讯科技(深圳)有限公司 API (application programming interface) testing method and system
CN106339312B (en) * 2015-07-17 2021-01-12 腾讯科技(深圳)有限公司 API test method and system
CN105512036A (en) * 2015-12-12 2016-04-20 天津南大通用数据技术股份有限公司 Test template for automatically generating test case according to preset rules and test method
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN107783901A (en) * 2017-09-26 2018-03-09 深圳市牛鼎丰科技有限公司 Method for generating test case, device, computer equipment and storage medium
CN107783901B (en) * 2017-09-26 2020-05-12 深圳市牛鼎丰科技有限公司 Test case generation method and device, computer equipment and storage medium
CN107908549A (en) * 2017-10-24 2018-04-13 北京小米移动软件有限公司 Method for generating test case, device and computer-readable recording medium
CN107943695A (en) * 2017-11-21 2018-04-20 郑州云海信息技术有限公司 Testing case management, device, equipment and computer-readable recording medium
CN109871311A (en) * 2017-12-04 2019-06-11 北京京东尚科信息技术有限公司 A kind of method and apparatus for recommending test case
WO2019134480A1 (en) * 2018-01-05 2019-07-11 中兴通讯股份有限公司 Development method and device based on structured query language (sql), and storage medium
CN108388545A (en) * 2018-01-26 2018-08-10 浪潮软件集团有限公司 Method and tool for generating test data of text input box
CN108490922A (en) * 2018-04-27 2018-09-04 北京新能源汽车股份有限公司 A kind of generation method and device of unified diagnostic service test case
CN108490922B (en) * 2018-04-27 2020-03-24 北京新能源汽车股份有限公司 Generation method and device of unified diagnostic service test case
CN109062780B (en) * 2018-06-25 2021-08-17 深圳市远行科技股份有限公司 Development method of automatic test case and terminal equipment
CN109062780A (en) * 2018-06-25 2018-12-21 深圳市远行科技股份有限公司 The development approach and terminal device of automatic test cases
CN108984410A (en) * 2018-07-18 2018-12-11 郑州云海信息技术有限公司 A kind of method for test examples design of high multiplexing
CN109471796A (en) * 2018-10-16 2019-03-15 平安证券股份有限公司 Interface test method, device, computer equipment and storage medium
CN109522228A (en) * 2018-11-15 2019-03-26 深圳乐信软件技术有限公司 Interface automatic test data configuration method, apparatus, platform and storage medium
CN109522228B (en) * 2018-11-15 2022-06-24 深圳乐信软件技术有限公司 Interface automation test data construction method, device, platform and storage medium
CN109614519B (en) * 2018-12-07 2021-06-15 万兴科技股份有限公司 Data import method and data import device
CN109614519A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Data lead-in method and data importing device
CN109710532A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Test case management method and device and electronic equipment
CN109871321A (en) * 2019-01-23 2019-06-11 四川虹美智能科技有限公司 A kind of method and test case management platform of test case Code automatic build
CN110221960A (en) * 2019-04-19 2019-09-10 平安科技(深圳)有限公司 Generate method and device, the computer equipment, storage medium of test case
CN110166328B (en) * 2019-07-05 2021-07-16 南方电网科学研究院有限责任公司 Testing device of demand response equipment
CN110166328A (en) * 2019-07-05 2019-08-23 南方电网科学研究院有限责任公司 A kind of test device of demand response equipment
CN112180890A (en) * 2019-07-05 2021-01-05 北京新能源汽车股份有限公司 Test case generation method, device and equipment
CN110750442A (en) * 2019-09-06 2020-02-04 平安医疗健康管理股份有限公司 Test case generation method, device, equipment and storage medium
CN110825616A (en) * 2019-09-25 2020-02-21 北京中科晶上科技股份有限公司 Automatic test system for mobile terminal equipment in local area network
CN110825620A (en) * 2019-10-16 2020-02-21 四川大学 Test case priority calculation method in regression test
CN110825620B (en) * 2019-10-16 2021-06-15 四川大学 Test case priority calculation method in regression test
CN110780850A (en) * 2019-10-24 2020-02-11 上海复深蓝软件股份有限公司 Requirement case auxiliary generation method and device, computer equipment and storage medium
CN110888802A (en) * 2019-10-24 2020-03-17 广州永融科技股份有限公司 Method for managing test requirement
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform
CN111104161A (en) * 2019-12-03 2020-05-05 江苏艾佳家居用品有限公司 Automatic approval execution method for database sql script
CN110990280A (en) * 2019-12-03 2020-04-10 中国工商银行股份有限公司 Automatic test data generation system and method
CN111104161B (en) * 2019-12-03 2022-07-08 江苏艾佳家居用品有限公司 Automatic approval execution method for database sql script
CN110990280B (en) * 2019-12-03 2023-09-12 中国工商银行股份有限公司 Automatic test data generation system and method
CN112286810A (en) * 2020-10-29 2021-01-29 中国航空工业集团公司洛阳电光设备研究所 Method and system for quickly generating use case based on use case data and logic separation
CN112363948A (en) * 2020-11-30 2021-02-12 深圳市六度人和科技有限公司 Interface testing method and device, electronic equipment and storage medium
CN112363948B (en) * 2020-11-30 2024-04-09 深圳市六度人和科技有限公司 Interface testing method and device, electronic equipment and storage medium
CN113110982A (en) * 2021-03-29 2021-07-13 青岛海尔科技有限公司 Data access layer verification method and device, storage medium and electronic device
CN116204446A (en) * 2023-05-06 2023-06-02 云账户技术(天津)有限公司 Automatic test flow management method and device based on JIRA platform
CN116204446B (en) * 2023-05-06 2023-08-18 云账户技术(天津)有限公司 Automatic test flow management method and device based on JIRA platform

Similar Documents

Publication Publication Date Title
CN104123227A (en) Method for automatically generating testing cases
CN104133772B (en) Automatic test data generation method
CN107370786B (en) General information management system based on micro-service architecture
CN106293664A (en) Code generating method and device
CN103838672A (en) Automated testing method and device for all-purpose financial statements
CN108628748B (en) Automatic test management method and automatic test management system
CN104951527A (en) System and method for rapid configuration of database management background
CN103077022B (en) A kind of work flow visual operation collocation method and device
CN104391786A (en) Webpage automatic test system and method thereof
CN110968509B (en) Method and system for batch customizing of variables
CN105930344B (en) A kind of database application system quick development platform based on product development process
CN103631931A (en) Method and system for hierarchically storing data
US20220269851A1 (en) System, method, and apparatus for publication and external interfacing for a unified document surface
WO2021068692A1 (en) Method, apparatus and device for workflow migration, and computer-readable storage medium
CN112163017B (en) Knowledge mining system and method
CN114218218A (en) Data processing method, device and equipment based on data warehouse and storage medium
CN102857949A (en) Method and device for planning data consistency guarantees
CN102521008A (en) Program compiling device and method for compiling program
CN113485909B (en) Test method, test device, computing equipment and medium
CN111190814A (en) Software test case generation method and device, storage medium and terminal
CN107392560A (en) A kind of Excel list datas issue acquisition method and system based on internet
CN103714066B (en) Database analysis device based on template
CN112416995B (en) Data statistics method, device, computer equipment and storage medium
CN104040537A (en) Systems and methods of automatic generation and execution of database queries
CN113723911A (en) Nuclear power plant unit management method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20141029