CN105468514B - Test method and device based on data combination - Google Patents

Test method and device based on data combination Download PDF

Info

Publication number
CN105468514B
CN105468514B CN201510047640.2A CN201510047640A CN105468514B CN 105468514 B CN105468514 B CN 105468514B CN 201510047640 A CN201510047640 A CN 201510047640A CN 105468514 B CN105468514 B CN 105468514B
Authority
CN
China
Prior art keywords
test
data
combination
tested
file
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
CN201510047640.2A
Other languages
Chinese (zh)
Other versions
CN105468514A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201510047640.2A priority Critical patent/CN105468514B/en
Publication of CN105468514A publication Critical patent/CN105468514A/en
Application granted granted Critical
Publication of CN105468514B publication Critical patent/CN105468514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of test method and device based on data combination, acquired test data is stored in original document the following steps are included: obtain the test data of tested object by the test method based on data combination;Judge the type of the combined strategy in the test data, obtains judging result;The data in the test data are subjected to data combination according to judging result;Test case file is exported according to the data after combination, and the tested object is tested according to the test case file.The present invention can simplify existing test operation, and operation more automates, and extends the range of data combination.

Description

Test method and device based on data combination
Technical field
The present invention relates to the field of test technology more particularly to a kind of test methods and device based on data combination.
Background technique
During the test, measurand often has multiple inputs to existing test case, and multiple inputs have multiple Different values thus needs to test the various possible combinations of multiple inputs, and this test is generally referred to as data group Close test.
In the existing test about test case, be combined if there is more data, for example, EC combination or Wise combination etc., a kind of method are performed manually by data combination, and anabolic process is complicated, are easy to omit;Another method is to pass through The combination tool PICT.exe that order line executes carries out data combination, but operation and inconvenience are executed by order line, makes After the completion of the combination of PICT.exe data, it is also necessary to duplication stickup is carried out manually, data are substituted into corresponding testing procedure, And PICT.exe is merely able to support the data combination of a part, such as PICT.exe that BC is not supported to combine this data Therefore combination has certain limitation using combination tool PICT.exe.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of test methods and device based on data combination, it is intended to which solution is based on The test operation of data combination is cumbersome and data combination has the technical issues of limitation.
To achieve the above object, the present invention provides a kind of test method based on data combination, described to be combined based on data Test method the following steps are included:
The test data for obtaining tested object, acquired test data is stored in original document;
Judge the type of the combined strategy in the test data, obtains judging result;
The data in the test data are subjected to data combination according to judging result;
Test case file is exported according to the data after combination, and according to the test case file to described tested pair As being tested.
Preferably, the type of the combined strategy includes Wise combined strategy and BC combined strategy, described to be tied according to judgement Fruit by the test data data carry out data combination the step of include:
If Wise combined strategy, then call PICT tool that the data in the test data are carried out data combination;
If BC combined strategy, then the data in the test data are carried out by data combination by BC combinational algorithm.
Preferably, the data according to after combination export test case file, and according to the test case file pair The step of tested object is tested include:
Using the data after combining as test point, according to the testing procedure template and test point life in the test data At test case step and export into test case file;
The tested object is tested according to the test case step.
Preferably, the tested object includes the hardware survey for needing to design the software test of use-case or needing to design use-case Examination.
Preferably, the test data for obtaining tested object, is stored in original document for acquired test data In step before include:
Historical test data is removed, test file is obtained and reads the test number of tested object from the test file According to.
In addition, to achieve the above object, it is described based on number the present invention also provides a kind of test device based on data combination Include: according to combined test device
Acquired test data is stored in initial text for obtaining the test data of tested object by memory module In part;
Judgment module obtains judging result for judging the type of the combined strategy in the test data;
Composite module, for the data in the test data to be carried out data combination according to judging result;
Test module, for exporting test case file according to the data after combination, and according to the test case file The tested object is tested.
Preferably, the type of the combined strategy includes Wise combined strategy and BC combined strategy, the composite module packet It includes:
First assembled unit then calls PICT tool by the number in the test data if being used for Wise combined strategy According to progress data combination;
Second assembled unit then passes through BC combinational algorithm for the number in the test data if being used for BC combined strategy According to progress data combination.
Preferably, the test module includes:
Generation unit, for using combine after data as test point, according to the testing procedure template in the test data And the test point generates test case step and exports into test case file;
Test cell, for being tested according to the test case step the tested object.
Preferably, the tested object includes the hardware survey for needing to design the software test of use-case or needing to design use-case Examination.
Preferably, the test device based on data combination further include:
Read module, for removing historical test data, obtaining test file and being read from the test file tested Try the test data of object.
A kind of test method and device based on data combination of the present invention is obtained when testing tested object The test data of tested object, test data is stored in original document, according to the class of the combined strategy in test data Type carries out data group and merges output into test case file, is tested according to test case file, simplifies existing test Operation;The present invention does not need to carry out data combination manually, and data combination will not omit, and operation more automates;Due to this Invention is integrated with the data combination of BC combination, therefore extends the range of data combination.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of test method combined the present invention is based on data;
Fig. 2 is the refinement flow diagram of step S104 in Fig. 1;
Fig. 3 is the functional block diagram of one embodiment of test device combined the present invention is based on data;
Fig. 4 is the refinement the functional block diagram of test module in Fig. 3.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of test method based on data combination, referring to Fig.1, in one embodiment, should be based on data Combined test method includes:
Step S101 obtains the test data of tested object, acquired test data is stored in original document;
The present embodiment can be applied in many testing fields, as long as tested object is the software for needing to design use-case The hardware testing of use-case is tested or need to design, such as is applied in the software and hardware test of television set, such as TV in application In machine software automatic updating;Or apply in the software and hardware test of computer, such as apply in windows desktop program test or In other hardware testings of person etc..
In the present embodiment, test data includes testing procedure template, data and combined strategy, is obtaining testing procedure mould It after plate, data and combined strategy, is stored in original document ModelFile.txt, is used to test.
Such as example, testing requirement are automatically upgraded to test TV software are as follows: TV downloads upgrade package from network, default Download to TV it is local /Data catalogue, if/Data catalogue is inadequate, prompting download is inserted into USB flash disk or SD card.Be inserted into USB flash disk or SD card can download to USB flash disk or SD card with regard to upgrade package.Then share 3 data variables: TVSpace, USB, SDCard.Testing procedure Template includes 4 steps: 1, TV $ { TVSpace };2, TV $ { USB };3, TV $ { SDCard };4, OTA upgrading is executed, is checked Tv state.Combined strategy can be 2-Wise combination.
Step S102 judges the type of the combined strategy in the test data, obtains judging result;
In the present embodiment, after obtaining test data, the combined strategy in test data is judged, judges it for which A kind of combined strategy.
Wherein, there are many types of combined strategy, EC combination, Wise combination, invalid value combination or BC combination be can be Etc., and 1-Wise combination, 2-Wise combination and N-Wise combination can be divided into Wise combination.
Data in the test data are carried out data combination according to judging result by step S103;
Step S104 exports test case file according to the data after combination, and according to the test case file to institute Tested object is stated to be tested.
In the present embodiment, such as combined strategy is Wise combined strategy, then can directly use existing combination tool PICT.exe carries out data combination, then exports combined result into test case file OutputFile.txt, for another example group Closing strategy is BC combined strategy, then BC combinational algorithm also can be used and carry out data combination, combined result is exported to test and is used In example text part OutputFile.txt.Last test personnel can directly survey according to test case file OutputFile.txt Examination.
It in the present embodiment, does not need to carry out data combination manually, but uses such as BC combinational algorithm or use existing Combination tool PICT.exe carry out data combination, data combination will not omit, operation more automate, it is easy to operate.
The present embodiment after carrying out data combination using combination tool PICT.exe, do not need to carry out manually duplication pastes will Data after combination, which are substituted into corresponding step, just can be carried out test, and can export test case file OutputFile.txt is directly tested according to test case file OutputFile.txt step by step, simplifies test operation.
The test that the present embodiment is combined based on data is integrated with the data combination of BC combination, extends data combination Range tested so that the mode of the present embodiment can be used in the test for more needing to design use-case.
Compared with prior art, the present embodiment obtains the test of tested object when testing tested object Test data is stored in original document by data, carries out data group merging according to the type of the combined strategy in test data It exports in test case file, is tested according to test case file, simplify existing test operation;The present embodiment does not need Data combination is carried out manually, and data combination will not omit, and operation more automates;Since the present embodiment is integrated with BC combination Data combination, therefore extend data combination range.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 1, if above-mentioned steps S103 includes: Wise combined strategy then calls PICT tool that the data in the test data are carried out data combination;If BC combined strategy, The data in the test data are then carried out by data combination by BC combinational algorithm.
In the present embodiment, the type of combined strategy includes but is not limited to Wise combined strategy and BC combined strategy.
In the present embodiment, if Wise combined strategy, then PICT tool is called to carry out the data in the test data Data combination, example test TV software as described above are automatically upgraded to example, and data combination tool is Wise combination, each variable Value: the space TVSpace is enough, TVSpace insufficient space;The enough USB flash disks in USB carry space, the U of USB carry insufficient space Disk, not carry USB flash disk;The enough SD cards in SDCard carry space, the SD card of SDCard carry insufficient space, not carry SD card.Number According to combination tool: Wise combination.The value of each data variable may is that the space TVSpace is enough, TVSpace insufficient space; The enough USB flash disks in USB carry space, the USB flash disk of USB carry insufficient space, not carry USB flash disk;The enough SD cards in SDCard carry space, The SD card of SDCard carry insufficient space, not carry SD card.Then there are 9 kinds of combined results:
1.TVSpace=insufficient space;The enough USB flash disks in USB=carry space;SDCard=not carry SD card;
2.TVSpace=insufficient space;The USB flash disk of USB=carry insufficient space;The SD of SDCard=carry insufficient space Card;
The space 3.TVSpace=is enough;The USB flash disk of USB=carry insufficient space;SDCard=not carry SD card;
The space 4.TVSpace=is enough;USB=not carry USB flash disk;The enough SD cards in SDCard=carry space;
The space 5.TVSpace=is enough;The enough USB flash disks in USB=carry space;The SD of SDCard=carry insufficient space Card;
The space 6.TVSpace=is enough;USB=not carry USB flash disk;SDCard=not carry SD card;
7.TVSpace=insufficient space;The USB flash disk of USB=carry insufficient space;The enough SD in SDCard=carry space Card;
8.TVSpace=insufficient space;USB=not carry USB flash disk;The SD card of SDCard=carry insufficient space;
9.TVSpace=insufficient space;The enough USB flash disks in USB=carry space;The enough SD in SDCard=carry space Card.
If BC combined strategy, then the data in the test data are carried out by data combination by BC combinational algorithm, with For following data a, b and c, the value of data a, b and c are as shown in table 1 below:
Data variable Virtual value Invalid value
a 1,2,3 ~0
b 11,12
c A, B ~Chinese ,~messy code
Table 1
Taken in data a, b and c first it is several based on data (Base), then every time replacement one data, guarantee Each data cover.As shown in table 2 below, based on (a=1, b=11, c=A), the value of a is become 2 by second group of data, The value of a is become 3, followed by the value variation of b, c by third group data, and so on, obtain 8 kinds of combinations knot as shown in table 2 below Fruit (the case where BC combination does not consider invalid value):
Number a b c
1st group 1 11 A
2nd group 2 11 A
3rd group 3 11 A
4th group ~0 11 A
5th group 1 12 A
6th group 1 11 B
7th group 1 11 ~Chinese
8th group 1 11 ~messy code
Table 2
In a preferred embodiment, as shown in Fig. 2, on the basis of the embodiment of above-mentioned Fig. 1, above-mentioned steps S104 packet It includes:
Step S1041, using combine after data as test point, according in the test data testing procedure template and institute Test point is stated to generate test case step and export into test case file;
Step S1042 tests the tested object according to the test case step.
It is test point by the data after combination, i.e., using above-mentioned combined result as test point, according to test in the present embodiment Testing procedure template and the test point in data generate test case step: being upgraded automatically with above-mentioned test TV software And for using Wise combined strategy, such as in the first combined result in 9 kinds of combined results, according in test data Testing procedure template and test point generate test case step, and symbiosis is at 4 steps:
1, TV insufficient space;
2, the enough USB flash disks in TV carry space;
3, TV not carry SD card;
4, OTA upgrading is executed, checks tv state.
For another example in second of combined result in 9 kinds of combined results, according to the testing procedure template in test data And test point generates test case step, same symbiosis is at 4 steps:
1, TV insufficient space;
2, the USB flash disk of TV carry insufficient space;
3, the SD card of TV carry insufficient space;
4, OTA upgrading is executed, checks tv state.
The present embodiment no longer illustrates the corresponding test case step of above-mentioned 9 kinds of combined results each combined results one by one Suddenly, the test case step of other combined results is also similar.The present embodiment is according to the testing procedure template in test data And test point generates the test case step that finally can directly use, and exports into test case file, according to test case Step tests tested object, without carrying out a large amount of mechanical duplication paste operations, simplifies test operation.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 1, the test method based on data combination exists Before above-mentioned steps S101 further include:
Step S100 removes historical test data, obtains test file and reads tested pair from the test file The test data of elephant.
In the present embodiment, before being tested, historical test data is removed first, in order to avoid influence this test behaviour Make.After removing historical test data, test file is obtained, such as obtain the test file of excel table, then from excel The test data including testing procedure template, data and combined strategy is read in table, to test tested object.
The present invention also provides a kind of test devices based on data combination, as shown in figure 3, in one embodiment, the base Include: in the test device of data combination
Acquired test data is stored in initially by memory module 101 for obtaining the test data of tested object In file;
The present embodiment can be applied in many testing fields, as long as tested object is the software for needing to design use-case The hardware testing of use-case is tested or need to design, such as is applied in the software and hardware test of television set, such as TV in application In machine software automatic updating;Or apply in the software and hardware test of computer, such as apply in windows desktop program test or In other hardware testings of person etc..
In the present embodiment, test data includes testing procedure template, data and combined strategy, is obtaining testing procedure mould It after plate, data and combined strategy, is stored in original document ModelFile.txt, is used to test.
Such as example, testing requirement are automatically upgraded to test TV software are as follows: TV downloads upgrade package from network, default Download to TV it is local /Data catalogue, if/Data catalogue is inadequate, prompting download is inserted into USB flash disk or SD card.Be inserted into USB flash disk or SD card can download to USB flash disk or SD card with regard to upgrade package.Then share 3 data variables: TVSpace, USB, SDCard.Testing procedure Template includes 4 steps: 1, TV $ { TVSpace };2, TV $ { USB };3, TV $ { SDCard };4, OTA upgrading is executed, is checked Tv state.Combined strategy can be 2-Wise combination.
Judgment module 102 obtains judging result for judging the type of the combined strategy in the test data;
In the present embodiment, after obtaining test data, the combined strategy in test data is judged, judges it for which A kind of combined strategy.
Wherein, there are many types of combined strategy, EC combination, Wise combination, invalid value combination or BC combination be can be Etc., and 1-Wise combination, 2-Wise combination and N-Wise combination can be divided into Wise combination.
Composite module 103, for the data in the test data to be carried out data combination according to judging result;
Test module 104, for exporting test case file according to the data after combination, and according to the test case text Part tests the tested object.
In the present embodiment, such as combined strategy is Wise combined strategy, then can directly use existing combination tool PICT.exe carries out data combination, then exports combined result into test case file OutputFile.txt, for another example group Closing strategy is BC combined strategy, then BC combinational algorithm also can be used and carry out data combination, combined result is exported to test and is used In example text part OutputFile.txt.Last test personnel can directly survey according to test case file OutputFile.txt Examination.
It in the present embodiment, does not need to carry out data combination manually, but uses such as BC combinational algorithm or use existing Combination tool PICT.exe carry out data combination, data combination will not omit, operation more automate, it is easy to operate.
The present embodiment after carrying out data combination using combination tool PICT.exe, do not need to carry out manually duplication pastes will Data after combination, which are substituted into corresponding step, just can be carried out test, and can export test case file OutputFile.txt is directly tested according to test case file OutputFile.txt step by step, simplifies test operation.
The test that the present embodiment is combined based on data is integrated with the data combination of BC combination, extends data combination Range tested so that the mode of the present embodiment can be used in the test for more needing to design use-case.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 3, the composite module 103 includes: first Assembled unit then calls PICT tool that the data in the test data are carried out data group if being used for Wise combined strategy It closes;Second assembled unit is then carried out the data in the test data by BC combinational algorithm if being used for BC combined strategy Data combination.
In the present embodiment, the type of combined strategy includes but is not limited to Wise combined strategy and BC combined strategy.
In the present embodiment, if Wise combined strategy, then PICT tool is called to carry out the data in the test data Data combination, example test TV software as described above are automatically upgraded to example, and data combination tool is Wise combination, each variable Value: the space TVSpace is enough, TVSpace insufficient space;The enough USB flash disks in USB carry space, the U of USB carry insufficient space Disk, not carry USB flash disk;The enough SD cards in SDCard carry space, the SD card of SDCard carry insufficient space, not carry SD card.Number According to combination tool: Wise combination.The value of each data variable may is that the space TVSpace is enough, TVSpace insufficient space; The enough USB flash disks in USB carry space, the USB flash disk of USB carry insufficient space, not carry USB flash disk;The enough SD cards in SDCard carry space, The SD card of SDCard carry insufficient space, not carry SD card.Then there are 9 kinds of combined results:
1.TVSpace=insufficient space;The enough USB flash disks in USB=carry space;SDCard=not carry SD card;
2.TVSpace=insufficient space;The USB flash disk of USB=carry insufficient space;The SD of SDCard=carry insufficient space Card;
The space 3.TVSpace=is enough;The USB flash disk of USB=carry insufficient space;SDCard=not carry SD card;
The space 4.TVSpace=is enough;USB=not carry USB flash disk;The enough SD cards in SDCard=carry space;
The space 5.TVSpace=is enough;The enough USB flash disks in USB=carry space;The SD of SDCard=carry insufficient space Card;
The space 6.TVSpace=is enough;USB=not carry USB flash disk;SDCard=not carry SD card;
7.TVSpace=insufficient space;The USB flash disk of USB=carry insufficient space;The enough SD in SDCard=carry space Card;
8.TVSpace=insufficient space;USB=not carry USB flash disk;The SD card of SDCard=carry insufficient space;
9.TVSpace=insufficient space;The enough USB flash disks in USB=carry space;The enough SD in SDCard=carry space Card.
If BC combined strategy, then the data in the test data are carried out by data combination, ginseng by BC combinational algorithm Be admitted to the table 1 and table 2 stated, taken in data a, b and c first it is several based on data (Base), then every time replacement one Data guarantee that each data cover.As shown in table 2, based on (a=1, b=11, c=A), second group of data is by the value of a Becoming 2, the value of a is become 3, followed by the value variation of b, c by third group data, and so on, obtain 8 kinds of groups as shown in Table 2 Close result (the case where BC combination does not consider invalid value).
In a preferred embodiment, as shown in figure 4, on the basis of the embodiment of above-mentioned Fig. 3, the test module 104 include:
Generation unit 1041, for using combine after data as test point, according to the testing procedure in the test data Template and the test point generate test case step and export into test case file;
Test cell 1042, for being tested according to the test case step the tested object.
It is test point by the data after combination, i.e., using above-mentioned combined result as test point, according to test in the present embodiment Testing procedure template and the test point in data generate test case step: being upgraded automatically with above-mentioned test TV software And for using Wise combined strategy, such as in the first combined result in 9 kinds of combined results, according in test data Testing procedure template and test point generate test case step, and symbiosis is at 4 steps:
1, TV insufficient space;
2, the enough USB flash disks in TV carry space;
3, TV not carry SD card;
4, OTA upgrading is executed, checks tv state.
For another example in second of combined result in 9 kinds of combined results, according to the testing procedure template in test data And test point generates test case step, same symbiosis is at 4 steps:
1, TV insufficient space;
2, the USB flash disk of TV carry insufficient space;
3, the SD card of TV carry insufficient space;
4, OTA upgrading is executed, checks tv state.
The present embodiment no longer illustrates the corresponding test case step of above-mentioned 9 kinds of combined results each combined results one by one Suddenly, the test case step of other combined results is also similar.The present embodiment is according to the testing procedure template in test data And test point generates the test case step that finally can directly use, and exports into test case file, according to test case Step tests tested object, without carrying out a large amount of mechanical duplication paste operations, simplifies test operation.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 3, the test dress based on data combination It sets further include: read module, for removing historical test data, obtaining test file and being read from the test file tested Try the test data of object.
In the present embodiment, before being tested, historical test data is removed first, in order to avoid influence this test behaviour Make.After removing historical test data, test file is obtained, such as obtain the test file of excel table, then from excel The test data including testing procedure template, data and combined strategy is read in table, to test tested object.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. it is a kind of based on data combination test method, which is characterized in that it is described based on data combination test method include with Lower step:
The test data for obtaining tested object, acquired test data is stored in original document;
Judge the type of the combined strategy in the test data, obtains judging result;
The data in the test data are subjected to data combination according to judging result;
According to after combination data export test case file, and according to the test case file to the tested object into Row test;
Wherein, the data according to after combination export test case file, and according to the test case file to the quilt The step of test object is tested include:
Using the data after combining as test point, according to the testing procedure template and test point generation survey in the test data Example step on probation is simultaneously exported into test case file;
The tested object is tested according to the test case step.
2. the test method as described in claim 1 based on data combination, the type of the combined strategy includes Wise combination Strategy and BC combined strategy, which is characterized in that described that data in the test data are carried out by data group according to judging result The step of conjunction includes:
If Wise combined strategy, then call PICT tool that the data in the test data are carried out data combination;
If BC combined strategy, then the data in the test data are carried out by data combination by BC combinational algorithm.
3. such as the described in any item test methods based on data combination of claim 1-2, which is characterized in that described tested pair As including needing to design the software test of use-case or needing to design the hardware testing of use-case.
4. such as the described in any item test methods based on data combination of claim 1-2, which is characterized in that described obtain is tested The test data for trying object, acquired test data, which is stored in the step in original document before, includes:
Historical test data is removed, test file is obtained and reads the test data of tested object from the test file.
5. it is a kind of based on data combination test device, which is characterized in that it is described based on data combination test device include:
Acquired test data is stored in original document by memory module for obtaining the test data of tested object;
Judgment module obtains judging result for judging the type of the combined strategy in the test data;
Composite module, for the data in the test data to be carried out data combination according to judging result;
Test module, for exporting test case file according to the data after combination, and according to the test case file to institute Tested object is stated to be tested;
The test module includes:
Generation unit, for using combine after data as test point, according in the test data testing procedure template and institute Test point is stated to generate test case step and export into test case file;
Test cell, for being tested according to the test case step the tested object.
6. the test device as claimed in claim 5 based on data combination, the type of the combined strategy includes Wise combination Strategy and BC combined strategy, which is characterized in that the composite module includes:
First assembled unit, if be used for Wise combined strategy, then call PICT tool by the data in the test data into The combination of row data;
Second assembled unit, if be used for BC combined strategy, then by BC combinational algorithm by the data in the test data into The combination of row data.
7. such as the described in any item test devices based on data combination of claim 5-6, which is characterized in that described tested pair As including needing to design the software test of use-case or needing to design the hardware testing of use-case.
8. such as the described in any item test devices based on data combination of claim 5-6, which is characterized in that described to be based on data Combined test device further include:
Read module, for removing historical test data, obtaining test file and reading tested pair from the test file The test data of elephant.
CN201510047640.2A 2015-01-29 2015-01-29 Test method and device based on data combination Active CN105468514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510047640.2A CN105468514B (en) 2015-01-29 2015-01-29 Test method and device based on data combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510047640.2A CN105468514B (en) 2015-01-29 2015-01-29 Test method and device based on data combination

Publications (2)

Publication Number Publication Date
CN105468514A CN105468514A (en) 2016-04-06
CN105468514B true CN105468514B (en) 2019-04-16

Family

ID=55606245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510047640.2A Active CN105468514B (en) 2015-01-29 2015-01-29 Test method and device based on data combination

Country Status (1)

Country Link
CN (1) CN105468514B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631917A (en) * 2020-12-25 2021-04-09 中国农业银行股份有限公司 Test case generation method and device and electronic equipment
CN114721957B (en) * 2022-04-14 2022-09-30 合肥卓讯云网科技有限公司 Software and hardware automatic testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183332A (en) * 2007-11-21 2008-05-21 北京中星微电子有限公司 Method and device for automatically generating testing datasets by program content
CN101526917A (en) * 2009-04-22 2009-09-09 南京大学 Method for reproducing test scripts based on data drive
CN102331971A (en) * 2011-09-01 2012-01-25 北京用友政务软件有限公司 QTP (Quick Test Profession)-based automatic testing method and system
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system
CN103279415A (en) * 2013-05-27 2013-09-04 哈尔滨工业大学 Embedded software test method based on combinatorial test
CN103631720A (en) * 2013-12-20 2014-03-12 百度在线网络技术(北京)有限公司 Method and device for generating test case

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183332A (en) * 2007-11-21 2008-05-21 北京中星微电子有限公司 Method and device for automatically generating testing datasets by program content
CN101526917A (en) * 2009-04-22 2009-09-09 南京大学 Method for reproducing test scripts based on data drive
CN102331971A (en) * 2011-09-01 2012-01-25 北京用友政务软件有限公司 QTP (Quick Test Profession)-based automatic testing method and system
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system
CN103279415A (en) * 2013-05-27 2013-09-04 哈尔滨工业大学 Embedded software test method based on combinatorial test
CN103631720A (en) * 2013-12-20 2014-03-12 百度在线网络技术(北京)有限公司 Method and device for generating test case

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"成对组合测试数据的整体优化和生成方法";陈皓等;《计算机工程与应用》;20120105;第48卷(第11期);第32页到第36页

Also Published As

Publication number Publication date
CN105468514A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN102567203B (en) A kind of method and system of test distributed file system performance
CN105893850B (en) Leak restorative procedure and device
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
CN104679532B (en) kernel module loading method and device
CN106933734A (en) A kind of physical layer software automated testing method and device
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
CN103019942B (en) Method and system for automatically testing applications to be tested based on android system
CN106648787A (en) Resource updating method and terminal
CN103235759A (en) Method and device for generating test cases
CN107357727A (en) APP testing results method, apparatus, readable storage medium storing program for executing and computer equipment
CN107741904A (en) Test machine method of automatic configuration, device, equipment and storage medium
CN108446195A (en) A kind of server memory performance test methods and device
CN107301070A (en) A kind of upgrade method and terminal
CN108563579A (en) White-box testing method, apparatus, system and storage medium
CN105468514B (en) Test method and device based on data combination
CN103336257B (en) WAT test system and method
CN109271313A (en) Code test method, device and computer readable storage medium
CN110297749B (en) Method and terminal for testing new function
CN103546342B (en) A kind of terminal consistency test method and the api interface universal adapter for the method
CN106502648A (en) Application shows the method and terminal of language-specific
CN107509215A (en) A kind of wireless authentication automated testing method and system
CN104407978A (en) Automatic test method of software and device thereof
CN104484430B (en) A kind of method and system of OEM information customization
CN110597728A (en) Method, device and system for constructing test data
CN109739511A (en) A kind of method, apparatus, computer equipment and storage medium improving code verification efficiency

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant