CN104866426B - Software test integrated control method and system - Google Patents

Software test integrated control method and system Download PDF

Info

Publication number
CN104866426B
CN104866426B CN201510282424.6A CN201510282424A CN104866426B CN 104866426 B CN104866426 B CN 104866426B CN 201510282424 A CN201510282424 A CN 201510282424A CN 104866426 B CN104866426 B CN 104866426B
Authority
CN
China
Prior art keywords
test
data
list
software
test case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510282424.6A
Other languages
Chinese (zh)
Other versions
CN104866426A (en
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.)
Huabei Computing Technique Inst
Original Assignee
Huabei Computing Technique Inst
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 Huabei Computing Technique Inst filed Critical Huabei Computing Technique Inst
Priority to CN201510282424.6A priority Critical patent/CN104866426B/en
Publication of CN104866426A publication Critical patent/CN104866426A/en
Application granted granted Critical
Publication of CN104866426B publication Critical patent/CN104866426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a kind of software test integrated control method and system, this method comprises the following steps:Examine user right;Maintenance Significant Items Back ground Information;Import test laboratory;Extract or generation test case and test case mark;Generate test data sample;Carry out software test.The present invention integrates test execution management and testing process management method, test data sample is supported to automatically generate, support test case Semi-Automatic Generation, and statistical analysis and documenting are carried out to test execution result, the description of different software business datum and interface description can neatly be defined, with reference to QC test and management systems, in strict accordance with domain- specific software test specification and quality requirement, fast and accurately project testing process and result are provided for project administrator.

Description

Software test integrated control method and system
Technical field
The present invention relates to software test field, more particularly to a kind of new software test integrated control method and system.
Background technology
At present, automated test tool species is various, but both for a certain test-types or a certain software operation class The automatic test that type is carried out, and testing tool and testing process management are separate systems, are needed during data interaction Tester's manual creation test case and test data sample are first manually form excel files import system are used again. Meanwhile, what the data format that test control system needs was fixed, actual test demand is unsatisfactory for, the document format of output is also not It is customizable, it is unsatisfactory for actual test demand for control.When measured piece is more complicated, has a strong impact on testing progress and test is imitated Rate.
Existing software test integrated control method is upper with using in method, there are inconvenience and defect, and is urgently subject to Further improve.How to found a kind of collection Test cases technology, the generation of test data sample and test process control is one One of the new software test integrated control method of body, real current important research and development problem of category.Simultaneously as test event data volume Greatly, data structure variation, required system must be provided with the Managed Solution of effect, to improve the efficiency of management.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of software test integrated control method and system, make it with specialty The requirement of domain software measuring technology completes the generation of test case and test data sample, based on QC test and management systems complete Into use-case as defined in business demand and test specification and problem statistics, check and document export, so as to overcome prior art It is not enough.
In order to solve the above technical problems, a kind of software test integrated control method of the invention, comprises the following steps:Examine and use Family authority;Maintenance Significant Items Back ground Information;Import test laboratory;Extract or generation test case and test case mark;Generation Test data sample;Carry out software test.
As a modification of the present invention, the step of generation module generates test data sample specifically includes:
Step 501, reading measured piece interface definition structure, complete the parsing of interface and parameter object, using recursive algorithm Complete the displaying of interface hierarchical structure, or extracting parameter object information and hierarchical structure is resolved to using recursive algorithm, until The all fundamental types of child node;
Step 502, the data type for extracting child node, corresponding sample create-rule is inquired about with this, according to rule generation Child node test data;
Step 503, the cartesian product of all child node test datas form the test data of its direct father node, and used Recursive algorithm shows interface testing data with form, completes the generation of test data sample.
The step 502 is specifically included:The data type of child node object is extracted, corresponding data create-rule collection is inquired about Close;Traversal rule set, judges data create-rule property, if with exclusiveness, doing and indicating in displayed page;Extraction connects The program language type of mouth, the data demand set of corresponding create-rule is inquired about according to parameter fundamental type;Generated according to data The data demand of rule and rule, enumerates numeric type, character type, Test data generation is carried out respectively, the basis if character type Length requirement takes random letters, additional character, the random combine of numeral;Require to carry out Jia 1 according to border if numeric type, subtract 1 operation, random decimal position is taken according to required precision, and then generates the supplemental characteristic for including successfully and failing.
The generation test case and the specific steps of test case mark include:
Step 401, judge test laboratory whether there is test case, in the absence of following steps are then continued, exist then straight Tap into step 406;
Step 402, according to its all parameter of measured piece interface recursive query, until parameter is fundamental type;
The test data list of step 403, all fundamental types of inquiry, travels through the list, is carried from test data object Test-types are taken, identical test-types are encapsulated as list, the test-types list collection of nesting is obtained;
Step 404, traversal test-types list collection, are entered as test case purpose value by test-types description, test The corresponding data of type are entered as data sample, and data sample result type is entered as use-case expected results value;
Step 405, extraction test case precedence constraint and remarks, generate test case one by one;
Step 406, the test case prefix and mark for extracting user's input, are generated according to hierarchical relationship using recursive algorithm Test case level mark, and splice prefix generation test case mark.
The step of Maintenance Significant Items Back ground Information, includes:
Step 201, newdata storehouse example, set Connecting quantity, extract tested software project name, extract the survey of this software Try the database instance title of total management system, password and connect database instance, created in this storehouse with tested software The database user of the entitled user's name of mesh, and password default is set;
Step 202, extraction the system Basis of Database table backup file, back up heat by tables of data and return to newly-built be tested In the database user of software project;
Step 203, extraction tested software program essential information, including program language, Environmental Support, complete interface system and survey Try type and data demand filling;
Step 204, further other requirements of completion test and management.
The step of verification user right, specifically includes:
Step 101, all system actors of inquiry, travel through character list, inquiry character object and its corresponding authority resource row Table, forms key-value key-value pairs and is put into system cache objects;
Step 102, the user name password for extracting login user, search the corresponding character list of user, from cache key assignments Authority the Resources list is searched in centering, and login user object information and character list are put into client session;
Step 103, if processing of the system management module to authority, goes to step 104, if project management module pair The processing of authority, goes to step 105;
Step 104, filter intercept client request, extract request resource, while traveling through role in client session List, searches role's correspondence the Resources list, judges whether comprising request resource;If comprising if request pass through and enter step 105, otherwise interception request, returns to authority error message and exits flow;
Step 105, extraction project information, with this queried for items personnel and its corresponding project character list;
Step 106, traversal character list, inquiry role's correspondence resource, and client is stored in key-value values In session, return and repeat step 104,105,106 is disposed until by all clients request.
The step of importing test laboratory, be to test the second development interface that Added Management module is provided according to QC, QC database servers are connected, project name are extracted as parameter, corresponding test Design Laboratory data are inquired about.
The step of progress software test, specifically includes:601st, job instruction list of rules in data dictionary is extracted, Test case list is traveled through, test design is checked according to rule, performs record and test problem;Step 602, extraction test are used Example implementing result, is calculated successfully and miss data, problem analysis rank and the quantity for calculating corresponding level, by these data modes List is simultaneously exported;Step 603, export demand are reviewed, test specification, perform record, problem report inventory.
The step 603 includes:Page data is extracted, data list filling is completed;Extraction document template, according to files classes Type calls corresponding public method in document analysis storehouse;Data list is parsed according to template style, template filling is carried out;According to text Part type output file.
Using the software test complex control system of the above method, including:System management module, for examining user's power Limit;Project management module, for Maintenance Significant Items Back ground Information;QC testing process Added Management modules, for importing test experiments Room and progress software test;Test case management module, for extracting or generating test case and test case mark, the survey Example mark on probation is included in the QC testing process Added Management module;Test data sample generation module, is surveyed for generating Try data sample.
After such design, the present invention at least has advantages below:
Integrated automation testing tool function of the present invention and test and management control, facilitate data interaction, it is to avoid data lattice The problem of formula may occur in manually changing, reduces the workload of tester;Flexible customization mode is easy to testing process Control during change, abundant statistics and statistical graph can intuitively show software test result, be easy to project quality Assess, and testing project control efficiency can be effectively improved.
Brief description of the drawings
Above-mentioned is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, below With reference to accompanying drawing, the present invention is described in further detail with embodiment.
Fig. 1 is invention software test synthesis management system structure diagram.
Fig. 2 is invention software test synthesis management system module flow chart.
The hierarchical chart of all fundamental types of child node of Fig. 3 embodiment of the present invention generation.
Fig. 4 is the extracting rule schematic diagram of the embodiment of the present invention.
Fig. 5 is the successful test data for the iCount that the embodiment of the present invention is generated.
Fig. 6 is the interface testing data sample that the embodiment of the present invention is generated.
Fig. 7 is the test case of Semi-Automatic Generation of the embodiment of the present invention.
Fig. 8 is that the embodiment of the present invention supplements complete test case.
Fig. 9 is QC testing process Added Management block flow diagrams.
Embodiment
Refer to shown in Fig. 1 and Fig. 2, a kind of software test integrated control method of the invention comprises the following steps:Examine and use Family authority;Maintenance Significant Items Back ground Information;Import test laboratory;Extract or generation test case and test case mark;Generation Test data sample;Carry out software test.
Using the software test complex control system of the above method, including:System management module, for examining user's power Limit;Project management module, for Maintenance Significant Items Back ground Information;QC testing process Added Management modules, for importing test experiments Room and progress software test;Test case management module, for extracting or generating test case and test case mark;Test number According to sample generation module, for generating test data sample.
1st, user right is examined
Step 101, system inquire about all system actors when starting, and travel through character list, inquiry character object and its correspondingly Authority the Resources list, forms key-value key-value pairs and is put into system cache objects;
Step 102, the user name password for extracting login user, search the corresponding character list of user, from cache key assignments Authority the Resources list is searched in centering, and login user object information and character list are put into client session;
Step 103, if processing of the system management module to authority, goes to step 104, if project management module Processing to authority, goes to step 105;
Step 104, filter intercept client request, extract request resource, while traveling through role in client session List, searches role's correspondence the Resources list, judges whether comprising request resource;If comprising if request pass through and enter step 105, otherwise interception request, returns to authority error message and exits flow;
Step 105, extraction project information, with this queried for items personnel and its corresponding project character list;
Step 106, traversal character list, inquiry role's correspondence resource, and client is stored in key-value values In session, return and repeat step 104,105,106 is disposed until by all clients request.
2nd, Maintenance Significant Items Back ground Information
Step 201, newdata storehouse example, set Connecting quantity;Extract the data of this software test total management system Storehouse instance name, password simultaneously connect database instance, and the number using tested software project name as user's name is created in this storehouse According to storehouse user, and password default is set.
Step 202, extraction the system Basis of Database table backup file, back up heat by tables of data and return to newly-built be tested In the database user of software project.
Step 203, extraction tested software program essential information, including program language, Environmental Support, complete interface system and survey Try type and data demand filling.
Step 204, further other requirements of completion test and management.
3rd, test laboratory is imported
The second development interface that Added Management module is provided is tested according to QC, QC database servers is connected, extracts project Name is referred to as parameter, inquires about corresponding test Design Laboratory data.
4th, test case Semi-Automatic Generation and the generation of test case mark
Step 401, judge test laboratory whether there is test case, in the absence of following steps are then continued, exist then straight Tap into step 406;
Step 402, according to its all parameter of measured piece interface recursive query, until parameter is fundamental type, this step is adopted Use storing process.
The test data list of step 403, all fundamental types of inquiry, travels through the list, is carried from test data object Test-types are taken, identical test-types are encapsulated as list, the test-types list collection of nesting is obtained.
Such as program language is C, and fundamental type is int, partial test data as shown in figure 4, and the test-types of extraction Nested list is { ' boundary value ':' left margin ', ' right margin ', ' border equivalence class ';' special number is enumerated ':' positive number ', it is ' negative Number ', ' zero ' }.
Step 404, traversal test-types list collection, are entered as test case purpose value by test-types description, test The corresponding data of type are entered as data sample, and data sample result type is entered as use-case expected results value.With shown above-mentioned Specific embodiment, obtains the test case of Semi-Automatic Generation for shown in Fig. 7.
Step 405, the test case precedence constraint and remarks for extracting user's input, generate test case one by one.With above-mentioned Based on specific embodiment, complete test case is supplemented as shown in Figure 8.
Step 406, extraction test case prefix and mark, according to hierarchical relationship using recursive algorithm generation test case layer Level mark, and splice prefix generation test case mark.
In practice, project leader's maintenance test project demands and public resource, ginseng of the test designer to measured piece Number, interface safeguarded, system generation test case and test data sample, test execution personnel maintenance test perform record with Test problem.Test case Semi-Automatic Generation module by whole testing process from demand, design, test execution to problem report into Row unified management, accurate data are provided for project testing management.
5th, test data sample is automatically generated
Perform test data sample to automatically generate before step, system can extract existing test data sample, according to test Use-case " purpose and action " attribute is test case Auto-matching test data sample.General test use-case and test data sample Generally all return test case category, separated according to department's internal rules, using the method for setting up incidence relation, be easy to test Data flexmux.
Step 501, reading measured piece interface definition structure, complete the parsing of interface and parameter object, using recursive algorithm The displaying of interface hierarchical structure is completed, as shown in figure 3, all fundamental types of child node.
Step 501 can also be:Extracting parameter object information simultaneously resolves to hierarchical structure using recursive algorithm, until sub- section The all fundamental types of point.
Maintenance interface parameter list, extracts interface parameters type and parameter list, self-defined gauge outfit shows class, by extraction Parameter information is inserted in gauge outfit;Parameter list is completed using recursive algorithm to format, and gauge outfit is shown in hierarchical structure mode.Data Editor is supported in list, and extracting parameter type completes boundary value rule verification from gauge outfit class.
Step 502, the data type for extracting child node, corresponding sample create-rule is inquired about with this, according to rule generation Child node test data, specifically includes following steps:
The data type of child node object is extracted, corresponding data create-rule set is inquired about;
Traversal rule set, judges data create-rule property, if with exclusiveness, doing and indicating in displayed page;
The program language type of interface is extracted, the data demand collection of corresponding create-rule is inquired about according to parameter fundamental type Close;
According to data create-rule and the data demand of rule, numeric type, character type are enumerated, test data life is carried out respectively Into, if character type according to length requirement take random letters, additional character, numeral random combine;The root if numeric type Require to carry out Jia 1 according to border, the operation that subtracts 1, random decimal position is taken according to required precision, and then generate the ginseng for including successfully and failing Number data.
Step 503, the cartesian product of all child node test datas form the test data of its direct father node, and used Recursive algorithm shows interface testing data with form, completes the generation of test data sample.
Because interface format is complicated, it is made up of parameter, parameter type and return value and return value type, and with structure Change characteristic, the reasonability and ease for use of storage organization are considered during using relational database memory interface test data.Interface is surveyed Examination data are made up of its parameter testing data, and interface and parameter are stored using tree structure, and parameter and corresponding data use father Sublist is stored.Test data sample structuring generation use recursive algorithm, by the interface found from database table, parameter and Data, into structured object, facilitate foreground display processing according to level recurrence.
Refer to the specific embodiment that shown in Fig. 3-6 test data sample is automatically generated, it is assumed that measured piece program Language is C, and tested interface is defined as interSample (int iCount, int iPage, Struct user), User structures Body includes attribute username and realname, and type is char.
Step 501, recurrence read interface definition, form hierarchical structure, until all fundamental types of child node, then tie Fruit is shown in Fig. 3.
Step 502, travel through each fundamental type, extract create-rule.Fundamental type iCount is for example traversed, is extracted To rule for shown in Fig. 4.
Corresponding data demand is extracted according to business rule, results set is { ' maximum ':127, ' minimum value ':-128, ' maximum macrodefinition ':' CHAR_MAX ', ' minimum value macrodefinition ':‘CHAR_MIN’}.
ICount successful test data is generated, as a result shown in Fig. 5.
Step 502 is repeated, is generated until all fundamental type test datas are whole, then the test data sample of father node This is the cartesian product of its direct child node test data, as a result shown in Fig. 6.
Query Result all uses Object oriented encapsulation in above-mentioned all steps, and all objects include its precondition and rearmounted Attribute needed for condition.
In the present invention, test data sample generation module provides flexible data dictionary editor rule so that test number Various legal and illegal business datum can be described according to sample;Test case Semi-Automatic Generation module, which can be generated, meets business need Test case form, main use-case step number and summary description as defined in asking, can be automatically attached according to step summary description Plus data sample, improve test execution efficiency;Partitions of database management interface test module divides system administration and project management Separate, realize the loose coupling of data and flow, realize loose coupling between project, facilitate the testing progress of disparity items to manage;web Public resource is put into system cache pond by System right management test module, need not inquire about data every time in Authority Verification Only a data, improve the utilization rate of internal memory to greatest extent in storehouse, and whole system operation;And client The use of session mechanism avoids covering of the singleton pattern to request of data, it is ensured that the uniformity of different user data and just True property.
QC database servers are external interface systems, the database servers of other modules be from development system, and its The database server of his module can be with QC database server interactive communications.Subscriber terminal equipment is arrived by network connection Web server, and then have access to each independent system according to business demand.
It is QC testing process Added Management block flow diagrams as shown in Figure 9, QC testing process Added Managements module is based on QC Test and management system, extracts the QC test laboratory data having built up, binding test is used by accessing QC database servers The test case and practical business demand exported in example management module does correlation analysis and processing.The QC testing process auxiliary tube Reason module aids in existing QC instruments to complete to import test laboratory from QC testing process Added Management modules, inputs the test Case management module carries out the document of test case Semi-Automatic Generation output according to test laboratory and to perform use-case mark automatic Generation, while the test execution of input record, design and problem document entered into line discipline inspection, and statistical test problem rate and Repair rate.
6th, software test is carried out
Job instruction list of rules in step 601, extraction data dictionary, travels through test case list, according to rule inspection Look into test design, perform record and test problem;
Step 602, using statistical analysis unit, main to complete the displaying of data statistics form and figure displaying, system is extracted Test case implementing result, is calculated successfully and miss data, problem analysis rank and the quantity for calculating corresponding level, client control Part receives data list, forms picture format and exports.
Step 603, using file generating unit, export demand is reviewed, test specification, perform record, problem report inventory.
The file generating unit of step 603 mainly completes data export function, export type have XML, XLS, DOC, TXT.Concrete function step is as follows:
A, extraction page data, complete data list filling;
B, extraction document template, corresponding public method in document analysis storehouse is called according to file type;
C, according to template style parse data list, carry out template filling;
D, according to file type output file.
QC testing process Added Management module emphasis embodiments are as follows:
● export QC test laboratory tree structures
QC database servers are connected, the test experiments in QC database servers are extracted by the way of database access Number of chambers evidence, with Asynchronous Tree configuration shows.All tree form data structure displayings are all using the side of Asynchronous loading in current system Formula, load tree structure time between 10ms-30ms, than disposably load the mode of all tree nodes save 90% with On time.
Asynchronous tree construction is in initialization, and inquiry root node and the first level of child nodes are returned data on the page, used JS controls complete tree construction displaying, when inquiring about next stage node, and only the ID of passback selection node is used as querying condition Ajax asynchronous call modes, do not refresh this page, find the child node returned data collection of the node, and circulation is added under the node One-level, completes tree structure and shows.
● normalized checking:
To test design, the check item of measuring executing process, automatic inspection in foundation software test and appraisal center job guiding book Whether test case, test execution record, test problem record meet related specifications, mitigate the work load of QA personnel.
It is the hard coded on the page to check item data, and program is judged and located to each check item according to check item numbering Reason, such as check item are all use-case marks to be checked and defeated with recursive algorithm in " use-case mark must not be sky ", program Go out result.
Normalized checking is submitted before the use-case data checked, and the tree node that user chooses is pre-processed, removes superfluous Remaining node.Preprocessing Algorithm is decision tree node state and judged whether the node as passback parameter that tree node has three The state of kind:" selection ", " non-selected " and " semi-selection ", by the node that state is " selection ", state is the node of " semi-selection " Child node is used as passback parameter.After pretreatment, the execution time of the function such as export test specification, establishment test laboratory puts down Reduce 15%.
● statistical analysis:
Related data in statistical analysis test design, measuring executing process, nonproductive task director understanding scale of the project, Hold project process.The data of principal statistical analysis include test case quantity, test execution record quantity, test case and performed Situation, test case percent of pass, test problem quantity, test problem repair rate etc..
Statistical analysis is showed using form and statistical chart two ways.Such as statistical test use-case implementation status, form exhibition Show " pass number of cases ", " failed number of cases ", " Not Complete number of cases ", program is calculated respectively by recursive mode Type number of cases, statistical chart acquiescence shows " pass number of cases ", other types Dynamic Announce by way of asynchronous drafting.Statistics Figure realized using JsChart graphical controls, and acquiescence is not supported in asynchronous drawing, program to pass back to new data using Ajax modes The page simultaneously combines the asynchronous drafting of renewal graphical method completion that JsChart storehouses are provided.
The second development interface that QC testing process Added Managements module is provided supports the extension to test and management flow, can The integrated automatic testing process customized according to business demand, and web application technologies support the exploitation of testing tool completely, realize The target of test execution management and testing process management integration, while being conducive to tester to analyze Business Stream more absorbedly Cheng Erfei testing process, can be greatly enhanced test and management efficiency.
Include using the software test complex control system of the above method:System management module, for examining user right; Project management module, for Maintenance Significant Items Back ground Information;QC testing process Added Management modules, for import test laboratory and Carry out software test;Test case management module, for generating test case;Test data sample generation module, for generating Test data sample.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, this Art personnel make a little simple modification, equivalent variations or modification using the technology contents of the disclosure above, all fall within this hair In bright protection domain.

Claims (9)

1. a kind of software test integrated control method, it is characterised in that comprise the following steps:
Examine user right;
Maintenance Significant Items Back ground Information;
Import test laboratory;
Extract or generation test case and test case mark;
Generate test data sample;
Carry out software test;
Wherein, the step of generation test data sample is specifically included:
Step 501, reading measured piece interface definition structure, are completed the parsing of interface and parameter object, are completed using recursive algorithm The displaying of interface hierarchical structure, or extracting parameter object information and hierarchical structure is resolved to using recursive algorithm, until sub- section The all fundamental types of point;
Step 502, the data type for extracting child node, corresponding sample create-rule is inquired about with this, according to rule generation son section Point test data;
Step 503, the cartesian product of all child node test datas form the test data of its direct father node, and use recurrence Algorithm shows interface testing data with form, completes the generation of test data sample.
2. software test integrated control method according to claim 1, it is characterised in that the step 502 is specifically included:
The data type of child node object is extracted, corresponding data create-rule set is inquired about;
Traversal rule set, judges data create-rule property, if with exclusiveness, doing and indicating in displayed page;
The program language type of interface is extracted, the data demand set of corresponding create-rule is inquired about according to parameter fundamental type;
According to data create-rules and the data demand of rule, numeric type, character type are enumerated, Test data generation is carried out respectively, The random combine of random letters, additional character, numeral is taken according to length requirement if character type;According to side if numeric type Boundary requires to carry out Jia 1, the operation that subtracts 1, takes random decimal position according to required precision, and then generate the parameter number for including successfully and failing According to.
3. software test integrated control method according to claim 1, it is characterised in that the extraction or generation test case Include with the specific steps of test case mark:
Step 401, judge test laboratory whether there is test case, in the absence of following steps are then continued, exist, directly enter Enter step 406;
Step 402, according to its all parameter of measured piece interface recursive query, until parameter is fundamental type;
The test data list of step 403, all fundamental types of inquiry, travels through the list, extracts and surveys from test data object Type is tried, identical test-types are encapsulated as list, the test-types list collection of nesting is obtained;
Step 404, traversal test-types list collection, test case purpose value, test-types are entered as by test-types description Corresponding data are entered as data sample, and data sample result type is entered as use-case expected results value;
Step 405, the test case precedence constraint and remarks for extracting user's input, generate test case one by one;
Step 406, extraction test case prefix and mark, test case level mark is generated according to hierarchical relationship using recursive algorithm Will, and splice prefix generation test case mark.
4. software test integrated control method according to claim 1, it is characterised in that the Maintenance Significant Items Back ground Information Step is specifically included:
Step 201, newdata storehouse example, set Connecting quantity, extract tested software project name, extract the database real Example title, password simultaneously connect database instance, create in the database using tested software project name as user's name Database user, and password default is set;
Step 202, extraction the system Basis of Database table backup file, newly-built tested software is returned to by tables of data backup heat In the database user of project;
Step 203, extraction tested software program essential information, including program language, Environmental Support, complete interface system test class Type and data demand filling;
Step 204, further other requirements of completion test and management.
5. software test integrated control method according to claim 1, it is characterised in that the step of the verification user right Specifically include:
Step 101, all system actors of inquiry, travel through character list, inquiry character object and its corresponding authority the Resources list, shape It is put into key-value key-value pairs in system cache objects;
Step 102, the user name password for extracting login user, search the corresponding character list of user, from cache key-value pair Authority the Resources list is searched, login user object information and character list are put into client session;
Step 103, if processing of the system management module to authority, goes to step 104;If project management module is to authority Processing, go to step 105;
Step 104, filter intercept client request, extract request resource, are arranged while traveling through role in client session Table, searches role's correspondence the Resources list, judges whether comprising request resource;If comprising if request pass through and into step 105, Otherwise interception request, returns to authority error message and exits flow;
Step 105, extraction project information, with this queried for items personnel and its corresponding project character list;
Step 106, traversal character list, inquiry role's correspondence resource, and be stored in key-value values in client session, Return and repeat step 104,105,106 is disposed until by all clients request.
6. software test integrated control method according to claim 1, it is characterised in that the step of the importing test laboratory Suddenly, it is that the second development interface that Added Management module is provided is tested according to QC, connects QC database servers, extract project name As parameter, corresponding test Design Laboratory data are inquired about.
7. software test integrated control method according to claim 1, it is characterised in that the step of the carry out software test Specifically include:
Job instruction list of rules in step 601, extraction data dictionary, travels through test case list, checks and survey according to rule Trial-ray method, execution record and test problem;
Step 602, test case implementing result is extracted, calculated successfully and miss data, problem analysis rank simultaneously calculates respective stages These data are formed list and exported by other quantity;
Step 603, export demand are reviewed, test specification, perform record, problem report inventory.
8. software test integrated control method according to claim 7, it is characterised in that the step 603 includes:
Page data is extracted, data list filling is completed;
Extraction document template, corresponding public method in document analysis storehouse is called according to file type;
Data list is parsed according to template style, template filling is carried out;According to file type output file.
9. the software test complex control system of method any one of application claim 1-8, it is characterised in that including:
System management module, for examining user right;
Project management module, for Maintenance Significant Items Back ground Information;
QC testing process Added Management modules, for importing test laboratory and carrying out software test;
Test case management module, for extracting or generating test case and test case mark;
Test data sample generation module, for generating test data sample.
CN201510282424.6A 2015-05-28 2015-05-28 Software test integrated control method and system Active CN104866426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510282424.6A CN104866426B (en) 2015-05-28 2015-05-28 Software test integrated control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510282424.6A CN104866426B (en) 2015-05-28 2015-05-28 Software test integrated control method and system

Publications (2)

Publication Number Publication Date
CN104866426A CN104866426A (en) 2015-08-26
CN104866426B true CN104866426B (en) 2017-10-17

Family

ID=53912272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510282424.6A Active CN104866426B (en) 2015-05-28 2015-05-28 Software test integrated control method and system

Country Status (1)

Country Link
CN (1) CN104866426B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857662A (en) * 2019-01-25 2019-06-07 浙江数链科技有限公司 Case data processing method, device, computer equipment and storage medium

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159833A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Automatic testing device and method
CN106909131B (en) * 2015-12-22 2020-10-16 上海西门子线路保护系统有限公司 Management system of experimental instrument
CN106202162B (en) * 2016-06-24 2019-07-09 武汉斗鱼网络科技有限公司 It is a kind of for test recommend room data list test macro and method
CN106125718B (en) * 2016-07-21 2018-08-31 四川中鼎科技有限公司 A kind of control system calibration method
CN108573365B (en) * 2017-03-07 2022-02-11 北京空间技术研制试验中心 Service and process oriented comprehensive test state digital management method
CN108804301A (en) * 2017-04-27 2018-11-13 株洲中车时代电气股份有限公司 A kind of train control system software testing system and method based on E & FR data
CN107480053B (en) * 2017-07-21 2021-08-17 销冠网络科技有限公司 Software test data generation method and device
CN107832227B (en) * 2017-11-24 2020-04-10 平安科技(深圳)有限公司 Interface parameter testing method, device, equipment and storage medium of business system
CN108132883A (en) * 2017-12-25 2018-06-08 信利光电股份有限公司 A kind of software test data analysis method, device, system and storage medium
CN108897687B (en) * 2018-06-29 2022-04-01 泰华智慧产业集团股份有限公司 API automatic testing method and system based on data driving
CN108920374A (en) * 2018-07-11 2018-11-30 郑州云海信息技术有限公司 A kind of method and system of express statistic demand test coverage
CN109614331A (en) * 2018-12-06 2019-04-12 郑州云海信息技术有限公司 A kind of test case matrix generating method and device based on recursive algorithm
CN109684823A (en) * 2018-12-25 2019-04-26 无锡睿勤科技有限公司 A kind of test method and test device
CN111382065B (en) * 2018-12-29 2024-02-23 贵阳忆芯科技有限公司 Verification flow management system and method based on test template
CN110245075A (en) * 2019-05-21 2019-09-17 深圳壹账通智能科技有限公司 Test data configuration method, device, computer equipment and storage medium
CN111984522B (en) * 2019-05-23 2024-02-27 杭州海康威视系统技术有限公司 Automatic test method and device
CN110275833B (en) * 2019-06-24 2022-11-01 北京机械设备研究所 Universal test equipment and use method
CN110347603B (en) * 2019-07-12 2023-08-15 北京精密机电控制设备研究所 Automatic software testing system and method for artificial intelligence
CN110362489B (en) * 2019-07-15 2023-10-03 上海仪电(集团)有限公司中央研究院 Test case generation method, generation device and software automatic test system
CN110781082B (en) * 2019-10-14 2022-05-20 腾讯科技(深圳)有限公司 Method, device, medium and equipment for generating test case of interface
CN112988555B (en) * 2019-12-13 2024-05-24 中移信息技术有限公司 Interface testing method, device, equipment and storage medium
CN111258881B (en) * 2019-12-31 2023-11-28 上海金仕达软件科技股份有限公司 Intelligent test system for workflow test
CN112100415B (en) * 2020-09-14 2023-03-17 哈尔滨工业大学(威海) Implementation method of high-reliability large graph database system of heterogeneous platform
CN113760714A (en) * 2020-10-30 2021-12-07 北京沃东天骏信息技术有限公司 Software testing method and device
CN112231226B (en) * 2020-11-03 2024-04-05 恩亿科(北京)数据科技有限公司 Method and system for generating, maintaining and exporting software test data
CN112363948B (en) * 2020-11-30 2024-04-09 深圳市六度人和科技有限公司 Interface testing method and device, electronic equipment and storage medium
CN112433954B (en) * 2020-12-18 2023-03-31 西安联乘智能科技有限公司 Method and device for analyzing, extracting and importing test case data
CN112817650B (en) * 2020-12-28 2022-04-26 浙江中控技术股份有限公司 Task creation method, device and system in laboratory management system
CN113360388B (en) * 2021-06-23 2022-11-04 中国航空无线电电子研究所 Method for integrally managing test process of unmanned aerial vehicle ground station software
CN113254354A (en) * 2021-07-02 2021-08-13 南昌航空大学 Test case recommendation method and device, readable storage medium and electronic equipment
CN115080574B (en) * 2022-08-22 2022-11-18 西安弘捷电子技术有限公司 Method and device for processing electronic product test data, computer equipment and storage medium
CN115545677B (en) * 2022-11-24 2023-04-07 云账户技术(天津)有限公司 Online process specification detection method and system based on automatic case execution condition
CN115774186A (en) * 2023-02-13 2023-03-10 上海谐振半导体科技有限公司 ATE standard and quality inspection one-stop test system and method and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331970A (en) * 2011-07-28 2012-01-25 北京航空航天大学 Safety critical system-oriented automatic testing resource management method and platform
CN103838672A (en) * 2014-03-04 2014-06-04 中国工商银行股份有限公司 Automated testing method and device for all-purpose financial statements

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331970A (en) * 2011-07-28 2012-01-25 北京航空航天大学 Safety critical system-oriented automatic testing resource management method and platform
CN103838672A (en) * 2014-03-04 2014-06-04 中国工商银行股份有限公司 Automated testing method and device for all-purpose financial statements

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"QC平台对SPA系统过程管理的研究";向东;《软件》;20130331;第34卷(第3期);102-104页 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857662A (en) * 2019-01-25 2019-06-07 浙江数链科技有限公司 Case data processing method, device, computer equipment and storage medium
CN109857662B (en) * 2019-01-25 2022-09-27 浙江数链科技有限公司 Use case data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104866426A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104866426B (en) Software test integrated control method and system
CN107273117B (en) Programming-friendly agile code automatic generation system
CN107291450B (en) Programming-friendly agile code automatic generation method
CN107704265B (en) Configurable rule generation method for service flow
WO2020233330A1 (en) Batch testing method, apparatus, and computer-readable storage medium
US9037549B2 (en) System and method for testing data at a data warehouse
CN110088749A (en) Automated ontology generates
US7496552B2 (en) Method for rule compliance situation checking and related checking system
CN103473672A (en) System, method and platform for auditing metadata quality of enterprise-level data center
CN110119395B (en) Method for realizing association processing of data standard and data quality based on metadata in big data management
CN111722839A (en) Code generation method and device, electronic equipment and storage medium
CN106372044A (en) Method for generating typed dimension XBRL (Extensible Business Reporting Language) report based on report form
CN103455896A (en) Paperless assembling quality control method based on internet of things
CN108776678A (en) Index creation method and device based on mobile terminal NoSQL databases
CN107832279A (en) A kind of method, equipment and computer-readable recording medium for generating form
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN111190814B (en) Method and device for generating software test case, storage medium and terminal
CN112163017A (en) Knowledge mining system and method
CN109636303B (en) Storage method and system for semi-automatically extracting and structuring document information
Elamin et al. SSReq: A method for designing Star Schemas from decisional requirements
CN110110153A (en) A kind of method and apparatus of node searching
CN102707938A (en) Table-form software specification manufacturing and supporting method and device
Shi et al. Human resources balanced allocation method based on deep learning algorithm
CN111581918A (en) Railway engineering data delivery method and device
CN110019177A (en) The method and apparatus of rule storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant