CN108255699A - regression testing method and device - Google Patents
regression testing method and device Download PDFInfo
- Publication number
- CN108255699A CN108255699A CN201710189048.5A CN201710189048A CN108255699A CN 108255699 A CN108255699 A CN 108255699A CN 201710189048 A CN201710189048 A CN 201710189048A CN 108255699 A CN108255699 A CN 108255699A
- Authority
- CN
- China
- Prior art keywords
- source program
- test
- program
- information
- identification
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a kind of regression testing method and device, the method includes:Obtain the regression test instruction for carrying software identification;Extract the corresponding source program location revision information of software identification in the regression test instruction;Determine the corresponding program segment identification of the source program location revision information;Search the corresponding test case of described program segment identification;Regression test is carried out according to the test case found.Review test method provided by the invention and device, without being tested according to all test cases of software under testing, the corresponding test case of modified program segment need to only be searched and carry out regression test, reduce the quantity of the test case utilized during regression test, the test spent time is saved, improves testing efficiency.
Description
Technical field
The present invention relates to software test field, more particularly to a kind of regression testing method and device.
Background technology
With the development of computer technology, there is being developed for various functions software, after the completion of software development, often need
Software is tested, application could be put into after in software test.In software test procedure, need to write multiple surveys
Example on probation for testing the function of software, what the function of software was realized by multiple program segments.
During the test, need repeatedly to change the source program of software, after each modification, need to software into
Row regression test can be used normally with the function of ensuring software.However, in each regression test, it is required for running
The corresponding whole test cases of software, cause unmodified source program to be repeated as many times as required execution so that the testing efficiency of software
It is relatively low.
Invention content
Based on this, it is necessary to for software testing efficiency it is low the problem of, a kind of regression testing method and device are provided.
A kind of regression testing method, the method includes:
Obtain the regression test instruction for carrying software identification;
Extract the corresponding source program location revision information of software identification in the regression test instruction;
Determine the corresponding program segment identification of the source program location revision information;
Search the corresponding test case of described program segment identification;
Regression test is carried out according to the test case found.
Before the acquisition carries the regression test instruction of software identification in one of the embodiments, including:
Receive the source program amendment advice of terminal;
The program segment changed in terminal is obtained according to the source program amendment advice;
Corresponding original program section in source program is updated according to the program segment of the modification.
The corresponding source program modification of software identification in the extraction regression test instruction in one of the embodiments,
Location information, including:
Extract the corresponding source program to be tested of the software identification and original source program;
The source program to be tested and the original source program are subjected to differentiation comparison, obtain comparison result;
Source program location revision information is determined according to the comparison result.
It is described in one of the embodiments, to determine the corresponding program segment identification of the source program location revision information, packet
It includes:
Obtain the corresponding position range information of each program segment identification in the source program to be tested;
The source program location revision information with the position range information obtained is compared, determines that the source program is repaiied
Change the position range information belonging to location information;
Extract the corresponding program segment identification of the determining position range information.
After the test case that the basis is found in one of the embodiments, carries out regression test, further include:
Code execution information of the source program in the regression test is recorded, and generates test log;
The extraction test exception information from the test log;
According to the test exception information generation test exception reporting extracted.
Above-mentioned regression testing method after the source program to software is modified, obtains the recurrence for carrying software identification
Test instruction, software identification are the mark of software to be tested.The corresponding source program location revision information of software identification is extracted, is determined
The corresponding program segment identification of source program location revision information, the corresponding test case of search program segment identification, according to what is found
Test case carries out regression test.Without being tested according to all test cases of software under testing, need to only search modified
The corresponding test case of program segment carries out regression test, reduces the quantity of the test case utilized during regression test, saves
The test spent time, improve testing efficiency.
A kind of regression test device, described device include:
Instruction acquisition module is tested, for obtaining the regression test instruction for carrying software identification;
Location information extraction module, for extracting the corresponding source program modification position of software identification in the regression test instruction
Confidence ceases;
Program segment identification determining module, for determining the corresponding program segment identification of the source program location revision information;
Test case searching module, for searching the corresponding test case of described program segment identification;
Regression test module, for carrying out regression test according to the test case found.
Described device further includes in one of the embodiments,:
Amendment advice receiving module, for receiving the source program amendment advice of terminal;
Program segment acquisition module, for obtaining the program segment changed in terminal according to the source program amendment advice;
Program segment update module, for updating corresponding original program section in source program according to the program segment of the modification.
The location information extraction module includes in one of the embodiments,:
Source program extraction module, for extracting the corresponding source program to be tested of the software identification and original source program;
Comparison result obtains module, for the source program to be tested and the original source program to be carried out differentiation ratio
Compared with acquisition comparison result;
Location revision determining module, for determining source program location revision information according to the comparison result.
Described program segment identification determining module includes in one of the embodiments,:
Range information acquisition module, for obtaining the corresponding position range of each program segment identification in the source program to be tested
Information;
Information comparison module, for the source program location revision information to be compared with the position range information obtained
Compared with for determining the position range information belonging to the source program location revision information;
Marker extraction module, for extracting the corresponding program segment identification of the determining position range information.
Described device specifically further includes in one of the embodiments,:
Test log generation module, for recording code execution information of the source program in the regression test, and
Generate test log;
Geochemical anomalies studying module, for the extraction test exception information from the test log;
Exception reporting generation module, for according to the test exception information generation test exception reporting extracted.
Above-mentioned regression test device after the source program to software is modified, obtains the recurrence for carrying software identification
Test instruction, software identification are the mark of software to be tested.The corresponding source program location revision information of software identification is extracted, is determined
The corresponding program segment identification of source program location revision information, the corresponding test case of search program segment identification, according to what is found
Test case carries out regression test.Without being tested according to all test cases of software under testing, need to only search modified
The corresponding test case of program segment carries out regression test, reduces the quantity of the test case utilized during regression test, saves
The test spent time, improve testing efficiency.
Description of the drawings
Fig. 1 is the applied environment figure of regression test system in one embodiment;
Fig. 2 is the flow diagram of regression testing method in one embodiment;
Fig. 3 is flow diagram the step of test source program is obtained in one embodiment;
Fig. 4 is flow diagram the step of source program location revision information is obtained in one embodiment;
The flow diagram for the step of Fig. 5 is generation test exception reporting in one embodiment;
Fig. 6 is the structure diagram of regression test device in one embodiment;
Fig. 7 is the structure diagram of regression test device in another embodiment;
Fig. 8 is the structure diagram of regression test device in further embodiment;
Fig. 9 is the structure diagram of regression test device in another embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of regression test system in one embodiment, and regression test system includes 110 He of terminal
Server 120, terminal 110 are connect by network with server 120.Wherein, terminal 110 and server 120 can be specifically more
It is a.Terminal 110 can be specifically at least one of laptop, tablet computer, smart mobile phone and personal digital assistant.
As shown in Fig. 2, in one embodiment, providing a kind of regression testing method, the present embodiment is applied in this way
Server 120 in Fig. 1 regression test systems comes for example, operation has regression test program on the server 120, by returning
Test program is returned to implement regression testing method, this method specifically includes following steps:
S202 obtains the regression test instruction for carrying software identification.
Specifically, a large amount of source program is store in server 120, each source program is corresponding with software identification to be stored, each
Software product corresponds to a software identification, and software identification is the unique mark of software product.Terminal 110 can be accessed by network
The source program stored in server 120, and modify to source program.When carrying out regression test, terminal 110 is to server
120 send the access request of source program, and server 120 returns to multiple software identifications according to access request to terminal 110.Terminal
110 after the multiple software identifications for receiving the return of server 120, show software identification.Terminal 110 is according to tester to aobvious
The operation selection software identification for the software identification shown, generates regression test instruction, by regression test according to the software identification of selection
Instruction is sent to server 120.Server 120 receives the regression test for the carrying software identification instruction that terminal 110 is sent.It returns
Return test, refer to after having modified source program, re-start test to confirm modification without introducing new mistake or leading to source program
Other parts generate mistake.
S204, the corresponding source program location revision information of software identification in extraction regression test instruction.
Specifically, the corresponding source program location revision information of each software identification, location revision letter are store in server 120
Breath can be specifically the line number where the code changed in source program.Server 120 is right after regression test instruction is received
Regression test instruction is parsed, the software identification in extraction regression test instruction.Server 120 is changed from the source program of storage
Source program location revision information corresponding with software identification is searched in location information, and extracts the source program location revision found
Information.
S206 determines the corresponding program segment identification of source program location revision information.
Specifically, server 120 determines source program after the corresponding source program location revision information of software identification is extracted
It repaiies as the position range information belonging to position.Source program includes multiple program segments, and the position range information of each program segment is different,
By the storage corresponding with the program segment identification of each program segment of the position range information of each program segment.Server 120 changes source program
The position range information of location information and each program segment is compared, and determines the position range belonging to source program location revision information
Information obtains the corresponding program segment identification of determining position range information.
S208, the corresponding test case of search program segment identification.
Specifically, when writing test case, the mapping table of test case and associated program segment can be established, and will
In the mapping table storage to server 120 of foundation, test case mark and program segment identification are store in mapping table,
Wherein test case mark storage corresponding with program segment identification.Server 120 is determining the corresponding journey of modified program segment
After sequence segment identification, the corresponding test case mark of search program segment identification in mapping table.
S210 carries out regression test according to the test case found.
Specifically, server 120 is after test case is found, and from the test case of storage, extracts the survey found
Example on probation obtains the program segment in source program to be tested according to test case, performs the program segment got and obtain test result.
Server 120 can also specifically be extracted according to the sequence of test case in the mapping table of test case and associated program segment
Test case, and test case is ranked up according to execution sequence, perform the test case after sequence.
In the present embodiment, after the source program to software is modified, the regression test that acquisition carries software identification refers to
It enables, software identification is the mark of software to be tested.The corresponding source program location revision information of software identification is extracted, determines source program
The corresponding program segment identification of location revision information, the corresponding test case of search program segment identification are used according to the test found
Example carries out regression test.Without being tested according to all test cases of software under testing, modified program segment only need to be searched
Corresponding test case carries out regression test, reduces the quantity of the test case utilized during regression test, saves test institute
The time of consuming, improve testing efficiency.
As shown in figure 3, in one embodiment, the step of obtaining source program to be tested is specifically further included before S202, it should
Step specifically includes the following contents:
S302 receives the source program amendment advice of terminal.
Specifically, when changing source program, terminal 110 sends source program to server 120 and obtains request, and source program obtains
Request is taken to include software identification.Server 120 is after the source program for receiving the transmission of terminal 110 obtains request, to source program
It obtains request to be parsed, extraction source program obtains the software identification in request.Server 120 is searched according to software identification and is corresponded to
Source program, the source program found is sent to terminal 110.Terminal 110 includes source program after source program is received
In the program editing page.Tester can modify to source program in the program editing page, after the completion of modification, click
Store button in the program editing page.Terminal 110 is sent out in the clicking operation on detecting store button to server 120
Send source program amendment advice.
S304 obtains the program segment changed in terminal according to source program amendment advice.
S306 updates corresponding original program section in source program according to the program segment of the modification.
Specifically, server 120 is when receiving source program amendment advice, in 120 extraction procedure amendment advice of server
Program segment identification, according to program segment identification generation phase obtain ask, obtain request include verification information, by obtain ask
It asks and is sent to terminal 110.Terminal 110 is after the verification information in asking acquisition is verified, according to the journey obtained in asking
Sequence segment identification obtains the program segment changed in the program editing page, and the program segment of modification is sent to server 120.Server
120 in the source program of storage the corresponding original program section of search program segment identification, original program section is replaced with to the journey of modification
Sequence section.
In the present embodiment, after the modification of program notice for receiving terminal, the program segment of modification is obtained from terminal, avoids obtaining
Complete source program is taken, a large amount of network transmission resource is expended, saves transmission time, the program segment replacement pair of modification will be obtained
The original program section answered improves the renewal time of source program.
As shown in figure 4, in one embodiment, S204 specifically further includes the step of obtaining source program location revision information,
The step specifically includes the following contents:
S402 extracts the corresponding source program to be tested of software identification and original source program.
Specifically, server 120 extracts the software identification in regression test instruction, and extraction software identification is corresponding to be measured
Try source program and original source program.Server 120 searches the terminal 110 that the corresponding source program to software identification is modified, and obtains
Take the source program to be tested generated after modifying in terminal 110 to source program.Server 120 is searched from the source program of storage
The corresponding original source program of software identification.
Source program to be tested and original source program are carried out differentiation comparison, obtain comparison result by S404.
Specifically, the source program to be tested extracted and original source program are compared by server 120, are obtained to be tested
Source program obtains comparison result relative to the content of original source modification of program according to the content of the modification got.
S406 determines source program location revision information according to comparison result.
Specifically, server 120 is searched matched with comparison result after comparison result is obtained in source program to be tested
Content extracts the content found in the location information of source program to be tested, the content that location information can be specifically to look for
Place line number.
In one embodiment, S206 specifically includes the step of determining program segment identification, which specifically includes in following
Hold:Obtain the corresponding position range information of each program segment identification in source program to be tested;By source program location revision information with obtaining
The position range information taken is compared, and determines the position range information belonging to source program location revision information;What extraction determined
The corresponding program segment identification of position range information.
Specifically, server 120 traverses each program segment in source program to be tested, to each after source program to be tested is obtained
The program segment identification of program segment is identified.After program segment identification is recognized, the corresponding program segment of program segment identification is obtained
Beginning line number and terminate line number, by the beginnings line number of the program segment got and end line number and program segment program segment identification
Corresponding storage, generation phase position range mapping table, wherein it is corresponding with program segment identification to start line number and terminate line number
Position range information.Server 120 is by the position range in source program location revision information and program segment position range mapping table
Information is compared, compare modification line number in location revision information whether beginning line number in the range information of position and end
Between line number, if so, determining that the position range information includes the position range information of source program location revision information, from program
The corresponding program segment identification of position range information is extracted in fragment position scope map table.
In the present embodiment, differentiation comparison is carried out by source program to be tested and original source program, accurately determines source program
Location revision information is compared according to source program location revision information and the position range information of each program segment, determines modification
The corresponding position range information of location information, so as to accurately determine the corresponding program segment identification of program segment of modification.
As shown in figure 5, in one embodiment, the step of exception reporting is tested in generation is specifically further included after S210, it should
Step specifically includes the following contents:
S502, code execution information of the record source program in regression test, and generate test log.
Specifically, when carrying out regression test according to the test case found, server 120 is being run server 120
During the corresponding program segment of test case, need to perform the code in source program, record the code execution information in test process, generation
Code execution information specifically includes the line number where the code of execution and the line number where the code being not carried out, and can also include not holding
Capable code.Server 120 can be with recording test time, according to testing time and the generation that is execution and being not carried out of record
Line number generation test log where code simultaneously stores.
S504, the extraction test exception information from test log.
S506, according to the test exception information generation test exception reporting extracted.
Specifically, server 120 extracts test exception information from test log, and test exception information can be surveyed
It is abnormal to be corresponded to storage generation test by line number where the code that examination process is not carried out and the code being not carried out for line number and code
Report, by the storage corresponding with software identification of test exception reporting.Test exception reporting can be specifically sent to end by server 120
End 110.Performed test case mark can also be tested every time by wherein testing in exception reporting
In one embodiment, terminal 110 sends the inquiry request of test exception reporting, inquiry request to server 120
Middle querying condition can specifically include at least one of software identification, test case mark and testing time.Server 120 exists
After the inquiry request for receiving test exception reporting, the querying condition in inquiry request is extracted, is searched and tested according to querying condition
The test exception reporting found is back to terminal 110 by exception reporting.
In the present embodiment, during regression test, the code execution information of source program is recorded, and generate test log,
Test exception information generation test exception reporting in test log, test can be accurately reflected by testing exception reporting
Extremely the position occurred, convenient for being modified according to test exception reporting to program segment positioning.
As shown in fig. 6, in one embodiment, providing a kind of regression test device 600, which specifically includes:Test
Instruction acquisition module 602, location information extraction module 604, program segment identification determining module 606, test case searching module 608
With regression test module 610.
Instruction acquisition module 602 is tested, for obtaining the regression test instruction for carrying software identification;
Location information extraction module 604, for extracting the corresponding source program modification position of software identification in regression test instruction
Confidence ceases;
Program segment identification determining module 606, for determining the corresponding program segment identification of source program location revision information;
Test case searching module 608, for the corresponding test case of search program segment identification;
Regression test module 610, for carrying out regression test according to the test case found.
In the present embodiment, after the source program to software is modified, the regression test that acquisition carries software identification refers to
It enables, software identification is the mark of software to be tested.The corresponding source program location revision information of software identification is extracted, determines source program
The corresponding program segment identification of location revision information, the corresponding test case of search program segment identification are used according to the test found
Example carries out regression test.Without being tested according to all test cases of software under testing, modified program segment only need to be searched
Corresponding test case carries out regression test, reduces the quantity of the test case utilized during regression test, saves test institute
The time of consuming, improve testing efficiency.
As shown in fig. 7, in one embodiment, providing a kind of regression test device 600, which specifically further includes:It repaiies
Change notice receiving module 612, program segment acquisition module 614 and program segment update module 616.
Amendment advice receiving module 612, for receiving the source program amendment advice of terminal.
Program segment acquisition module 614, for obtaining the program segment changed in terminal according to source program amendment advice.
Program segment update module 616, for updating corresponding original program section in source program according to the program segment of modification.
In the present embodiment, after the modification of program notice for receiving terminal, the program segment of modification is obtained from terminal, avoids obtaining
Complete source program is taken, a large amount of network transmission resource is expended, saves transmission time, the program segment replacement pair of modification will be obtained
The original program section answered improves the renewal time of source program.
As shown in figure 8, in one embodiment, provide a kind of regression test device 600, location information extraction module 604
It specifically includes:Source program extraction module 604a, comparison result obtain module 604b and location revision determining module 604c;Program segment
Mark determining module 606 specifically includes range information acquisition module 606a and information comparison module 606b.
Source program extraction module 604a, for extracting the corresponding source program to be tested of software identification and original source program.
Comparison result obtains module 604b, for source program to be tested and original source program to be carried out differentiation comparison, obtains
Obtain comparison result.
Location revision determining module 604c, for determining source program location revision information according to comparison result.
Range information acquisition module 606a, for obtaining the corresponding position range of each program segment identification in source program to be tested
Information.
Information comparison module 606b, for source program location revision information to be compared with the position range information obtained
Compared with determining the position range information belonging to source program location revision information;
Marker extraction module 606c, for extracting the corresponding program segment identification of determining position range information.
In the present embodiment, differentiation comparison is carried out by source program to be tested and original source program, accurately determines source program
Location revision information is compared according to source program location revision information and the position range information of each program segment, determines modification
The corresponding position range information of location information, so as to accurately determine the corresponding program segment identification of program segment of modification.
As shown in figure 9, in one embodiment, providing a kind of regression test device 600, which specifically further includes:
Test log generation module 618 for recording code execution information of the source program in regression test, and generates survey
Try daily record.
Geochemical anomalies studying module 620, for the extraction test exception information from test log;
Exception reporting generation module 622, for according to the test exception information generation test exception reporting extracted.
In the present embodiment, during regression test, the code execution information of source program is recorded, and generate test log,
Test exception information generation test exception reporting in test log, test can be accurately reflected by testing exception reporting
Extremely the position occurred, convenient for being modified according to test exception reporting to program segment positioning.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of regression testing method, the method includes:
Obtain the regression test instruction for carrying software identification;
Extract the corresponding source program location revision information of software identification in the regression test instruction;
Determine the corresponding program segment identification of the source program location revision information;
Search the corresponding test case of described program segment identification;
Regression test is carried out according to the test case found.
2. according to the method described in claim 1, it is characterized in that, described obtain the regression test instruction for carrying software identification
Before, including:
Receive the source program amendment advice of terminal;
The program segment changed in terminal is obtained according to the source program amendment advice;
Corresponding original program section in source program is updated according to the program segment of the modification.
3. according to the method described in claim 1, it is characterized in that, described extract software identification pair in the regression test instruction
The source program location revision information answered, including:
Extract the corresponding source program to be tested of the software identification and original source program;
The source program to be tested and the original source program are subjected to differentiation comparison, obtain comparison result;
Source program location revision information is determined according to the comparison result.
4. according to the method described in claim 3, it is characterized in that, described determine that the source program location revision information is corresponding
Program segment identification, including:
Obtain the corresponding position range information of each program segment identification in the source program to be tested;
The source program location revision information with the position range information obtained is compared, determines the source program modification position
Position range information belonging to confidence breath;
Extract the corresponding program segment identification of the determining position range information.
5. according to claim 1-4 any one of them methods, which is characterized in that the test case that the basis is found carries out
After regression test, further include:
Code execution information of the source program in the regression test is recorded, and generates test log;
The extraction test exception information from the test log;
According to the test exception information generation test exception reporting extracted.
6. a kind of regression test device, which is characterized in that described device includes:
Instruction acquisition module is tested, for obtaining the regression test instruction for carrying software identification;
Location information extraction module, for extracting the corresponding source program location revision letter of software identification in the regression test instruction
Breath;
Program segment identification determining module, for determining the corresponding program segment identification of the source program location revision information;
Test case searching module, for searching the corresponding test case of described program segment identification;
Regression test module, for carrying out regression test according to the test case found.
7. device according to claim 6, which is characterized in that described device further includes:
Amendment advice receiving module, for receiving the source program amendment advice of terminal;
Program segment acquisition module, for obtaining the program segment changed in terminal according to the source program amendment advice;
Program segment update module, for updating corresponding original program section in source program according to the program segment of the modification.
8. device according to claim 6, which is characterized in that the location information extraction module includes:
Source program extraction module, for extracting the corresponding source program to be tested of the software identification and original source program;
Comparison result obtains module, for the source program to be tested and the original source program to be carried out differentiation comparison, obtains
Obtain comparison result;
Location revision determining module, for determining source program location revision information according to the comparison result.
9. device according to claim 8, which is characterized in that described program segment identification determining module includes:
Range information acquisition module, for obtaining the corresponding position range letter of each program segment identification in the source program to be tested
Breath;
Information comparison module, for the source program location revision information to be compared with the position range information obtained, really
Position range information belonging to the fixed source program location revision information;
Marker extraction module, for extracting the corresponding program segment identification of the determining position range information.
10. according to claim 6-9 any one of them devices, which is characterized in that described device specifically further includes:
Test log generation module for recording code execution information of the source program in the regression test, and generates
Test log;
Geochemical anomalies studying module, for the extraction test exception information from the test log;
Exception reporting generation module, for according to the test exception information generation test exception reporting extracted.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710189048.5A CN108255699A (en) | 2017-03-27 | 2017-03-27 | regression testing method and device |
PCT/CN2018/080184 WO2018177205A1 (en) | 2017-03-27 | 2018-03-23 | Regression testing method, device, computer apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710189048.5A CN108255699A (en) | 2017-03-27 | 2017-03-27 | regression testing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108255699A true CN108255699A (en) | 2018-07-06 |
Family
ID=62721826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710189048.5A Pending CN108255699A (en) | 2017-03-27 | 2017-03-27 | regression testing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108255699A (en) |
WO (1) | WO2018177205A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388568A (en) * | 2018-09-29 | 2019-02-26 | 百度在线网络技术(北京)有限公司 | Code test method and device |
CN110489321A (en) * | 2019-07-08 | 2019-11-22 | 平安科技(深圳)有限公司 | Test case screening technique, device, computer equipment and storage medium |
CN110515843A (en) * | 2019-08-13 | 2019-11-29 | 成都飞机工业(集团)有限责任公司 | Test case prioritization method based on defect set and inverted index |
CN111078550A (en) * | 2019-12-09 | 2020-04-28 | 深圳市网心科技有限公司 | Software testing method and device, computer device and storage medium |
CN112749080A (en) * | 2019-10-31 | 2021-05-04 | 北京国双科技有限公司 | Target program testing method and device, storage medium and electronic equipment |
US11429597B2 (en) | 2020-01-23 | 2022-08-30 | Cognizant Technology Solutions India Pvt. Ltd. | System and method for reconstructing regression test scenarios using post-production events |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092748A (en) * | 2011-11-07 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Method and system of test cases surely needing to perform regression testing |
CN103617122A (en) * | 2013-12-12 | 2014-03-05 | 用友软件股份有限公司 | Comparison method for source codes |
CN103678097A (en) * | 2012-09-05 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for selecting regression test case |
CN104252408A (en) * | 2013-06-26 | 2014-12-31 | 国际商业机器公司 | Method and device for providing test case |
CN105302710A (en) * | 2014-07-03 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Method and apparatus for determining test case in need of regression testing |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9720813B2 (en) * | 2015-08-13 | 2017-08-01 | Ca, Inc. | Method and apparatus for recommending regression tests |
-
2017
- 2017-03-27 CN CN201710189048.5A patent/CN108255699A/en active Pending
-
2018
- 2018-03-23 WO PCT/CN2018/080184 patent/WO2018177205A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092748A (en) * | 2011-11-07 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Method and system of test cases surely needing to perform regression testing |
CN103678097A (en) * | 2012-09-05 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for selecting regression test case |
CN104252408A (en) * | 2013-06-26 | 2014-12-31 | 国际商业机器公司 | Method and device for providing test case |
CN103617122A (en) * | 2013-12-12 | 2014-03-05 | 用友软件股份有限公司 | Comparison method for source codes |
CN105302710A (en) * | 2014-07-03 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Method and apparatus for determining test case in need of regression testing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388568A (en) * | 2018-09-29 | 2019-02-26 | 百度在线网络技术(北京)有限公司 | Code test method and device |
CN109388568B (en) * | 2018-09-29 | 2020-05-15 | 百度在线网络技术(北京)有限公司 | Code testing method and device |
CN110489321A (en) * | 2019-07-08 | 2019-11-22 | 平安科技(深圳)有限公司 | Test case screening technique, device, computer equipment and storage medium |
CN110515843A (en) * | 2019-08-13 | 2019-11-29 | 成都飞机工业(集团)有限责任公司 | Test case prioritization method based on defect set and inverted index |
CN112749080A (en) * | 2019-10-31 | 2021-05-04 | 北京国双科技有限公司 | Target program testing method and device, storage medium and electronic equipment |
CN111078550A (en) * | 2019-12-09 | 2020-04-28 | 深圳市网心科技有限公司 | Software testing method and device, computer device and storage medium |
US11429597B2 (en) | 2020-01-23 | 2022-08-30 | Cognizant Technology Solutions India Pvt. Ltd. | System and method for reconstructing regression test scenarios using post-production events |
Also Published As
Publication number | Publication date |
---|---|
WO2018177205A1 (en) | 2018-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255699A (en) | regression testing method and device | |
CN108959059B (en) | Test method and test platform | |
CN112506807B (en) | Automatic test system for interface serving multiple systems | |
CN107800757B (en) | User behavior recording method and device | |
CN107844409A (en) | Test example executing method and device | |
CN110321284B (en) | Test data entry method, device, computer equipment and storage medium | |
CN106294134A (en) | The collapse localization method of code and device | |
CN106326120B (en) | Regression testing method and device for application software and electronic equipment | |
CN111258614B (en) | Method, system, equipment and storage medium for detecting upgrade exception of project third-party library | |
CN110083581A (en) | A kind of method, apparatus, storage medium and the computer equipment of log retrospect | |
CN111026647B (en) | Method and device for acquiring code coverage rate, computer equipment and storage medium | |
CN101882135A (en) | Data processing method and device | |
CN108399125A (en) | Automated testing method, device, computer equipment and storage medium | |
CN111831574A (en) | Regression test planning method, device, computer system and medium | |
CN108255700A (en) | Test result generation method and device | |
CN110362478A (en) | Application upgrade test method, device, computer equipment and storage medium | |
CN114691506A (en) | Pressure testing method, apparatus, device, medium, and program product | |
CN117009230B (en) | Accurate test method and system based on code coverage rate evaluation | |
CN110177006B (en) | Node testing method and device based on interface prediction model | |
CN103593273B (en) | Method, device and system for testing circuit board card | |
CN106933735A (en) | Test case update method and device | |
CN107844485B (en) | Test script file updating method and device | |
CN106528658B (en) | The lookup method and device of application file | |
CN112765041B (en) | Game automation testing method and device and electronic equipment | |
CN105893241A (en) | Updating method and device for test data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180706 |