Movatterモバイル変換


[0]ホーム

URL:


CN109857632A - Test method, device, terminal device and readable storage medium storing program for executing - Google Patents

Test method, device, terminal device and readable storage medium storing program for executing
Download PDF

Info

Publication number
CN109857632A
CN109857632ACN201811489920.9ACN201811489920ACN109857632ACN 109857632 ACN109857632 ACN 109857632ACN 201811489920 ACN201811489920 ACN 201811489920ACN 109857632 ACN109857632 ACN 109857632A
Authority
CN
China
Prior art keywords
data
test
data information
information
sublist
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.)
Granted
Application number
CN201811489920.9A
Other languages
Chinese (zh)
Other versions
CN109857632B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft CorpfiledCriticalNeusoft Corp
Priority to CN201811489920.9ApriorityCriticalpatent/CN109857632B/en
Publication of CN109857632ApublicationCriticalpatent/CN109857632A/en
Application grantedgrantedCritical
Publication of CN109857632BpublicationCriticalpatent/CN109857632B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Test method, device, terminal device and readable storage medium storing program for executing provided by the invention, by reading a plurality of data from test database using the first test case, wherein every data includes the data information under multiple classifications;According to the data information under each datum target classification, each data are divided into different groups of other data groups, and construct corresponding data sublist for each data group;Classification processing, and the rank of the data information according to every data are carried out to the data information under the non-targeted classification of each data, data information is input in data sublist corresponding with the data, acquisition includes the data list of multiple data sublist;Application software to be tested is tested according to the second test case and data list, so that the quantity of the data information stored in data list in test substantially reduces, be conducive to the maintenance and management to data list, effectively increase the utilization rate of data information in data list.

Description

Test method, device, terminal device and readable storage medium storing program for executing
Technical field
The present invention relates to data analysis technique more particularly to a kind of test method, device, terminal device and readable storage mediumsMatter.
Background technique
With the development of computer technology, application software is more and more extensive to be applied in daily life.GenerallyFor, in order to guarantee the normal operation of application software, before issuing application software, a series of test can be carried out to it.
In the prior art, the test of application software is realized using test case.Test case can be from test numberAccording to a plurality of data are read in library to form data list, which is input in application software to be tested, so as toThe application software of test is handled data list according to test case, obtains test result.
But in the data list that test case is formed by read test database, there is a large amount of for data informationDuplicate message, these duplicate data informations make data list occupy a large amount of storage resource, are unfavorable for test caseDuring the test to the maintenance and management of data list, the utilization rate of data information is very low.
Summary of the invention
For it is above-mentioned refer in existing test method, due to being stored with a large amount of weight in the data list of testComplex information, caused by test case it is lower to data information utilization rate of the data list to data list during the test,The problem of maintenance and management for the problem of being not easy to the maintenance and management to data list, the present invention provides a kind of test sidesMethod, device, terminal device and readable storage medium storing program for executing.
On the one hand, the present invention provides a kind of test methods, comprising:
A plurality of data are read from test database using the first test case, wherein every data include multiple classificationsUnder data information;
According to the data information under each datum target classification, each data are divided into different groups of other data groups, and be directed toEach data group constructs corresponding data sublist;Wherein, the data in same data group under target category have it is identicalData information;
Classification processing is carried out to the data information under the non-targeted classification of each data, and according to the data information of every dataRank, data information is input in data sublist corresponding with the data, acquisition includes multiple data sublistData list;
Application software to be tested is tested according to the second test case and the data list.
It is described to read a plurality of number from test database using the first test case in a kind of wherein optional embodimentAccording to before, comprising:
According to the test scene of application software to be tested, determine for testing the several of the application software to be testedSequence is executed between test case and each test case;
Wherein, several test cases include for read from test database the first test case of a plurality of data withAnd the second test case for being tested using the data list application software to be tested.
In a kind of wherein optional embodiment, the data information under the non-targeted classification to each data dividesGrade processing, comprising:
It is directed to the other each data information of same non-target class, counts the number that each data information occurs;
The number occurred according to each data information determines the data information and the category of the global level under the categoryUnder non-global level data information.
In a kind of wherein optional embodiment, the rank of the data information according to every data believes dataBreath is input in data sublist corresponding with the data, comprising:
It is directed to the data information of each data, is determining that the data information is the feelings of the data information of non-global levelUnder condition, it is input to the corresponding data sublist of the data, until the data information of the non-global level of total data is equalIt is input to data sublist.
The overall situation being also stored in a kind of wherein optional embodiment, in the data list under each non-targeted classificationThe data information of rank;
Correspondingly, described carry out test bag to application software to be tested according to the second test case and the data listIt includes:
Using second test case, the data information of each data of storage is read from data sublist and from data classThe data information of the global level under each non-targeted classification is read in table.
On the other hand, the present invention provides a kind of test devices, comprising:
Read module, for reading a plurality of data from test database using the first test case, wherein every numberAccording to including the data information under multiple classifications;
Processing module, for according to the data information under each datum target classification, by each data be divided into different groups it is otherData group, and corresponding data sublist is constructed for each data group;Wherein, the data in same data group under target categoryHave identical data information;Classification processing is carried out to the data information under the non-targeted classification of each data, and according to everyData information is input in data sublist corresponding with the data, is included by the rank of the data information of dataThe data list of multiple data sublist;
Test module, for being surveyed according to the second test case and the data list to application software to be testedExamination.
In a kind of wherein optional embodiment, further include, test case calling module;
The test case calling module is used before reading a plurality of data from test database using the first test caseIn the test scene according to application software to be tested, determine that several tests for testing the application software to be tested are usedSequence is executed between example and each test case;Wherein, several test cases include for reading from test databaseFirst test case of a plurality of data and for being tested using the data list application software to be testedTwo test cases.
In a kind of wherein optional embodiment, the processing module is other specifically for being directed to same non-target classEach data information counts the number that each data information occurs;The number occurred according to each data information is determined in the categoryUnder global level data information and the non-global level under the category data information;
The processing module is specifically also used to: being directed to the data information of each data, is being determined that the data information isIn the case where the data information of non-global level, it is input to the corresponding data sublist of the data, until total dataThe data information of non-global level be both input into data sublist.
The overall situation being also stored in a kind of wherein optional embodiment, in the data list under each non-targeted classificationThe data information of rank;
The test module, is specifically used for: using second test case, each number of storage is read from data sublistAccording to data information and from the data information for reading the global level under each non-targeted classification in data class table.
Another aspect, the present invention provides a kind of terminal devices, comprising: memory, the processing connecting with the memoryDevice, and it is stored in the computer program that can be run on the memory and on the processor, which is characterized in that
The processor executes such as preceding described in any item methods when running the computer program.
Last aspect, the present invention provides a kind of readable storage medium storing program for executing, including program, when it runs on the terminal deviceWhen, so that terminal device executes such as preceding described in any item methods.
Test method, device, terminal device and readable storage medium storing program for executing provided by the invention, by utilizing the first test caseA plurality of data are read from test database, wherein every data include the data information under multiple classifications;According to each dataEach data are divided into different groups of other data groups by the data information under target category, and corresponding for the building of each data groupData sublist;Wherein, the data in same data group under target category has identical data information;To each dataData information under non-targeted classification carries out classification processing, and the rank of the data information according to every data, by data informationIt is input in data sublist corresponding with the data, acquisition includes the data list of multiple data sublist;According toApplication software to be tested is tested in two test cases and the data list, so that in test in data listThe quantity of the data information of storage substantially reduces, and is conducive to effectively increase data list to the maintenance and management of data listThe utilization rate of middle data information.
Detailed description of the invention
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawingsIt is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodimentsThose skilled in the art illustrate the concept of the disclosure.
Fig. 1 be the present invention is based on network architecture schematic diagram;
Fig. 2 is a kind of flow diagram for test method that the embodiment of the present invention one provides;
Fig. 3 is a kind of flow diagram of test method provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structural schematic diagram for test device that the embodiment of the present invention three provides;
Fig. 5 is a kind of hardware structural diagram for terminal device that the embodiment of the present invention four provides.
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosureExample, and together with specification for explaining the principles of this disclosure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present inventionIn attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
With the development of computer technology, application software is more and more extensive to be applied in daily life.GenerallyFor, in order to guarantee the normal operation of application software, before issuing application software, a series of test can be carried out to it.
In the prior art, the test of application software is realized using test case.Test case can be from test numberAccording to a plurality of data are read in library to form data list, which is input in application software to be tested, so as toThe application software of test is handled data list according to test case, obtains test result.
But in the data list that test case is formed by read test database, there is a large amount of for data informationDuplicate message, these duplicate data informations make data list occupy a large amount of storage resource, are unfavorable for test caseDuring the test to the maintenance and management of data list, the utilization rate of data information is very low.
For it is above-mentioned refer in existing test method, due to being stored with a large amount of weight in the data list of testComplex information, caused by test case it is lower to data information utilization rate of the data list to data list during the test,The problem of maintenance and management for the problem of being not easy to the maintenance and management to data list, the present invention provides a kind of test sidesMethod, device, terminal device and readable storage medium storing program for executing.
It should be noted that the application provides test method, device, terminal device and readable storage medium storing program for executing can be used in pairIn the scene that each middle application software is tested.
Fig. 1 be the present invention is based on network architecture schematic diagram, as shown in Figure 1, the present invention is based on the network architecture at least wrapIt includes: terminal device 1, the test device 2 being mounted on terminal device 1 and data server 3.Wherein, test device 2 uses C/The language such as C++, Java, Shell or Python are write;Terminal device 1 then can be such as desktop computer, tablet computer.Data clothesBusiness device 3 can be then cloud server or server cluster, be stored with a large amount of data.
Fig. 2 is a kind of flow diagram for test method that the embodiment of the present invention one provides.
As shown in Fig. 2, the test method includes:
Step 101 reads a plurality of data from test database using the first test case, wherein every data includeData information under multiple classifications.
Step 102, according to the data information under each datum target classification, each data are divided into different groups of other dataGroup, and corresponding data sublist is constructed for each data group;Wherein, the tool of the data in same data group under target categoryStandby identical data information.
Step 103 carries out classification processing to the data information under the non-targeted classification of each data, and according to every dataData information is input in data sublist corresponding with the data by the rank of data information, and acquisition includes multiple numbersAccording to the data list of sublist.
Step 104 tests application software to be tested according to the second test case and the data list.
It should be noted that the executing subject of test method provided by the invention concretely test device shown in FIG. 12.The test device 2 is mounted on terminal device 1, terminal device 1 can with data server 3 obtain communication connection and intoRow data interaction.
In order to solve in existing test method, due to being stored with a large amount of duplicate message in the data list of test,Caused by test case it is lower to data information utilization rate of the data list to data list during the test, be not easy to pairThe problem of maintenance and management of the problem of maintenance and management of data list, the present invention provides a kind of test method, device, endsEnd equipment and readable storage medium storing program for executing.
In the present embodiment, include test database in data server, be previously stored in the test databaseIt largely can be used for the data tested.For example, if desired the personnel information management function of a certain application software is surveyedExamination, each data of the test prestored may include " personnel's title ", " personnel's position " and " personnel nationality " these three classesOther data information.
In test, a plurality of data can be read from test database first with the first test case, and according to each numberAccording to the data information under target category, each data are divided into different groups of other data groups, and construct phase for each data groupThe data sublist answered, so that data in same data group under target category has identical data information.Specifically,Still it is with the data information of " personnel's title " in every data above-mentioned, " personnel's position " and " personnel nationality " these three classificationsExample, it is contemplated that this kind of other information repetitive rates of personnel title are very low and this kind of other information repetitive rates of personnel nationality veryHeight, can be using personnel's position this classification as target category.For with for each data, in " personnel's position " this target categoryUnder will be provided with a variety of data informations, such as " research and development engineer ", " legal affairs specialist ", the data for being directed to identical data information are comeIt says, these data can be divided to same group and form data group, i.e., be to research and develop the data division of engineer by personnel's positionTo same data group, the data that personnel's position is legal affairs specialist are divided to same data group.It is constructed for each data groupThe data information of each data can be input to data corresponding with the affiliated data group of data for subsequent by corresponding data sublistIn sublist, the also management so as to subsequent to the data list being made of multiple data sublist.
Then, test device carries out classification processing to the data information under the non-targeted classification of each data, and according to everyData information is input in data sublist corresponding with the data, is included by the rank of the data information of dataThe data list of multiple data sublist.Specifically, still with " personnel's title " in every data above-mentioned, " personnel's position " andFor the data information of " personnel nationality " these three classifications, " personnel's position " this classification is targeted classification, accordingly" personnel's title " and " personnel nationality " will be used as non-targeted classification.Test device will be directed to and each number in each non-targeted classificationIt is believed that breath carries out classification processing, to obtain rank of each data information under the category, which can be regarded as a certain dataInformation repetitive rate of the information under its corresponding non-targeted classification.Then, it using the rank of each data information, is input toIn corresponding data sublist, final acquisition includes the data list of multiple data sublist.
Finally, being tested using the second test case and the data list application software to be tested, to obtainTest result.
In other optional embodiments, the test method include: according to the test scene of application software to be tested,It determines and executes sequence between several test cases and each test case for testing the application software to be tested;ItsIn, several test cases include for reading the first test case of a plurality of data from test database and for utilizingThe second test case that application software to be tested is tested in the data list.Specifically, for each testScene, can call the test case of different function from preset test case library, and determine each test case executes sequence,To test application software to be tested.In the present embodiment, the test case of calling is included at least for from testDatabase read a plurality of data the first test case and for using the data list to application software to be tested intoSecond test case of row test.
The test method that the embodiment of the present invention one provides, it is a plurality of by being read using the first test case from test databaseData, wherein every data include the data information under multiple classifications;According to the data information under each datum target classification,Each data are divided into different groups of other data groups, and construct corresponding data sublist for each data group;Wherein, sameData in data group under target category have identical data information;To the data information under the non-targeted classification of each dataClassification processing, and the rank of the data information according to every data are carried out, data information is input to corresponding with the dataIn data sublist, acquisition includes the data list of multiple data sublist;It is arranged according to the second test case and the dataTable tests application software to be tested, so that the quantity of the data information stored in data list in test is bigIt is big to reduce, be conducive to the maintenance and management to data list, effectively increase the utilization rate of data information in data list.
On the basis of example 1, Fig. 3 is a kind of flow diagram of test method provided by Embodiment 2 of the present invention.
As shown in figure 3, the test method includes:
Step 201 reads a plurality of data from test database using the first test case, wherein every data includeData information under multiple classifications.
Step 202, according to the data information under each datum target classification, each data are divided into different groups of other dataGroup, and corresponding data sublist is constructed for each data group;Wherein, the tool of the data in same data group under target categoryStandby identical data information.
Step 203 is directed to the other each data information of same non-target class, counts the number that each data information occurs,And it is non-under the data information of the global level under the category and the category according to the number determination that each data information occursThe data information of global level.
Step 204, the data information for being directed to each data are determining that the data information is the data of non-global levelIn the case where information, it is input to the corresponding data sublist of the data, until the number of the non-global level of total dataIt is believed that breath is both input into data sublist, to obtain the data list for including multiple data sublist, wherein the dataThe data information of the global level under each non-targeted classification is also stored in list.
Step 205, using second test case, from data sublist read each data of storage data information andFrom the data information for reading the global level under each non-targeted classification in data class table.
Similarly with embodiment one, the executing subject of test method provided by the invention concretely survey shown in FIG. 1Trial assembly sets 2.The test device 2 is mounted on terminal device 1, and terminal device 1 can obtain communication connection with data server 3And carry out data interaction.
In order to solve in existing test method, due to being stored with a large amount of duplicate message in the data list of test,Caused by test case it is lower to data information utilization rate of the data list to data list during the test, be not easy to pairThe problem of maintenance and management of the problem of maintenance and management of data list, the present invention provides a kind of test method, device, endsEnd equipment and readable storage medium storing program for executing.
In the present embodiment, include test database in data server, be previously stored in the test databaseIt largely can be used for the data tested.For example, if desired the personnel information management function of a certain application software is surveyedExamination, each data of the test prestored may include " personnel's title ", " personnel's position " and " personnel nationality " these three classesOther data information.
In test, a plurality of data can be read from test database first with the first test case, and according to each numberAccording to the data information under target category, each data are divided into different groups of other data groups, and construct phase for each data groupThe data sublist answered, so that data in same data group under target category has identical data information.Specifically,Still it is with the data information of " personnel's title " in every data above-mentioned, " personnel's position " and " personnel nationality " these three classificationsExample, it is contemplated that this kind of other information repetitive rates of personnel title are very low and this kind of other information repetitive rates of personnel nationality veryHeight, can be using personnel's position this classification as target category.For with for each data, in " personnel's position " this target categoryUnder will be provided with a variety of data informations, such as " research and development engineer ", " legal affairs specialist ", the data for being directed to identical data information are comeIt says, these data can be divided to same group and form data group, i.e., be to research and develop the data division of engineer by personnel's positionTo same data group, the data that personnel's position is legal affairs specialist are divided to same data group.It is constructed for each data groupThe data information of each data can be input to data corresponding with the affiliated data group of data for subsequent by corresponding data sublistIn sublist, the also management so as to subsequent to the data list being made of multiple data sublist.
Then, test device carries out classification processing to the data information under the non-targeted classification of each data, and according to everyData information is input in data sublist corresponding with the data, is included by the rank of the data information of dataThe data list of multiple data sublist, what is different from the first embodiment is that this step is specifically used such as under type:
It is directed to the other each data information of same non-target class, counts the number that each data information occurs, and according to everyThe number that a data information occurs determines the non-global level under the data information of the global level under the category and the categoryData information;It is directed to the data information of each data, is determining that the data information is the data information of non-global levelIn the case where, it is input to the corresponding data sublist of the data, until the data letter of the non-global level of total dataBreath is both input into data sublist, to obtain the data list for including multiple data sublist.Wherein, the data listIn be also stored with the data information of global level under each non-targeted classification.
Still with the number of " personnel's title " in every data above-mentioned, " personnel's position " and " personnel nationality " these three classificationsIt is believed that for breath: " personnel's position " this classification is targeted classification, and corresponding " personnel's title " and " personnel nationality " willAs non-targeted classification.Test device will be directed to " personnel's title " and the other data of " personnel nationality " the two non-target classes respectivelyInformation carries out classification processing.For example, under " personnel nationality " this non-targeted classification, by statistics know data information be " inThe number of state " is 999 times, and the number that data information is " U.S. " is 1 time, at this point, can should " China " this data informationAs the data information of the global level under " personnel nationality " this non-targeted classification, by " U.S. " this data information conductThe data information of non-global level under " personnel nationality " this non-targeted classification.
Subsequently, as being input to phase according to the rank of data information having had been built up each data sublist beforeIn the data sublist answered.For example, when the data information under " personnel nationality " this non-targeted classification in data to be entered isWhen the data information of non-global level is " U.S. ", " U.S. " this data information can be directly inputted into corresponding data columnThe corresponding position of table;When the data information under " personnel nationality " this non-targeted classification in data to be entered is global levelWhen data information is " China ", the step of inputting next data information can be performed, i.e., do not input " China " this data informationInto data sublist.In addition, in order to guarantee the complete of data information, the data information of the global level under each non-targeted classificationIt will uniformly be stored in data list.In this way, so that it is more to be directed to frequency of occurrence in the data list constitutedGlobal level data information such as " China ", be merely stored in data list, rather than in subdata list, to reduceThe quantity of total data information in data class table, i.e., by using such mode, the number for being directed to appearance " China " is 999It is secondary " and the number in " U.S. " be for 1 situation, the quantity that these data informations are stored in original data list is1000, and the quantity that these data informations are stored in present embodiment is 2.
It repeats the above process until the data information of non-global level of total data is both input into data sublist, withAcquisition includes the data list of multiple data sublist.
Finally, being tested using the second test case and the data list application software to be tested, to obtainTest result.Specifically, using second test case, the data information of each data of storage is read from data sublistWith from the data information for reading the global level under each non-targeted classification in data class table.Furthermore, it is understood that being used in the second testWhen example reads data information from data list, for a certain data, data information can be carried out from data sublist firstReading then judge whether the data information of its data reads completely, read next data if complete;If noCompletely, then the data information of global level is read in the position that the data information of global level need to be stored with from data list, withConstitute the complete data information of the data.
In other optional embodiments, the test method include: according to the test scene of application software to be tested,It determines and executes sequence between several test cases and each test case for testing the application software to be tested;ItsIn, several test cases include for reading the first test case of a plurality of data from test database and for utilizingThe second test case that application software to be tested is tested in the data list.Specifically, for each testScene, can call the test case of different function from preset test case library, and determine each test case executes sequence,To test application software to be tested.In the present embodiment, the test case of calling is included at least for from testDatabase read a plurality of data the first test case and for using the data list to application software to be tested intoSecond test case of row test.
Test method provided by Embodiment 2 of the present invention, it is a plurality of by being read using the first test case from test databaseData, wherein every data include the data information under multiple classifications;According to the data information under each datum target classification,Each data are divided into different groups of other data groups, and construct corresponding data sublist for each data group;Wherein, sameData in data group under target category have identical data information;To the data information under the non-targeted classification of each dataClassification processing, and the rank of the data information according to every data are carried out, data information is input to corresponding with the dataIn data sublist, acquisition includes the data list of multiple data sublist;It is arranged according to the second test case and the dataTable tests application software to be tested, so that the quantity of the data information stored in data list in test is bigIt is big to reduce, be conducive to the maintenance and management to data list, effectively increase the utilization rate of data information in data list.
Fig. 4 is a kind of structural schematic diagram for test device that the embodiment of the present invention three provides, as shown in figure 4, the test fillsIt sets and includes:
Read module 10, for reading a plurality of data from test database using the first test case, wherein described in everyData include the data information under multiple classifications;
Processing module 20, for according to the data information under each datum target classification, each data to be divided into different groupsData group, and construct corresponding data sublist for each data group;Wherein, the number in same data group under target categoryAccording to have identical data information;Classification processing is carried out to the data information under the non-targeted classification of each data, and according to everyData information is input in data sublist corresponding with the data by the rank of the data information of data, includingThere is the data list of multiple data sublist;
Test module 30, for being surveyed according to the second test case and the data list to application software to be testedExamination.
In a kind of wherein optional embodiment, further include, test case calling module;
The test case calling module is used before reading a plurality of data from test database using the first test caseIn the test scene according to application software to be tested, determine that several tests for testing the application software to be tested are usedSequence is executed between example and each test case;Wherein, several test cases include for reading from test databaseFirst test case of a plurality of data and for being tested using the data list application software to be testedTwo test cases.
In a kind of wherein optional embodiment, the processing module 20 is specifically used for being directed to same non-targeted classificationEach data information, count the number that each data information occurs;The number occurred according to each data information is determined at suchThe data information of the data information of global level under not and the non-global level under the category;
The processing module 20 is specifically also used to: being directed to the data information of each data, is being determined the data informationIn the case where data information for non-global level, it is input to the corresponding data sublist of the data, until whole numbersAccording to the data information of non-global level be both input into data sublist.
The overall situation being also stored in a kind of wherein optional embodiment, in the data list under each non-targeted classificationThe data information of rank;
The test module 30, is specifically used for: using second test case, reads each of storage from data sublistThe data information of data and from the data information for reading the global level under each non-targeted classification in data class table.
The technical staff in the field can be understood that, for convenience and simplicity of description, the system of foregoing descriptionSpecific work process and corresponding beneficial effect, can refer to corresponding processes in the foregoing method embodiment, herein no longerIt repeats.
Test device provided by the invention, by reading a plurality of data from test database using the first test case,In every data include data information under multiple classifications;According to the data information under each datum target classification, by each numberAccording to being divided into different groups of other data groups, and corresponding data sublist is constructed for each data group;Wherein, same data groupData under interior target category have identical data information;Data information under the non-targeted classification of each data is dividedData information is input to data corresponding with the data by grade processing, and the rank of the data information according to every dataIn list, acquisition includes the data list of multiple data sublist;It is treated according to the second test case and the data listThe application software of test is tested, so that the quantity of the data information stored in data list in test drops significantlyIt is low, be conducive to the maintenance and management to data list, effectively increase the utilization rate of data information in data list.
In other embodiments, Fig. 5 is a kind of hardware configuration signal for terminal device that the embodiment of the present invention four providesFigure.As shown in figure 5, the terminal device is specific can include:
Processor 42;
Memory 41 for storage processor executable instruction;
Wherein, processor 42 is configured as:
A plurality of data are read from test database using the first test case, wherein every data include multiple classificationsUnder data information;
According to the data information under each datum target classification, each data are divided into different groups of other data groups, and be directed toEach data group constructs corresponding data sublist;Wherein, the data in same data group under target category have it is identicalData information;
Classification processing is carried out to the data information under the non-targeted classification of each data, and according to the data information of every dataRank, data information is input in data sublist corresponding with the data, acquisition includes multiple data sublistData list;
Application software to be tested is tested according to the second test case and the data list.
Wherein, above-mentioned memory 41 can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and lightData storage device etc..And processor 42 can be by one or more application specific integrated circuit (ASIC), digital signal processorFramework (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA),Controller, microcontroller, microprocessor framework or other electronic components are realized.
Above-metioned instruction can be used the language such as C/C++, Java, Shell or Python and write, and the present embodiment is to this without limitSystem.
The technical staff in the field can be understood that, for convenience and simplicity of description, the system of foregoing descriptionSpecific work process and corresponding beneficial effect, can refer to corresponding processes in the foregoing method embodiment, herein no longerIt repeats.
Terminal device provided by the invention, by reading a plurality of data from test database using the first test case,In every data include data information under multiple classifications;According to the data information under each datum target classification, by each numberAccording to being divided into different groups of other data groups, and corresponding data sublist is constructed for each data group;Wherein, same data groupData under interior target category have identical data information;Data information under the non-targeted classification of each data is dividedData information is input to data corresponding with the data by grade processing, and the rank of the data information according to every dataIn list, acquisition includes the data list of multiple data sublist;It is treated according to the second test case and the data listThe application software of test is tested, so that the quantity of the data information stored in data list in test drops significantlyIt is low, be conducive to the maintenance and management to data list, effectively increase the utilization rate of data information in data list.
The present invention provides a kind of computer readable storage medium, including instruction, when described instruction on the computerWhen operation, the computer can execute any method in above-described embodiment one or embodiment two.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosureIts embodiment.The present invention is directed to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes orPerson's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosureOr conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by followingClaims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, andAnd various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claimsSystem.

Claims (10)

CN201811489920.9A2018-12-062018-12-06Test method, test device, terminal equipment and readable storage mediumActiveCN109857632B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811489920.9ACN109857632B (en)2018-12-062018-12-06Test method, test device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811489920.9ACN109857632B (en)2018-12-062018-12-06Test method, test device, terminal equipment and readable storage medium

Publications (2)

Publication NumberPublication Date
CN109857632Atrue CN109857632A (en)2019-06-07
CN109857632B CN109857632B (en)2022-04-15

Family

ID=66890813

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811489920.9AActiveCN109857632B (en)2018-12-062018-12-06Test method, test device, terminal equipment and readable storage medium

Country Status (1)

CountryLink
CN (1)CN109857632B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113900874A (en)*2021-10-182022-01-07海光信息技术股份有限公司Test vector management system and test vector management method

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140223237A1 (en)*2013-02-042014-08-07Alcatel-LucentSystems and methods for dynamic scan scheduling
US9015592B2 (en)*2008-03-142015-04-21Verizon Patent And Licensing Inc.Method, apparatus, and computer program for providing web service testing
CN106959920A (en)*2016-01-122017-07-18维布络有限公司The method and system optimized to the protos test suite PROTOS comprising multiple test cases
CN106980573A (en)*2016-10-262017-07-25阿里巴巴集团控股有限公司A kind of method for building test case request object, apparatus and system
CN107943694A (en)*2017-11-212018-04-20中国农业银行股份有限公司A kind of test data generating method and device
CN107977317A (en)*2017-12-222018-05-01上海庆科信息技术有限公司A kind of test method of data network, system and relevant apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9015592B2 (en)*2008-03-142015-04-21Verizon Patent And Licensing Inc.Method, apparatus, and computer program for providing web service testing
US20140223237A1 (en)*2013-02-042014-08-07Alcatel-LucentSystems and methods for dynamic scan scheduling
CN106959920A (en)*2016-01-122017-07-18维布络有限公司The method and system optimized to the protos test suite PROTOS comprising multiple test cases
CN106980573A (en)*2016-10-262017-07-25阿里巴巴集团控股有限公司A kind of method for building test case request object, apparatus and system
CN107943694A (en)*2017-11-212018-04-20中国农业银行股份有限公司A kind of test data generating method and device
CN107977317A (en)*2017-12-222018-05-01上海庆科信息技术有限公司A kind of test method of data network, system and relevant apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尤枫 等: "基于页面聚类的Web应用测试方法研究", 《计算机工程与应用》*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113900874A (en)*2021-10-182022-01-07海光信息技术股份有限公司Test vector management system and test vector management method

Also Published As

Publication numberPublication date
CN109857632B (en)2022-04-15

Similar Documents

PublicationPublication DateTitle
CN109218114B (en)Decision tree-based server fault automatic detection system and detection method
EP3447642B1 (en)System and method for predicting application performance for large data size on big data cluster
CN107092522B (en)Real-time data calculation method and device
CN110750458A (en)Big data platform testing method and device, readable storage medium and electronic equipment
CN112445692B (en) A use case testing method and terminal
CN112631754A (en)Data processing method, data processing device, storage medium and electronic device
CN109558310A (en)Method for generating test case and device
CN109743286A (en)A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN113760297B (en) Strategic class division method, system, computer equipment and medium
CN114911598A (en)Task scheduling method, device, equipment and storage medium
CN106484459A (en)It is applied to flow control method and the device of JavaScript
WO2023165271A1 (en)Knowledge graph construction and graph calculation
CN107153702A (en)A kind of data processing method and device
CN115509789B (en) A computing system failure prediction method and system based on component call analysis
CN106802865B (en)Response simulator and method for software test
CN114676029B (en)Method, device, system and medium for evaluating software access capability
CN110879753A (en) GPU-accelerated performance optimization method and system based on automated cluster resource management
CN109857632A (en)Test method, device, terminal device and readable storage medium storing program for executing
CN117992598B (en)Demand response method, device, medium and equipment based on large model
CN112817851A (en)Service testing method, device, equipment, medium and computer program product
CN111045923A (en) A test method, system and device for high availability of HBASE components
CN110968583A (en)Answer statistical method and device, equipment and storage medium
CN116743565A (en)Performance capacity resource allocation method and device
JPS6126112A (en) System abnormality diagnosis method
EP3977373A1 (en)Systems, methods, and computer readable mediums for controlling federation of automated agents

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp