CN103942138A - Testing method and device - Google Patents
Testing method and device Download PDFInfo
- Publication number
- CN103942138A CN103942138A CN201310025259.7A CN201310025259A CN103942138A CN 103942138 A CN103942138 A CN 103942138A CN 201310025259 A CN201310025259 A CN 201310025259A CN 103942138 A CN103942138 A CN 103942138A
- Authority
- CN
- China
- Prior art keywords
- data
- result data
- expected result
- testing
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a testing method and device. The testing method comprises the steps of preparing a testing file, the testing file comprises basic data and expected outcome data, the testing file is stored in an excel worksheet, and the basic data are converted into data language to be stored in a data base; the basic data are used as input data for executing unit testing of the testing file, and after unit testing is completed, actual testing result data are output; the expected result data are extracted from the testing file in an excel data format; a query condition is determined, and the data base is searched based on the query condition to acquire the actual testing data corresponding to the query condition; the expected result data and the actual testing result data are compared to obtain difference information. According to the testing method and device, an actual testing result and an expected result can be automatically compared to display the difference of the actual testing result and the expected result, the complex operation of manually checking item by item is avoided, the testing efficiency is improved, and the probability of omitting is lowered.
Description
Technical field
The present invention relates to a kind of method of testing and device, particularly relate to a kind of method of testing and device of automation cell.
Background technology
Write out after one section of program code for completing a certain service logic at use java development language (a kind of object-oriented programming language that can write cross-platform software), need to verify Expected Results when whether this section of code can reach program design, so just need to use unit test tool to carry out unit testing to this section of program code; Need the input data of some basic datas as program and start this section of program code, whether correctly after test completes, carry out the service logic of determining program by the output data of the program of checking.Before use unit test tool carries out unit testing, the service logic that need to be this test is prepared basic data, assert that whether tested service logic is entirely true and need whether meet expected result according to actual test result in unit testing, and after completing, unit testing needs the actual running results with expecting that operation result compares, if there are differences the bug(that need to analyze service logic existence according to difference results in computer system or program, undiscovered defect or problem, i.e. leaks more under covering).
In current practical operation, there is no a kind of specification to the required basic data of unit testing and expected result data, before unit testing starts by desired data according to unified and standard at a spread sheet software of excel() in provide, and just required basic data is deposited in database by various manual modes, the archiving files of neither one cannonical format, is not easy to repeatedly carry out same unit testing operation.In unit testing, be difficult to judge whether the actual running results meets expected result, and then assert directly in unit testing one of the service logic of current test.After unit testing completes, need equally manual checking one by one to analyze actual result data and whether meet expected result, inefficiency and easily omission.The workload that so not only can increase unit testing, the probability of making a fault in inefficiency is also higher, nor is convenient to the repeatedly execution of same business unit test.
Summary of the invention
The technical problem to be solved in the present invention is that whether consistent with the expected result process of the actual result in order to overcome the test of judging unit in prior art relies on and manually checks one by one, inefficiency, easily causes the defect of omission, a kind of method of testing and device of robotization are provided, can automatically contrast actual test result and expected result and show both difference, remove the troublesome operation of manually checking one by one from, improve testing efficiency, reduced the possibility of omitting.
The present invention solves above-mentioned technical matters by following technical proposals:
A kind of method of testing, its feature is, comprises the following steps:
S
1, according to set an excel data layout setup test file, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion;
S
2, carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
S
3, from this test file, extract these expected result data with this excel data layout;
S
4, determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition;
S
5, compare these expected result data and this actual test result data to obtain different information.
In this method of testing, first in excel, prepare basic data and expected result data according to the form of setting, in the time that unit testing starts, there is unit testing aid to be converted to database language basic data and deposit database in, for follow-up unit testing.And expected result data need not deposit database in, in comparison, these expected result data are compared with the actual result data that obtain from database, thereby obtain different information.
Preferably, step S
1comprise the step that this basic data depositing in this worksheet is changed to database language and deposits in this database according to an excel data layout of setting.For example adopting a test aid is database format data according to the excel data layout of setting in advance by the basic data conversion of test use, and deposit in a database used for unit testing, and before depositing in, remove historical data according to the major key field value of basic data, prevent repeated collisions.Because unit testing need to repeatedly be carried out, before each execution, basic data all can be stored into database, and basic data may be modified after executing at every turn, so each performance element test need to be fallen historical basis data dump identical Major key in database.And the mechanism of database to be same major key data can only there is a record simultaneously, will clash if unclear, cannot write basic data.
Preferably, step S
4the determining step of middle querying condition comprises: according to this excel data layout, the major key field in these expected result data and data value corresponding to expected result data are converted to data base query language;
Step S
4the step of middle this actual test result data of acquisition comprises: obtain this actual test result data in this database according to this data base query language.
Preferably, step S
5in obtain this different information by comparing these expected result data and this actual test result data affiliated field name separately.
Preferably, step S
5also comprise afterwards:
S
6, this different information is write in this worksheet.
Preferably, step S
6comprise:
S
61, obtain the storehouse literary name segment information of this worksheet;
S
62, according to the cell at corresponding this expected result data place of all differences information, this storehouse literary name segment information and this different information location;
S
63, write in this cell producing this actual test result data and this expected result data of this different information.
Preferably, this excel data layout comprises following one or more: worksheet overall style, ignore the empty data value form of row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, numeric type, the empty data value form of character type, data Kuku table data layout.
Preferably, this different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.
Preferably, this difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
The present invention also provides a kind of proving installation, and its feature is, it comprises a unit test tool and a test aid, wherein,
This unit test tool is used for according to an excel data layout setup test file of setting, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion; And carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
This test aid is for extracting this expected result data with this excel data layout from this test file; And determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition; And compare these expected result data and this actual test result data to obtain different information.
In this proving installation, this unit test tool is first prepared basic data and expected result data according to the form of setting in excel, in the time that unit testing starts, there is unit testing aid to be converted to database language basic data and deposit database in, for follow-up unit testing.And expected result data need not deposit database in, in comparison, this test aid is compared these expected result data with the actual result data that obtain from database, thereby obtains different information.
Preferably, this test aid is changed to database language for this basic data that this worksheet is deposited according to an excel data layout of setting and deposits this database in for unit testing.
Preferably, this test aid is determined this querying condition for the major key field of these expected result data and corresponding data value being converted to data base query language according to this excel data layout; And this obtains this actual test result data in this database according to this data base query language.
Preferably, this test aid is for obtaining this different information by comparing these expected result data and this actual test result data affiliated field name separately.
Preferably, this test aid is for writing this worksheet by this different information.
Preferably, this test aid is for obtaining the storehouse literary name segment information of this worksheet; And according to the cell at this storehouse literary name segment information and corresponding this expected result data place of all differences information, this different information location; And this actual test result data and these expected result data of producing this different information are write in this cell.
Preferably, this excel data layout comprises following one or more: worksheet overall style, ignore the empty data value form of row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, numeric type, the empty data value form of character type, data Kuku table data layout.
Preferably, this different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.
Preferably, this difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
Meeting on the basis of this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is: by method of testing of the present invention and device, can automatically contrast actual test result and expected result and show both difference, remove the troublesome operation of manually checking one by one from, improved testing efficiency, reduced the possibility of omitting.
Brief description of the drawings
Fig. 1 is the process flow diagram of the method for testing of one embodiment of the invention.
Fig. 2 is the structured flowchart of the proving installation of one embodiment of the invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
With reference to figure 1, this method of testing comprises the following steps:
S
1, according to set an excel data layout setup test file, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion;
S
2, carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
S
3, from this test file, extract these expected result data with this excel data layout;
S
4, determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition;
S
5, compare these expected result data and this actual test result data to obtain different information;
S
6, this different information is write in this worksheet.
Specifically, step S
1comprise the step that this basic data depositing in this worksheet is changed to database language and deposits in this database according to an excel data layout of setting.
Wherein, step S
4the determining step of middle querying condition comprises: according to this excel data layout, the major key field in these expected result data and corresponding data value are converted to data base query language;
Step S
4the step of middle this actual test result data of acquisition comprises: obtain this actual test result data in this database according to this data base query language.
And, step S
5in obtain this different information by comparing these expected result data and this actual test result data affiliated field name separately.
In order to show more intuitively different information, step S
6comprise:
S
61, obtain the storehouse literary name segment information of this worksheet;
S
62, according to the cell at corresponding this expected result data place of all differences information, this storehouse literary name segment information and this different information location;
S
63, write in this cell producing this actual test result data and this expected result data of this different information.
In the present embodiment, this excel data layout comprises following one or more: worksheet overall style, ignore the empty data value form of row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, numeric type, the empty data value form of character type, data Kuku table data layout.
For instance, excel worksheet overall style refers to, in worksheet, all cells are all text data forms, and all data are all from the first row of current line.
For example ignore row format, this journey first row data are necessary for " * ".
For example, this journey first row data are necessary for " TABLE " to database table name format.
For example, this journey first row data are necessary for " FIELD " to database table field format.
For example, this journey first row data are necessary for " EXPECT " to expected result data markers form, and this journey once all data is all to expect result data.
Database table major key field form for example, adds storehouse table field name with " " beginning.
For example, with $, { nowTime} represents current time to date type data layout, and { nowDate} represents current date to $, and { yyy-MM-dd} represents this form date to $, and { yyy-MM-dd hh:mm:ss} represents this form time to $.
The empty data value form of numeric type for example, with $ the empty data of null}() substitute.
The empty data value form of character type for example, with $ blank}(null character (NUL)) substitute.
For example, this journey first row data are necessary for " VALUE " to data Kuku table data layout.
Specifically, this different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.
And, this difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
With reference to figure 2, this proving installation comprises a unit test tool 1 and a test aid 2, wherein,
This unit test tool 1 for according to set an excel data layout setup test file, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion; And carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
This test aid 2 is for extracting this expected result data with this excel data layout from this test file; And determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition; And compare these expected result data and this actual test result data to obtain different information.
In addition, this test aid 2 is changed to database language for this basic data that this worksheet is deposited according to an excel data layout of setting and deposits this database in for unit testing.
And this test aid 2 is determined this querying condition for the major key field of these expected result data and corresponding data value being converted to data base query language according to this excel data layout; And this obtains this actual test result data in this database according to this data base query language.
In addition, this test aid 2 is for obtaining this different information by comparing these expected result data and this actual test result data affiliated field name separately.
In order to facilitate follow-up checking, this test aid 2 is for writing this worksheet by this different information.
Wherein, this test aid 2 is for obtaining the storehouse literary name segment information of this worksheet; And according to the cell at this storehouse literary name segment information and corresponding this expected result data place of all differences information, this different information location; And this actual test result data and these expected result data of producing this different information are write in this cell.
Comparatively conventional, this excel data layout comprises following one or more: worksheet overall style, ignore row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, the empty data value form of numeric type, the empty data value form of character type, data Kuku table data layout.
This different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.This difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
Adopt method of testing of the present invention and proving installation to greatly reduce artificial intervention, judge without manually checking one by one whether service logic exists bug, and automaticity improves greatly.Sketch this automated testing method by a concrete testing process below.
Before flow process starts, needing excel data layout according to the rules be that basic data and expected result data of needing are prepared in this test, and deposits in a worksheet of excel stand-by.
The method of testing of the present embodiment is in the time carrying out, and concrete implementation step is as follows:
Step 1, the test aid test excel data file that analysis has been prepared according to excel data layout, therefrom extracts basic data for test.
Step 2, the basic data for test data inserting storehouse that test aid obtains step 1, and before inserting, by id(identify label) delete data later, avoid id to repeat to insert unsuccessfully.
Step 3, running unit method of testing, waits for completing of unit testing.
Step 4, the test aid test excel data file that analysis has been prepared according to excel data layout, therefrom extracts test and expects result data.
Step 5, test expectation result data and excel data layout that test aid obtains according to step 4 are determined querying condition, obtain corresponding test actual result data from database.
Step 6, the test actual result data that the expected result data that test aid obtains step 4 and step 5 obtain are compared, and provide difference results and describe.
Step 7, the difference results descriptor that test aid obtains step 6 writes in excel data file.
The unit testing the present invention relates to is for utilizing such as regression testing framework of junit() etc. this type of unit test tool a certain section of program of writing with java development language tested, and then judge whether service logic that this section of code completes reaches the Expected Results of program design.Before unit testing starts, according to required basic data and expected result data in the excel data layout preparatory unit test of institute of the present invention specification; In unit testing, provide required basic data by unit testing aid provided by the present invention for unit testing, auxiliary unit testing tool completes the test to certain section of code; After unit testing completes, by unit testing aid provided by the present invention, the True Data producing with program according to the expected result data of preparing is before compared, and the difference that provides both is described.The present invention has greatly reduced manual intervention, in whether service logic exists the judgement of bug, has improved automaticity, has reduced the probability that judgement makes mistakes.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these embodiments, but these changes and amendment all fall into protection scope of the present invention.
Claims (18)
1. a method of testing, is characterized in that, comprises the following steps:
S
1, according to set an excel data layout setup test file, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion;
S
2, carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
S
3, from this test file, extract these expected result data with this excel data layout;
S
4, determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition;
S
5, compare these expected result data and this actual test result data to obtain different information.
2. method of testing as claimed in claim 1, is characterized in that, step S
1comprise the step that this basic data depositing in this worksheet is changed to database language and deposits in this database according to an excel data layout of setting.
3. method of testing as claimed in claim 1, is characterized in that, step S
4the determining step of middle querying condition comprises: according to this excel data layout, the major key field in these expected result data and corresponding data value are converted to data base query language;
Step S
4the step of middle this actual test result data of acquisition comprises: obtain this actual test result data in this database according to this data base query language.
4. method of testing as claimed in claim 1, is characterized in that, step S
5in obtain this different information by comparing these expected result data and this actual test result data affiliated field name separately.
5. the method for testing as described in any one in claim 1-4, is characterized in that step S
5also comprise afterwards:
S
6, this different information is write in this worksheet.
6. method of testing as claimed in claim 5, is characterized in that, step S
6comprise:
S
61, obtain the storehouse literary name segment information of this worksheet;
S
62, according to the cell at corresponding this expected result data place of all differences information, this storehouse literary name segment information and this different information location;
S
63, write in this cell producing this actual test result data and this expected result data of this different information.
7. method of testing as claimed in claim 5, it is characterized in that, this excel data layout comprises following one or more: worksheet overall style, ignore row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, the empty data value form of numeric type, the empty data value form of character type, data Kuku table data layout.
8. method of testing as claimed in claim 5, it is characterized in that, this different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.
9. method of testing as claimed in claim 8, it is characterized in that, this difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
10. a proving installation, is characterized in that, it comprises a unit test tool and a test aid, wherein,
This unit test tool is used for according to an excel data layout setup test file of setting, this test file comprises basic data and expected result data, this test file is stored in a worksheet of excel, and is that database language deposits database in by this basic data conversion; And carry out the unit testing of this test file, the actual test result data of output after this unit testing completes taking this basic data as input data;
This test aid is for extracting this expected result data with this excel data layout from this test file; And determine querying condition according to these expected result data and this excel data layout, and search for this database to obtain the actual test result data corresponding with this querying condition based on this querying condition; And compare these expected result data and this actual test result data to obtain different information.
11. proving installations as claimed in claim 10, is characterized in that, this test aid is changed to database language for this basic data that this worksheet is deposited according to an excel data layout of setting and deposits this database in.
12. proving installations as claimed in claim 10, is characterized in that, this test aid is determined this querying condition for the major key field of these expected result data and corresponding data value being converted to data base query language according to this excel data layout; And this obtains this actual test result data in this database according to this data base query language.
13. proving installations as claimed in claim 10, is characterized in that, this test aid is for obtaining this different information by comparing these expected result data and this actual test result data affiliated field name separately.
14. proving installations as described in any one in claim 10-13, is characterized in that, this test aid is for writing this worksheet by this different information.
15. proving installations as claimed in claim 14, is characterized in that, this test aid is for obtaining the storehouse literary name segment information of this worksheet; And according to the cell at this storehouse literary name segment information and corresponding this expected result data place of all differences information, this different information location; And this actual test result data and these expected result data of producing this different information are write in this cell.
16. proving installations as claimed in claim 14, it is characterized in that, this excel data layout comprises following one or more: worksheet overall style, ignore row format, database table name format, database table field format, expected result data markers form, database table major key field form, date type data layout, the empty data value form of numeric type, the empty data value form of character type, data Kuku table data layout.
17. proving installations as claimed in claim 14, it is characterized in that, this different information is the set of the difference descriptor of these expected result data and this actual test result data, and this difference descriptor comprises following one or more: affiliated expected result storehouse table table name information, the flag information that represents whether to there are differences, represent that the difference there are differences describes information and the affiliated expected result data line number information in this worksheet in detail.
18. proving installations as claimed in claim 17, it is characterized in that, this difference detailed description information is the set that the each data difference that there are differences is described, and each data difference is described and comprised following one or more: the expected result value in corresponding data Kuku literary name name section, database actual result value and this worksheet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310025259.7A CN103942138A (en) | 2013-01-23 | 2013-01-23 | Testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310025259.7A CN103942138A (en) | 2013-01-23 | 2013-01-23 | Testing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103942138A true CN103942138A (en) | 2014-07-23 |
Family
ID=51189811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310025259.7A Pending CN103942138A (en) | 2013-01-23 | 2013-01-23 | Testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103942138A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550083A (en) * | 2015-12-09 | 2016-05-04 | 北京交控科技股份有限公司 | MSS (maintenance support subsystem) automatic test method and system |
CN105760292A (en) * | 2014-12-18 | 2016-07-13 | 阿里巴巴集团控股有限公司 | Assertion verification method and device for unit testing |
CN106503893A (en) * | 2016-10-21 | 2017-03-15 | 郑州云海信息技术有限公司 | Complete automatization's method of calibration that high level material information is checked in OQC cancelling stocks |
CN106598763A (en) * | 2016-12-09 | 2017-04-26 | 四川长虹电器股份有限公司 | Method for testing BI report |
CN107357735A (en) * | 2017-07-20 | 2017-11-17 | 万帮充电设备有限公司 | Discount method of testing and device |
CN108062325A (en) * | 2016-11-08 | 2018-05-22 | 北京京东尚科信息技术有限公司 | Comparative approach and comparison system |
CN108241579A (en) * | 2016-12-27 | 2018-07-03 | 张家港康得新光电材料有限公司 | The treating method and apparatus of test data |
CN108845943A (en) * | 2018-06-25 | 2018-11-20 | 郑州云海信息技术有限公司 | A kind of method and system that judgement software test stage is completed |
CN109542768A (en) * | 2018-10-25 | 2019-03-29 | 惠州市德赛西威汽车电子股份有限公司 | A kind of multi-lingual automatic testing method based on Labview |
CN110046084A (en) * | 2018-01-17 | 2019-07-23 | 北京京东尚科信息技术有限公司 | The method and apparatus of test data product |
CN110442512A (en) * | 2019-07-05 | 2019-11-12 | 深圳壹账通智能科技有限公司 | The method for testing reliability and relevant device of information management system by all kinds of means |
CN110688295A (en) * | 2018-07-06 | 2020-01-14 | 北京京东尚科信息技术有限公司 | Data testing method and device |
CN110750457A (en) * | 2019-10-21 | 2020-02-04 | 中国民航信息网络股份有限公司 | Automatic unit testing method and device based on memory database |
CN110795494A (en) * | 2018-07-17 | 2020-02-14 | 北京京东尚科信息技术有限公司 | Automatic testing method and device for synchronous and asynchronous cache data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744054A (en) * | 2004-08-31 | 2006-03-08 | 中国银联股份有限公司 | Automatic test auxiliary system and corresponding software automatic test method |
CN101814052A (en) * | 2010-02-04 | 2010-08-25 | 浪潮集团山东通用软件有限公司 | Automatic test method |
US20120084754A1 (en) * | 2010-09-30 | 2012-04-05 | Oracle International Corporation | Streamlining Unit Testing Through Hot Code Swapping |
-
2013
- 2013-01-23 CN CN201310025259.7A patent/CN103942138A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744054A (en) * | 2004-08-31 | 2006-03-08 | 中国银联股份有限公司 | Automatic test auxiliary system and corresponding software automatic test method |
CN101814052A (en) * | 2010-02-04 | 2010-08-25 | 浪潮集团山东通用软件有限公司 | Automatic test method |
US20120084754A1 (en) * | 2010-09-30 | 2012-04-05 | Oracle International Corporation | Streamlining Unit Testing Through Hot Code Swapping |
Non-Patent Citations (5)
Title |
---|
DANIEL J.MOSLEY: "《软件测试自动化》", 31 October 2003 * |
李英杰等: "基于DbUnit的单元测试框架设计", 《煤炭技术》 * |
王敏等: "数据库系统辅助测试工具", 《微型机与应用》 * |
王敏等: "数据驱动测试在Nuint框架中的应用", 《数据驱动测试在NUINT框架中的应用》 * |
黄晓玲: "基于GUI软件的测试自动化框架的研究与应用", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760292B (en) * | 2014-12-18 | 2019-01-08 | 阿里巴巴集团控股有限公司 | A kind of assertion verification method and apparatus for unit testing |
CN105760292A (en) * | 2014-12-18 | 2016-07-13 | 阿里巴巴集团控股有限公司 | Assertion verification method and device for unit testing |
CN105550083A (en) * | 2015-12-09 | 2016-05-04 | 北京交控科技股份有限公司 | MSS (maintenance support subsystem) automatic test method and system |
CN106503893A (en) * | 2016-10-21 | 2017-03-15 | 郑州云海信息技术有限公司 | Complete automatization's method of calibration that high level material information is checked in OQC cancelling stocks |
CN108062325A (en) * | 2016-11-08 | 2018-05-22 | 北京京东尚科信息技术有限公司 | Comparative approach and comparison system |
CN106598763A (en) * | 2016-12-09 | 2017-04-26 | 四川长虹电器股份有限公司 | Method for testing BI report |
CN108241579A (en) * | 2016-12-27 | 2018-07-03 | 张家港康得新光电材料有限公司 | The treating method and apparatus of test data |
CN107357735A (en) * | 2017-07-20 | 2017-11-17 | 万帮充电设备有限公司 | Discount method of testing and device |
CN110046084A (en) * | 2018-01-17 | 2019-07-23 | 北京京东尚科信息技术有限公司 | The method and apparatus of test data product |
CN108845943A (en) * | 2018-06-25 | 2018-11-20 | 郑州云海信息技术有限公司 | A kind of method and system that judgement software test stage is completed |
CN110688295A (en) * | 2018-07-06 | 2020-01-14 | 北京京东尚科信息技术有限公司 | Data testing method and device |
CN110795494A (en) * | 2018-07-17 | 2020-02-14 | 北京京东尚科信息技术有限公司 | Automatic testing method and device for synchronous and asynchronous cache data |
CN109542768A (en) * | 2018-10-25 | 2019-03-29 | 惠州市德赛西威汽车电子股份有限公司 | A kind of multi-lingual automatic testing method based on Labview |
CN110442512A (en) * | 2019-07-05 | 2019-11-12 | 深圳壹账通智能科技有限公司 | The method for testing reliability and relevant device of information management system by all kinds of means |
CN110750457A (en) * | 2019-10-21 | 2020-02-04 | 中国民航信息网络股份有限公司 | Automatic unit testing method and device based on memory database |
CN110750457B (en) * | 2019-10-21 | 2023-11-10 | 中国民航信息网络股份有限公司 | Automatic unit testing method and device based on memory database |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103942138A (en) | Testing method and device | |
WO2020233330A1 (en) | Batch testing method, apparatus, and computer-readable storage medium | |
CN108446190B (en) | Interface test method and device | |
CN108319711B (en) | Method and device for testing transaction consistency of database, storage medium and equipment | |
CN104866580A (en) | Method for quickly detecting impact caused by database modification to current service | |
CN106776324A (en) | Interface test method and device | |
CN111859830A (en) | Verification plan and report generation method, device, equipment and storage medium | |
CN107168868B (en) | Software change defect prediction method based on sampling and ensemble learning | |
US20190086908A1 (en) | Devices, methods, and systems for a distributed rule based automated fault detection | |
CN105373472A (en) | Database statistical accuracy-based test method and system | |
CN105843784A (en) | Statement generation method and device | |
CN113032257B (en) | Automated testing method, apparatus, computer system, and readable storage medium | |
CN104391796A (en) | Method for parsing test cases | |
CN105354138A (en) | Method for determining specific control attribute of mobile phone page | |
CN112131116A (en) | Automatic regression testing method for embedded software | |
CN104156198A (en) | Method and device for automatically generating software integration version updating description | |
CN107506307A (en) | DMI method for refreshing and system in a kind of storage product test | |
KR20130071907A (en) | Setting method of for materials catalog for ocen plant | |
CN109190146B (en) | BIM model information checking method, system, terminal and storage medium | |
CN103309888A (en) | Method and device for verifying data of electronic map | |
CN113032256B (en) | Automated testing method, apparatus, computer system, and readable storage medium | |
WO2023284108A1 (en) | Demand conformity analysis method and system, and electronic device and storage medium | |
CN106649501B (en) | Consistency checking system and method for access model of substation monitoring database and SCD | |
CN114936111A (en) | Front-end variable anomaly detection and restoration method, device, equipment and storage medium | |
US20160259710A1 (en) | Code consistency checking method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160914 Address after: East Building 11, 100195 Beijing city Haidian District xingshikou Road No. 65 west Shan creative garden district 1-4 four layer of 1-4 layer Applicant after: Beijing Jingdong Shangke Information Technology Co., Ltd. Address before: 201203 Shanghai city Pudong New Area Zu Road No. 295 Room 102 Applicant before: Niuhai Information Technology (Shanghai) Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140723 |