CN110008108A - Return range determining method, device, equipment and computer readable storage medium - Google Patents

Return range determining method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110008108A
CN110008108A CN201811341793.8A CN201811341793A CN110008108A CN 110008108 A CN110008108 A CN 110008108A CN 201811341793 A CN201811341793 A CN 201811341793A CN 110008108 A CN110008108 A CN 110008108A
Authority
CN
China
Prior art keywords
information
code
old
business
fresh
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811341793.8A
Other languages
Chinese (zh)
Other versions
CN110008108B (en
Inventor
陈诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811341793.8A priority Critical patent/CN110008108B/en
Publication of CN110008108A publication Critical patent/CN110008108A/en
Application granted granted Critical
Publication of CN110008108B publication Critical patent/CN110008108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present disclosure, which provides, returns range determining method, device, equipment and computer readable storage medium.It returns range determining method to include: the old code of deployment to server and carry out operational trials, and records and the old code dependent first information;Deployment fresh code to the server and carries out operational trials, and records the second information relevant to the fresh code;The first information is compared with second information;Based on the first information and the inconsistent comparison result of second information, business relevant to second information is searched for as recurrence range, critical data can be just collected before code revision, influence point can be analyzed after code revision immediately according to new critical data, quickly, accurately, automatically determine the recurrence range of regression test, and alleviate the burden of tester.

Description

Return range determining method, device, equipment and computer readable storage medium
Technical field
The embodiment of the present disclosure is related to field of computer technology, more particularly to returns range determining method, device, equipment and meter Calculation machine readable storage medium storing program for executing.
Background technique
Regression test refers to have modified old code after, re-start test to confirm whether modification introduces new mistake or lead Other codes are caused to generate mistake.A component part of the regression test as software life-cycle, in entire software test procedure In occupy very big workload specific gravity, each stage of software development can all carry out multiple regression test.It changes progressive with quick For in exploitation, it is more frequent that the continuous publication of new version carries out regression test, and in Extreme Programming method, even more require Regression test several times is all carried out daily.Although regression test is a highly important process in software test, its Cost is expensive.
In the related technology, the scheme for determining the recurrence range of regression test is all by the way of manually determining, there are standards The problems such as really property is not high, time-consuming.Therefore, for how to reduce regression test cost, the research tool of regression test efficiency is improved It is of great significance.
Summary of the invention
In view of this, disclosure first aspect provides a kind of recurrence range determining method, comprising:
Old code is disposed to server and carries out operational trials, and is recorded and the old code dependent first information;
Deployment fresh code to the server and carries out operational trials, and records the second letter relevant to the fresh code Breath;
The first information is compared with second information;
Based on the first information and the inconsistent comparison result of second information, search for related to second information Business as return range.
Disclosure second aspect provides a kind of recurrence ranges determination device, comprising:
First deployment module is configured as disposing old code to server and carries out operational trials, and record with it is described The old code dependent first information;
Second deployment module is configured as deployment fresh code and to the server and carries out operational trials, and record and Relevant second information of the fresh code;
Comparison module is configured as that the first information is compared with second information;
Search module is configured as based on the first information and the inconsistent comparison result of second information, search Business relevant to second information is as recurrence range.
The disclosure third aspect provides a kind of electronic equipment, including memory and processor;Wherein, the memory is used In storing one or more computer instruction, wherein one or more computer instruction is executed by the processor with reality Existing following steps:
Old code is disposed to server and carries out operational trials, and is recorded and the old code dependent first information;
Deployment fresh code to the server and carries out operational trials, and records the second letter relevant to the fresh code Breath;
The first information is compared with second information;
Based on the first information and the inconsistent comparison result of second information, search for related to second information Business as return range.
Disclosure fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer instruction, the meter Method as described in relation to the first aspect is realized in the instruction of calculation machine when being executed by processor.
In disclosure embodiment, by disposing old code to server and carrying out operational trials, and record and institute State the old code dependent first information;Deployment fresh code to the server and carry out operational trials, and record with it is described newly Code dependent second information;The first information is compared with second information;Based on the first information and institute The inconsistent comparison result of the second information is stated, business relevant to second information is searched for and is used as recurrence range, it can be in generation Critical data is just collected before code modification, can analyze influence point immediately according to new critical data after code revision, fastly Speed, it is accurate, automatically determine the recurrence range of regression test, and alleviate the burden of tester.
These aspects or other aspects of the disclosure can more straightforwards in the following description.
Detailed description of the invention
Technical solution in order to illustrate more clearly of the embodiment of the present disclosure or in the related technology, below will be to exemplary implementation Attached drawing needed in example or description of Related Art is briefly described, it should be apparent that, the accompanying drawings in the following description It is some exemplary embodiments of the disclosure, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the flow chart of the recurrence range determining method according to one embodiment of the disclosure;
Fig. 2 shows exemplary according to one for returning the step S104 in range determining method of one embodiment of the disclosure Flow chart;
Fig. 3 shows the structural block diagram of the recurrence ranges determination device according to another embodiment of the disclosure;
Fig. 4 shows the structural block diagram of the electronic equipment according to one embodiment of the disclosure;
Fig. 5 is adapted for the computer system for realizing the recurrence range determining method according to one embodiment of the disclosure Structural schematic diagram.
Specific embodiment
In order to make those skilled in the art more fully understand disclosure scheme, below in conjunction with the exemplary implementation of the disclosure Attached drawing in example, is clearly and completely described the technical solution in disclosure exemplary embodiment.
In some processes of the description in the specification and claims of the disclosure and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Below in conjunction with the attached drawing in disclosure exemplary embodiment, to the technical solution in disclosure exemplary embodiment It being clearly and completely described, it is clear that described exemplary embodiment is only disclosure a part of the embodiment, rather than Whole embodiments.Based on the embodiment in the disclosure, those skilled in the art institute without creative efforts The every other embodiment obtained belongs to the range of disclosure protection..
Fig. 1 shows the flow chart of the recurrence range determining method according to one embodiment of the disclosure.This method may include Step S101, S102, S103 and S104.
In step s101, dispose old code to server and carry out operational trials, and record with it is old code dependent The first information.
In step s 102, deployment fresh code to server and carries out operational trials, and records relevant to fresh code Second information.
In step s 103, the first information is compared with the second information.
In step S104, based on the inconsistent comparison result of the first information and the second information, search and the second information phase The business of pass is as recurrence range.
In one embodiment of the present disclosure, the first information is the verification information for being verified to old code, and Second information is the verification information for being verified to fresh code.That is, the verification information of old code or the verifying letter of fresh code Breath can be used for the information verified to code itself.Therefore, the verification information of same code should be identical.? In embodiment of the disclosure, if the verification information of old code and the verification information of fresh code are inconsistent, need to fresh code Carry out regression test.In this case, it is possible to be searched for according to the verification information of fresh code relevant to the verification information of fresh code Business is as recurrence range.The mode of range of returning is determined different from artificial in the related technology, and embodiment of the present disclosure can be with Recurrence range is determined according to relevant second information of the and function of fresh code.
In one embodiment of the present disclosure, the first information include the unique identification of test case, test case description, And the unique name of the corresponding application of the unique name and old code of the corresponding business of test case corresponding with old code is answered The IP address of machine and acquisition time with old code dependent data.These information can be used to generate old generation The verification information of code, or directly constitute a part of the verification information of old code.These information may also be included in that old generation In the first code row information and the first key point parameter information of code.Moreover, these information may be used to determine whether old code Return range.
In one embodiment of the present disclosure, the second information include the unique identification of test case, test case description, And the unique name of the corresponding application of the unique name and fresh code of the corresponding business of test case corresponding with fresh code is answered The acquisition time of the IP address of machine and data relevant to fresh code.These information can be used to generate new generation The verification information of code, or directly constitute a part of the verification information of fresh code.These information may also be included in that new generation In the second code row information and the second key point parameter information of code.Moreover, these information may be used to determine whether fresh code Return range.
From the above content, it can be seen that there are corresponding relationships between the first information and the second information.However, it will be understood that the It may not necessarily be completely corresponding between one information and the second information, that is, certain contents in the first information are not deposited in the second information Corresponding part is not present in certain contents in corresponding part or the second information in the first information.
In one embodiment of the present disclosure, the verification information of old code includes the variation record letter of the class file of old code Breath, and the verification information of fresh code includes the variation record information of the class file of fresh code, wherein step S104, comprising: base The inconsistent comparison result of information is recorded in the variation of the class file of the variation record information and fresh code of the class file of old code, Search is by the business of the class file of fresh code as recurrence range.
In one embodiment of the present disclosure, the variation record information list of class file shows that record has the variation of this class file Information.When the variation record information of the variation record information of the class file of old code and the class file of fresh code is inconsistent, search Rope is by the business of the class file of this fresh code as recurrence range.
In one embodiment of the present disclosure, the variation record information of the class file of old code includes the class file of old code Encrypted identification information, and the class file of fresh code variation record information include fresh code class file encryption identification letter Breath.In one embodiment of the present disclosure, class file is the file obtained later to source file compiling, can be by machine recognition.
In one embodiment of the present disclosure, the encrypted identification information of the class file of old code includes the class file of old code MD5 information, and the encrypted identification information of the class file of fresh code includes the MD5 information of the class file of fresh code.MD5 message Digest algorithm (MD5Message-Digest Algorithm) is a kind of Cryptographic Hash Function being widely used, and be can produce The hashed value (hash value) of one 128 (16 byte) out, for ensuring that information transmission is complete consistent.The allusion quotation of MD5 algorithm Type application is to generate informative abstract to one section of text information, to prevent from being tampered.Class file and fresh code to old code Class file does MD5 verification, can determine whether the two is same file.
It will be understood by those skilled in the art that as needed, the encryption identification letter of class file can be generated in various ways Breath, and it is not limited to MD5 information.
In one embodiment of the present disclosure, the first information includes the first code row information and the first key point of old code Parameter information, wherein first code row information includes the signature unique and function parameter type of each function in old code, and And first key point parameter information include old code in whole parameters parameter name and parameter value;Second information includes fresh code Second code row information and the second key point parameter information, wherein second code row information include fresh code in each letter Several signature uniques and function parameter type, and the second key point parameter information includes the parameter of whole parameters in fresh code Name and parameter value.
In one embodiment of the present disclosure, step S104 includes: the ratio inconsistent based on the first information and the second information Pair as a result, search by the business of each function and function parameter in fresh code as returning range.
In the above embodiment of the present disclosure, the verification information of code can be and carrying out specific calculation to code itself It obtains, and the code row information of code and key point parameter information are as obtained from analyzing code.It is either right The verification information of old code is compared with the verification information of fresh code, or to the first code row information of old code and first Key point parameter information is compared with the second code row information of fresh code and the second key point parameter information, is provided to really Fixed old code and fresh code whether there is difference, so using by the business of difference as recurrence range.In order to guarantee back Return range to cover whole differences, whole business relevant to the second information can be used as and return range.
In one embodiment of the present disclosure, whole business relevant to the second information, the model of regression test be may search for It encloses including and the relevant test case (for example, automation use-case) of these business and business corresponding with test case.This field Technical staff is appreciated that in some cases the range of business corresponding with test case is likely larger than and the second information phase Whole business of pass.In this manner it is possible to than the recurrence range for more comprehensively determining fresh code (or being regression test range).
In one embodiment of the present disclosure, returning range includes the test case needed to be implemented relevant to the second information With business corresponding with test case.In one embodiment of the present disclosure, it can be determined based on the first information and pass through old code In function whole business and to by the relevant test case needed to be implemented of whole business of function in old code With business corresponding with test case, that is, the recurrence range of old code.On this basis, the recurrence in old code can be determined The recurrence range of the fresh code obtained on scope.It is appreciated that the recurrence range of fresh code can be greater than returning for old code Return range, more perfect regression test can be carried out in this way.
In disclosure embodiment, by disposing old code to server and carrying out operational trials, and record with it is old The code dependent first information;Deployment fresh code to server and carries out operational trials, and record relevant to fresh code the Two information;The first information is compared with the second information;Based on the inconsistent comparison result of the first information and the second information, search Rope business relevant to the second information can just collect critical data, code revision as range is returned before code revision Influence point can be analyzed immediately according to new critical data later, recurrence model that is quick, accurate, automatically determining regression test It encloses, and alleviates the burden of tester.
Fig. 2 shows exemplary according to one for returning the step S104 in range determining method of one embodiment of the disclosure Flow chart.As shown in Fig. 2, step S104 includes step S201, step S202 and step S203.
In step s 201, the comparison result inconsistent based on the first information and the second information, the second information storage is arrived Change list.
In step S202, the second information in change list is obtained.
In step S203, business relevant to the second information is searched for as recurrence range.
In one embodiment of the present disclosure, for fresh code, concern is characterized by the variation in code, for example, letter Several and function parameter information variation, for this reacting condition in the second information of fresh code, the second information is to determine back Return the basis of range.Therefore, it when the first information and inconsistent the second information, needs to deposit the second information relevant to fresh code Store up change list.Whenever it needs to be determined that fresh code recurrence range when, directly can obtain fresh code into change list Second information, also, business relevant to the second information is searched for as recurrence range.
Therefore, it needs to be determined that fresh code recurrence range when, can be according to new critical data after code revision Analyze influence point immediately, quickly, it is accurate, automatically determine the recurrence range of regression test, and alleviate tester's Burden.
Fig. 3 shows the structural block diagram of the recurrence ranges determination device according to one embodiment of the disclosure.The device can wrap Include the first deployment module 301, the second deployment module 302, comparison module 303 and search module 304.
First deployment module 301 is configured as disposing old code to server and carries out operational trials, and record with it is old The code dependent first information.
Second deployment module 302 is configured as deployment fresh code and to server and carries out operational trials, and record with newly Code dependent second information.
Comparison module 303 is configured as that the first information is compared with the second information.
Search module 304 is configured as the comparison result inconsistent based on the first information and the second information, search and second The relevant business of information is as recurrence range.
The foregoing describe the built-in functions and structure that return ranges determination device, in a possible design, the recurrence The structure of ranges determination device can realize that as shown in Figure 4, which may include to return range and determine equipment Processor 401 and memory 402.
The memory 402 returns range for storing to support to return in any of the above-described embodiment of ranges determination device execution Determine the program of method, the processor 401 is configurable for executing the program stored in the memory 402.
The memory 402 is for storing one or more computer instruction, wherein one or more computer refers to It enables and being executed by the processor 401 to perform the steps of
Old code is disposed to server and carries out operational trials, and is recorded and the old code dependent first information;
Deployment fresh code to the server and carries out operational trials, and records the second letter relevant to the fresh code Breath;
The first information is compared with second information;
Based on the first information and the inconsistent comparison result of second information, search for related to second information Business as return range.
In one embodiment of the present disclosure, the first information is the verification information of the old code, and described the Two information are the verification information of the fresh code.
In one embodiment of the present disclosure, the verification information of the old code includes the change of the class file of the old code Change record information, and the verification information of the fresh code includes the variation record information of the class file of the fresh code, wherein It is described based on the first information and the inconsistent comparison result of second information, search for industry relevant to second information Business is as recurrence range, comprising:
The variation of the class file of the variation record information and fresh code of class file based on the old code, which records, to be believed Inconsistent comparison result is ceased, search is by the business of the class file of the fresh code as recurrence range.
In one embodiment of the present disclosure, the first information includes the first code row information and of the old code One key point parameter information, wherein the first code row information includes the signature unique of each function in the old code With function parameter type, and the first key point parameter information include the old code in whole parameters parameter name and Parameter value;Second information includes the second code row information and the second key point parameter information of the fresh code, wherein institute State the signature unique and function parameter type that second code row information includes each function in the fresh code, and described the Two key point parameter informations include the parameter name and parameter value of whole parameters in the fresh code.
In one embodiment of the present disclosure, described based on the first information and the inconsistent comparison of second information As a result, search business relevant to second information is as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, search is by the fresh code The business of each function and function parameter is as recurrence range.
In one embodiment of the present disclosure, the recurrence range includes needs to be implemented relevant to second information Test case and business corresponding with the test case.
In one embodiment of the present disclosure, the first information includes the unique identification of test case, test case The unique name of description and the corresponding business of test case, application corresponding with the old code unique name, with it is described old The IP address of the machine of the corresponding application of code and acquisition time with the old code dependent data;Second letter Breath include the description of unique identification, test case of test case, business corresponding with test case unique name, with it is described The unique name of the corresponding application of fresh code, application corresponding with the fresh code machine IP address and with it is described new The acquisition time of code dependent data.
In one embodiment of the present disclosure, described based on the first information and the inconsistent comparison of second information As a result, search business relevant to second information is as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, by second information storage to changing Dynamic list;
Obtain the second information in the change list;
Business relevant to second information is searched for as recurrence range.
The processor 401 is used to execute all or part of the steps in aforementioned approaches method step.
Wherein, it can also include communication interface in the structure of equipment that the recurrence range, which determines, determine for returning range Equipment and other equipment or communication.
Disclosure exemplary embodiment additionally provides a kind of computer storage medium, determines for storing the recurrence range Computer software instructions used in device, it includes return involved by range determining method for executing in any of the above-described embodiment Program.
Fig. 5 is adapted for the computer system for realizing the recurrence range determining method according to one embodiment of the disclosure Structural schematic diagram.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute the various processing in above-mentioned embodiment shown in FIG. 1.In RAM503, be also stored with system 500 operate it is required each Kind program and data.CPU501, ROM502 and RAM503 are connected with each other by bus 504.Input/output (I/O) interface 505 It is also connected to bus 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, according to embodiment of the present disclosure, it is soft to may be implemented as computer above with reference to Fig. 1 method described Part program.For example, embodiment of the present disclosure includes a kind of computer program product comprising be tangibly embodied in and its readable Computer program on medium, the computer program include the program code for executing the data processing method of Fig. 1.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 509, and/or from can Medium 511 is dismantled to be mounted.
Flow chart and block diagram in attached drawing illustrate system, method and computer according to the various embodiments of the disclosure The architecture, function and operation in the cards of program product.In this regard, each box in course diagram or block diagram can be with A part of a module, section or code is represented, a part of the module, section or code includes one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong The dedicated hardware based system of defined functions or operations is executed to realize, and/or specialized hardware and meter can be used The combination of calculation machine instruction is realized.
Being described in unit or module involved in disclosure embodiment can be realized by way of software, can also It is realized in a manner of through hardware.Described unit or module also can be set in the processor, these units or module Title do not constitute the restriction to the unit or module itself under certain conditions.
As on the other hand, the disclosure additionally provides a kind of computer readable storage medium, the computer-readable storage medium Matter can be computer readable storage medium included in device described in above embodiment;It is also possible to individualism, Without the computer readable storage medium in supplying equipment.Computer-readable recording medium storage has one or more than one journey Sequence, described program is used to execute by one or more than one processor is described in disclosed method.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.
Storage media be stored with one perhaps more than one program described program used by one or more than one processor Disclosed method is described in execute.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (18)

1. a kind of recurrence range determining method characterized by comprising
Old code is disposed to server and carries out operational trials, and is recorded and the old code dependent first information;
Deployment fresh code to the server and carries out operational trials, and records the second information relevant to the fresh code;
The first information is compared with second information;
Based on the first information and the inconsistent comparison result of second information, industry relevant to second information is searched for Business is as recurrence range.
2. the method according to claim 1, wherein the first information is for testing the old code The verification information of card, and second information is the verification information verified for the fresh code.
3. according to the method described in claim 2, it is characterized in that, the verification information of the old code includes the old code The variation of class file records information, and the verification information of the fresh code includes the variation record of the class file of the fresh code Information, wherein described based on the first information and the inconsistent comparison result of second information, search is believed with described second Relevant business is ceased as recurrence range, comprising:
The variation record information of the class file of the variation record information and fresh code of class file based on the old code is not Consistent comparison result, search is by the business of the class file of the fresh code as recurrence range.
4. the method according to claim 1, wherein the first information includes the first code of the old code Row information and the first key point parameter information, wherein the first code row information includes each function in the old code Signature unique and function parameter type, and the first key point parameter information include the old code in whole parameters Parameter name and parameter value;Second information includes the second code row information and the second key point parameter letter of the fresh code Breath, wherein the second code row information includes the signature unique and function parameter type of each function in the fresh code, And the second key point parameter information includes the parameter name and parameter value of whole parameters in the fresh code.
5. according to the method described in claim 4, it is characterized in that, described be based on the first information and second information not Consistent comparison result searches for business relevant to second information as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, search is by each in the fresh code The business of function and function parameter is as recurrence range.
6. the method according to claim 1, wherein the recurrence range includes relevant to second information The test case and business corresponding with the test case needed to be implemented.
7. the method according to claim 1, wherein the first information include test case unique identification, The unique name of the description of test case and the corresponding business of test case, application corresponding with the old code unique name Claim, the IP address of the machine of application corresponding with the old code and the acquisition time with the old code dependent data; Second information include the unique identification of test case, the description of test case, business corresponding with test case it is unique Title and the unique name of the corresponding application of the fresh code, application corresponding with the fresh code machine IP address, with And the acquisition time of data relevant to the fresh code.
8. the method according to claim 1, wherein described be based on the first information and second information not Consistent comparison result searches for business relevant to second information as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, second information storage is arranged to change Table;
Obtain the second information in the change list;
Business relevant to second information is searched for as recurrence range.
9. a kind of recurrence ranges determination device characterized by comprising
First deployment module is configured as disposing old code to server and carries out operational trials, and records and the old generation The relevant first information of code;
Second deployment module is configured as deployment fresh code and to the server and carries out operational trials, and record with it is described Relevant second information of fresh code;
Comparison module is configured as that the first information is compared with second information;
Search module is configured as based on the first information and the inconsistent comparison result of second information, search and institute The relevant business of the second information is stated as recurrence range.
10. a kind of electronic equipment, which is characterized in that including memory and processor;Wherein, the memory is for storing one Or a plurality of computer instruction, wherein one or more computer instruction is executed by the processor to perform the steps of
Old code is disposed to server and carries out operational trials, and is recorded and the old code dependent first information;
Deployment fresh code to the server and carries out operational trials, and records the second information relevant to the fresh code;
The first information is compared with second information;
Based on the first information and the inconsistent comparison result of second information, industry relevant to second information is searched for Business is as recurrence range.
11. electronic equipment according to claim 10, which is characterized in that the first information is for the old code The verification information verified, and second information is the verification information for being verified to the fresh code.
12. electronic equipment according to claim 11, which is characterized in that the verification information of the old code includes described old The variation of the class file of code records information, and the verification information of the fresh code includes the change of the class file of the fresh code Change record information, wherein it is described based on the first information and the inconsistent comparison result of second information, search for it is described The relevant business of second information is as recurrence range, comprising:
The variation record information of the class file of the variation record information and fresh code of class file based on the old code is not Consistent comparison result, search is by the business of the class file of the fresh code as recurrence range.
13. electronic equipment according to claim 10, which is characterized in that the first information includes the of the old code One code row information and the first key point parameter information, wherein the first code row information includes every in the old code The signature unique and function parameter type of one function, and the first key point parameter information includes complete in the old code The parameter name and parameter value of portion's parameter;Second information includes the second code row information and the second key point of the fresh code Parameter information, wherein the second code row information includes the signature unique and function ginseng of each function in the fresh code Several classes of types, and the second key point parameter information includes the parameter name and parameter value of whole parameters in the fresh code.
14. electronic equipment according to claim 13, which is characterized in that described to be based on the first information and described second The inconsistent comparison result of information searches for business relevant to second information as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, search is by each in the fresh code The business of function and function parameter is as recurrence range.
15. electronic equipment according to claim 10, which is characterized in that the recurrence range includes and second information The relevant test case needed to be implemented and business corresponding with the test case.
16. electronic equipment according to claim 10, which is characterized in that the first information includes the unique of test case Mark, the unique name of the description of test case and the corresponding business of test case, application corresponding with the old code are only One title, application corresponding with the old code machine IP address and collection with the old code dependent data Time;Second information includes the unique identification of test case, the description of test case, business corresponding with test case Unique name and the unique name of the corresponding application of the fresh code, application corresponding with the fresh code machine IP The acquisition time of location and data relevant to the fresh code.
17. electronic equipment according to claim 10, which is characterized in that described to be based on the first information and described second The inconsistent comparison result of information searches for business relevant to second information as recurrence range, comprising:
Based on the first information and the inconsistent comparison result of second information, second information storage is arranged to change Table;
Obtain the second information in the change list;
Business relevant to second information is searched for as recurrence range.
18. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction quilt Processor realizes the method according to claim 1 when executing.
CN201811341793.8A 2018-11-12 2018-11-12 Regression range determining method, device, equipment and computer readable storage medium Active CN110008108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341793.8A CN110008108B (en) 2018-11-12 2018-11-12 Regression range determining method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341793.8A CN110008108B (en) 2018-11-12 2018-11-12 Regression range determining method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110008108A true CN110008108A (en) 2019-07-12
CN110008108B CN110008108B (en) 2022-10-18

Family

ID=67164897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341793.8A Active CN110008108B (en) 2018-11-12 2018-11-12 Regression range determining method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110008108B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799955A (en) * 2021-02-08 2021-05-14 腾讯科技(深圳)有限公司 Model change detection method and device, storage medium and electronic equipment
CN113297059A (en) * 2020-05-10 2021-08-24 阿里巴巴集团控股有限公司 Test case generation method, and test method and device for tested software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110549A1 (en) * 2010-10-29 2012-05-03 International Business Machines Corporation Code Breakage Detection Using Source Code History Background
CN103186463A (en) * 2011-12-30 2013-07-03 阿里巴巴集团控股有限公司 Method and system for determining testing range of software
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN105302710A (en) * 2014-07-03 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for determining test case in need of regression testing
CN106155893A (en) * 2015-04-03 2016-11-23 腾讯科技(深圳)有限公司 Judge method and the program test equipment of Application testing coverage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110549A1 (en) * 2010-10-29 2012-05-03 International Business Machines Corporation Code Breakage Detection Using Source Code History Background
CN103186463A (en) * 2011-12-30 2013-07-03 阿里巴巴集团控股有限公司 Method and system for determining testing range of software
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN105302710A (en) * 2014-07-03 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for determining test case in need of regression testing
CN106155893A (en) * 2015-04-03 2016-11-23 腾讯科技(深圳)有限公司 Judge method and the program test equipment of Application testing coverage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余久久 等: "软件测试改进模型研究进展", 《计算机应用与软件》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297059A (en) * 2020-05-10 2021-08-24 阿里巴巴集团控股有限公司 Test case generation method, and test method and device for tested software
CN112799955A (en) * 2021-02-08 2021-05-14 腾讯科技(深圳)有限公司 Model change detection method and device, storage medium and electronic equipment
CN112799955B (en) * 2021-02-08 2023-09-26 腾讯科技(深圳)有限公司 Method and device for detecting model change, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110008108B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US11163731B1 (en) Autobuild log anomaly detection methods and systems
Kikas et al. Structure and evolution of package dependency networks
EP2808790B1 (en) Migration assessment for cloud computing platforms
US10540383B2 (en) Automatic ontology generation
US8484617B2 (en) Process-driven feedback of digital asset re-use
CN112100219A (en) Report generation method, device, equipment and medium based on database query processing
CN106201861A (en) The detection method of a kind of code quality and device
CN110674360B (en) Tracing method and system for data
US8775392B1 (en) Revision control and configuration management
CN113326247B (en) Cloud data migration method and device and electronic equipment
CN108958959A (en) The method and apparatus for detecting hive tables of data
CN114297283B (en) Metadata-driven data security management method and system
KR20100002259A (en) A method and system for populating a software catalogue with related product information
CN106649602A (en) Way, device and server of processing business object data
Dashevskyi et al. On the security cost of using a free and open source component in a proprietary product
CN105701405B (en) The system and method that anti-virus inspection is carried out to the machine image of software program collection
CN110008108A (en) Return range determining method, device, equipment and computer readable storage medium
Weber et al. How FAIR can you get? Image retrieval as a use case to calculate FAIR metrics
CN117194382A (en) Middle-stage data processing method and device, electronic equipment and storage medium
US10726178B1 (en) Functional logic cone signature generation for circuit analysis
CN111221690A (en) Model determination method and device for integrated circuit design and terminal
CN113434397B (en) Task system testing method and device, electronic equipment and storage medium
CN109033196A (en) A kind of distributed data scheduling system and method
US20150006578A1 (en) Dynamic search system
US11386170B2 (en) Search data curation and enrichment for deployed technology

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
TA01 Transfer of patent application right

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240229

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right