CN105468503B - A kind of method for testing software and its equipment - Google Patents

A kind of method for testing software and its equipment Download PDF

Info

Publication number
CN105468503B
CN105468503B CN201410382470.9A CN201410382470A CN105468503B CN 105468503 B CN105468503 B CN 105468503B CN 201410382470 A CN201410382470 A CN 201410382470A CN 105468503 B CN105468503 B CN 105468503B
Authority
CN
China
Prior art keywords
test
measured
scene
brake
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410382470.9A
Other languages
Chinese (zh)
Other versions
CN105468503A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410382470.9A priority Critical patent/CN105468503B/en
Publication of CN105468503A publication Critical patent/CN105468503A/en
Application granted granted Critical
Publication of CN105468503B publication Critical patent/CN105468503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present invention discloses a kind of method for testing software and its equipment, wherein method include the following steps: when in software under testing when brake is tested, the test assignment information to brake is obtained according to the defective data information and historical testing information of the software under testing, and the test assignment information includes the cooperation miscellaneous function tested to brake, described to method to be measured collection used by brake and the method to be measured concentrates each method testing scene number to be measured;Scene to be measured described in obtaining according to designed by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured to brake;It is tested to brake using the scene to be measured to brake described.Test effect can be promoted, guarantees the use quality of software.

Description

A kind of method for testing software and its equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of method for testing software and its equipment.
Background technique
As computer technology is constantly developed and perfect, the terminal devices such as mobile phone and tablet computer have become people An indispensable part, the software application that people not only can use in these terminal devices communicate in life, also Can carry out file transmission, camera shooting, play game etc..
During being directed to the software application development of terminal device, tester needs the various functions for the software It is tested, however in existing test process, tester often lacks the sense of direction of test, i.e., not knowing should emphasis Which function is tested, and how to be tested, causes test effect bad, and then affects the use quality of software.
Summary of the invention
The embodiment of the present invention provides a kind of method for testing software and its equipment, can promote test effect, guarantee software Use quality.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention provides a kind of method for testing software, can wrap It includes:
When in software under testing when brake is tested, according to the defective data information of the software under testing and going through History tests the test assignment information described in acquisition of information to brake, and the test assignment information includes that cooperation is described to brake The miscellaneous function tested, it is described to method to be measured collection used by brake and the method to be measured concentrate it is each to be measured Method testing scene number;
It obtains according to set by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured The scene to be measured to brake of meter;
It is tested to brake using the scene to be measured to brake described.
Second aspect of the embodiment of the present invention provides a kind of software test apparatus, it may include:
Data obtaining module, for when in software under testing when brake is tested, according to the software under testing Defective data information and historical testing information obtain the test assignment information to brake, the test assignment packet Include the cooperation miscellaneous function tested to brake, it is described to method to be measured collection used by brake and it is described to Survey method concentrates each method testing scene number to be measured;
Scene obtains module, for obtaining according to the miscellaneous function, the method collection to be measured and each side to be measured The scene to be measured to brake designed by the test scene number of method;
Test module, for being tested to brake using the scene to be measured to brake described.
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that the measurement direction for treating brake improves test effect, and then improves software Use quality.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of method for testing software provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another method for testing software provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of software test apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another software test apparatus provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of data obtaining module provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of function setup unit provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of method collection determination unit provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of scene number computing unit provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of design duration acquiring unit provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another software test apparatus provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
What method for testing software provided in an embodiment of the present invention can be applied to test various software under testing applications Scene, such as: when to when brake is tested, software test apparatus is lacked according to the software under testing in software under testing It falls into data information and historical testing information obtains the test assignment information to brake, the test assignment information includes matching It closes the miscellaneous function tested to brake, is described to method to be measured collection used by brake and the side to be measured Method concentrates each method testing scene number to be measured, and the software test apparatus is obtained according to the miscellaneous function, described to be measured The scene to be measured to brake designed by method collection and each method testing scene number to be measured, and described in use Scene to be measured to brake is to the scene etc. tested to brake.By according to software defective data information and Historical testing information obtains the test scope provided for the test assignment information to brake for brake, test Employed in test method and test scene number, it is determined that the measurement direction for treating brake improves test effect, And then improve the use quality of software.
The present embodiments relate to software test apparatus may include: computer, tablet computer, smart phone, notes The terminal devices such as this computer, palm PC and mobile internet device (MID).
Below in conjunction with attached drawing 1 and attached drawing 2, describe in detail to method for testing software provided in an embodiment of the present invention.
Referring to Figure 1, for the embodiment of the invention provides a kind of flow diagrams of method for testing software.As shown in Figure 1, The embodiment of the present invention the described method comprises the following steps S101- step S103.
S101, when in software under testing when brake is tested, according to the defective data of the software under testing believe Breath and historical testing information obtain the test assignment information to brake, the test assignment information include cooperation it is described to Measurement of power can be carried out test miscellaneous function, it is described to method to be measured collection used by brake and the method to be measured concentrate it is each A method testing scene number to be measured;
Specifically, user can be at least one function of the software under testing when testing software under testing Function in need of test is selected, i.e., to brake, software test apparatus can be according to the defective data of the software under testing Information and historical testing information are obtained for the test assignment information to brake.The test assignment information includes cooperation It is the miscellaneous function tested to brake, described to method to be measured collection used by brake and the method to be measured Concentrate each method testing scene number to be measured.
Further, the software test apparatus is calculated according to defective data information at least one function of software under testing The test preferred value of each function, and the selected function of test preferred value according to each function is obtained, by the institute The function of selection is set as the cooperation miscellaneous function tested to brake, and the software test apparatus calculates separately institute The test effect value to test method each in brake is stated, and institute is determined according to the test effect value of each test method State to method to be measured collection used by brake, the software test apparatus according to the historical testing information of the software under testing with And the method to be measured concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured.
S102 is obtained according to the miscellaneous function, the method collection to be measured and each method testing scene to be measured The designed scene to be measured to brake of number;
Specifically, user can be according to the miscellaneous function, the survey of the method collection to be measured and each method to be measured Examination hall scape number to the design for carrying out scene to be measured to brake, the software test apparatus obtain it is described to brake to Survey scene.
S103 is tested to brake using the scene to be measured to brake described;
Specifically, the software test apparatus is surveyed to described to brake using the scene to be measured to brake Examination.
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that the measurement direction for treating brake improves test effect, and then improves software Use quality.
Fig. 2 is referred to, for the embodiment of the invention provides the flow diagrams of another method for testing software.Such as Fig. 2 institute Show, the embodiment of the present invention the described method comprises the following steps S201- step S207.
S201, when in software under testing when brake is tested, according to defective data information calculate software under testing At least one function in each function test preferred value, and obtain according to selected by the test preferred value of each function Function, the selected function is set as the cooperation miscellaneous function tested to brake;
Specifically, user can be at least one function of the software under testing when testing software under testing Select function in need of test, i.e., to brake, software test apparatus can be calculated according to defective data information it is described to The test preferred value of each function at least one function of software is surveyed, the defective data information may include described to be measured soft The generation of each function each first level defect at least one first level defect in preset historical time section in part The time of origin value of each second level defect in time value and at least one second level defect, the first level and described Second level is that the level rule of the software under testing according to set by user carries out the classification of rank, and first level defect indicates The defect has a larger impact to the software under testing, i.e., serious defect, such as: influence the defect etc. of main program operation, the second level Other defect indicates little, i.e., the not serious defect of influence of the defect to the software under testing, such as: interface ghost image etc., certainly, with On the definition of defect is only for example, it is specific to need to be distinguished according to user for each function self-defining of software under testing.Institute Software test apparatus acquisition is stated according to the selected function of test preferred value of each function, by the selected function It is set as the cooperation miscellaneous function tested to brake.
Further, the software test apparatus can calculate the historical time using preset timeliness calculation formula The corresponding timeliness property coefficient of any time value in section, it is to be understood that the historical time section is user's division to each The period that the defect that function occurs is detected, the software test apparatus need to obtain first that each function is found The time value of a defect, the time value of the last one defect and the defect that currently seek in the function timeliness coefficient Time value, the timeliness calculation formula can be with are as follows: [1- (end time value-currently to seek the defect of timeliness coefficient when Between be worth)/(end time value-time started value)] * 100, wherein the time started value be directed in the historical time section The time value of first defect found in any function;The end time value is to be directed to appoint in the historical time section The time value of the last one defect found in one function;The time value of the defect that currently seek timeliness coefficient is It is right in the preset time period for the time value of the defect currently found in any function in the historical time section The timeliness property coefficient for the time value answered.Such as: for the A function in software under testing, it is assumed that first defect found in A function Time value be X month 1, then by the X month 1 conduct the historical time section at the beginning of be worth, user can be with sets itself End time value, such as the X month 5 was regard as time value pair according to one day as the end time value in the historical time section The historical time section is segmented, then is [1- (5-1)/(5-1)] * 100 in the timeliness property coefficient of the defect of the discovery of the X month 1 =0;It is [1- (5-2)/(5-1)] * 100=25 in the timeliness property coefficient of the defect of the discovery of the X month 2;In lacking for the discovery of the X month 3 Sunken timeliness property coefficient is [1- (5-3)/(5-1)] * 100=50;It is [1- in the timeliness property coefficient of the defect of the discovery of the X month 4 (5-4)/(5-1)] * 100=75;It is [1- (5-5)/(5-1)] * 100=100 in the timeliness property coefficient of the defect of the discovery of the X month 5 Deng for the defect then calculating without timeliness property coefficient found beyond historical time section.
The software test apparatus can be according to the time of origin of each first level defect of each function Value and each second level defect time of origin value, obtain the first level defect of any time value quantity and The quantity of second level defect is calculating in the historical time section after the corresponding timeliness property coefficient of any time value, need The quantity of the quantity and second level defect for same time value first level defect is counted, according to the example above, such as: The quantity of the first level defect X month 1 obtained is 3, and the quantity of second level defect is 2, the of the X month 2 The quantity of one rank defect is 2, and the quantity of second level defect is 4 etc..
The software test apparatus is according to the attribute of first level and the attribute of second level, and according to any time It is worth the quantity of the first level defect of corresponding timeliness property coefficient and any time value and the quantity of second level defect, Each function is calculated in the test weighted value of any time value, it is to be understood that the attribute of the first level Attribute with second level is the above-mentioned definition to first level and second level, can be using test weighted calculation formula pair The test weighted value of any time value is calculated, and the test weighted calculation formula can be (first level defect Quantity * weight 1* timeliness property coefficient+second level defect quantity * weight 2* timeliness property coefficient), according to weight 1 and weight 2 What the attribute of the first level and the attribute of second level were defined respectively, in order to protrude the weight of first level defect, Weight 1 needs to be greater than weight 2, and the value of weight 1 and weight 2 can specifically have user's self-defining, described soft if user is undefined Part test equipment can to 2 default settings of weight 1 and weight, due to being calculated for the test weighted value of any time value, Therefore occur in the first level defect of same time value and the timeliness property coefficient of second level defect to be identical, according to above-mentioned Citing, it is assumed that weight 1 is 10, and weight 2 is 1, then is (3*10*0+2*1*0)=0 in the test weighted value on the X month 1, in the X month 2 The test weighted value of day is (2*10*25+4*1*25)=600 etc..
The test of all time values of the software test apparatus by each function in the historical time section adds The sum of weight is set as the test preferred value of each function, according to the example above, for A function, in the test on the 1st of the X month Weighted value is 0, is 600 in the test weighted value on the X month 2, is 900 in the test weighted value on the X month 3, in the test on the 4th of the X month Weighted value is 1300, is 2000 in the test weighted value on the X month 5, then using 0+600+900+1300+2000=4800 as A function The test preferred value of energy.
After the test preferred value of each function is ranked up by the software test apparatus, and acquisition is according to sequence It is described to brake to be set as cooperation by the selected function of test preferred value of each function for the selected function The miscellaneous function tested, according to the example above, it is assumed that the test preferred value of A function is 4800, the B in the software under testing The test preferred value of function is that the test preferred value of 2200, C function is 2500 etc., then to the survey of each function in software under testing Examination preferred value is ranked up, and is preferably ranked up according to the numerical values recited of test preferred value, described so that user selects The selected function of user is set as the cooperation miscellaneous function tested to brake by software test apparatus, is needed It is bright, it to brake or miscellaneous function, i.e., may be identical function to brake and miscellaneous function.
It is understood that be the tested point for test software that user voluntarily selects to brake, and to auxiliary function It can be carried out setting, can determine which function is high-risk function, it, can be with by treating measurement of power in conjunction with miscellaneous function and can be carried out test Achieve the effect that determine the test scope to brake.
S202 calculates separately the test effect value to test method each in brake, and according to each survey The test effect value of method for testing determines described to method to be measured collection used by brake;
Specifically, the software test apparatus is available described to test method detected first each in brake The quantity of rank defect, and the number to test method each in brake second level defect detected is obtained simultaneously Amount, it is to be understood that during obtaining first level defect and second level defect, user can be for brake It is tested to brake using various test described, such as: cancel method, iterative method etc., therefore the software test Equipment obtains the quantity and second level defect for the first level defect that each test method is found in the historical time section Quantity.
The software test apparatus can according to the attribute of the first level and the attribute of the second level, and according to The quantity of each test method first level defect detected and the quantity of second level defect calculate each survey The test effect value of method for testing, it is preferred that the software test apparatus can be using test effect value calculation formula to each survey The test effect value of method for testing is calculated, the test effect value calculation formula are as follows: (the quantity * weight 3 of first level defect The quantity * weight 4 of+second level defect), weight 3 and weight 4 are according to the attribute of the first level and the category of second level Property be defined respectively, in order to protrude the weight of first level defect, weight 3 needs to be greater than weight 4, weight 3 and weight 4 Value can specifically have user's self-defining, if user is undefined, the software test apparatus can be arranged weight 3 and weight 4 Default value.Assuming that for described to brake, using the number for the first level defect that X test method is found in historical time section Amount is 6, and the quantity of second level defect is 5, and weight 3 is 20, and weight 4 is 1, then the test effect value of X test method is (6*20 + 5*1)=125.
The software test apparatus can be ranked up the test effect value of each test method, and obtain basis The test effect of each test method after sequence is worth at least one selected test method, according to described selected At least one test method generates described to method to be measured collection used by brake, it is assumed that the test effect value of X test method Test effect value for 125, Y test method is that the test effect value of 110, Z test method is 130 etc., it is preferred that can be according to The numerical values recited of the test effect value of each test method is ranked up, and so that user selects, and obtains user institute At least one test method of selection, according at least one selected test method generate it is described to used by brake to Survey method collection.
It is understood that can be use by providing the test effect value for each test method to brake Family provides foundation when selecting test method, guarantees the high efficiency of test method during the test.
S203 concentrates each method to be measured according to the historical testing information of the software under testing and the method to be measured Test effect value calculates each method testing scene number to be measured;
Specifically, historical testing information and the to be measured method of the software test apparatus according to the software under testing The each method testing Effect value to be measured concentrated calculates each method testing scene number to be measured, the history test letter Breath includes the execution completeness of history test scene of each history test assignment and described at least one history test assignment The quantity for the history test scene that each history test assignment is completed, each history test assignment be used to indicate to it is described to It surveys at least one in software and waits for that brake carries out history test, it is to be understood that be directed to single history test assignment, can wrap The process tested to brake one or more is included, meanwhile, within a preset period of time (such as in 1 day), it can carry out Multiple history test assignments.
Further, the software test apparatus obtains holding for history test scene in each history test assignment Row completeness is less than at least one first test assignment of preset threshold, and obtains at least one described first history test assignment In the quantity of history test scene completed of each first test assignment, the software test apparatus is to each first test The quantity for the history test scene that task is completed is ranked up, and generates expected test scene according to the quantity queue that sequence obtains Number, it is preferred that be ranked up from big to small according to the numerical values recited of quantity, by obtaining the quantity queue after sorting, obtaining should The quantity of the history test scene on 80% to 50% position of quantity queue, such as: assuming that there is 30 history tests Task then after sequence, obtains the 10th the first test assignment to the 16th the wherein belong to the first test assignment has 20 The quantity of the history test scene of one test assignment, and sum to the numerical value of these quantity, it takes described in the conduct of its average Expected test scene number.Pass through the quantity of the history test scene on the position of selection 80% to 50%, it is ensured that it is expected that surveying The reasonability of examination hall scape number.
The software test apparatus is according to the test of each the method testing Effect value, the method collection to be measured to be measured The summation of Effect value and the expected test scene number calculate each method testing scene number to be measured, it is preferred that can To be calculated using test scene number calculation formula each method testing scene number to be measured, the test scene number is calculated Formula are as follows: (summation of certain method testing Effect value to be measured/method to be measured collection test effect value) * expected test scene number, According to the example above, it is assumed that having chosen X test method, Y test method, Z test method is method to be measured, it is contemplated that test scene number 10 are calculated as, then is that [125/ (125+110+130)] * 10 is approximately equal to 3 for the test scene number of X test method, with such It pushes away.
It is understood that can be separately designed for one or more to brake in single history test assignment Multiple test scenes can not often be tested using all test scenes, therefore, be passed through then due to the limitation of time The history test assignment for not completing all test scenes is chosen, and the quantity for the test scene for taking it to be completed is ranked up, led to Cross the numerical value of the quantity in the middle position after choosing sequence, it is ensured that the reasonability of expected test scene number, while expected survey Examination hall scape number can recommend user and refer to, and user can carry out the adjustment that floats up and down according to expected test scene number, make It obtains expected test scene number and has adjustability, further improve the reasonability of each method testing scene number to be measured.
S204 is obtained described to brake according to the design duration of the history test scene of each history test assignment The design duration of the scene to be measured of affiliated current test assignment;
Specifically, the historical testing information can also include the history test scene of each history test assignment Duration is designed, the test assignment information can also include the setting to the scene to be measured of current test assignment belonging to brake Timing is long, it is to be understood that the definition of the current test assignment may refer to the definition to history test assignment, using working as Preceding and history is only the timing of the generation of distinguishing tests task, that is, the test process that currently treating measurement of power can be carried out, which belongs to, works as A test process in preceding test assignment, and history test assignment is by the test assignment that occurs before current test assignment, Such as current test assignment occurred the X month 10, then history test assignment occurs the X month 9, in the institute that the X month 10 was occurred There is test assignment to be considered current test assignment.The software test apparatus can be according to each history test assignment The design duration of history test scene obtains the design duration to the scene to be measured of current test assignment belonging to brake.
Further, the software test apparatus can setting to the history test scene of each first test assignment Timing length is ranked up, and to the to be measured of current test assignment belonging to brake according to the duration queue generation that sequence obtains The design duration of scene, for example, each current test assignment conducted in the X month 10 scene to be measured design duration, The duration queue design duration generated obtained using sequence.Preferably, it is tested according to the history of each first test assignment The numerical value of the actual design duration of scene is ranked up from big to small, duration queue after getting sequence, when obtaining this The design duration on 80% to 50% position of long queue, seeks the numerical value of the design duration on these positions With take its average as the design duration of the scene to be measured of the current test assignment.It should be noted that design duration Numerical value can after a preset period timeliness, such as: each current test assignment conducted in the X month 10 it is to be measured Actual design duration institute of the design duration of scene according to the history test scene of each first test assignment on the X month 9 It is calculated, and has arrived the design duration of the scene to be measured of each current test assignment conducted in the X month 11 according to the X month The actual design duration of the history test scene of each first test assignment on the 10th is calculated.
S205 is obtained according to the miscellaneous function, the method collection to be measured and each method testing scene to be measured The designed scene to be measured to brake of number;
Specifically, the software test apparatus in the design duration of the scene to be measured of the current test assignment, obtains It is described to be measured according to designed by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured The scene to be measured of function, it is to be understood that multiple measurement of powers for the treatment of may be needed to can be carried out test in single current test assignment, Therefore the summation of the design duration of the scene to be measured in single current test assignment is needed in the current test assignment Scene to be measured design duration in, when be more than the current test assignment scene to be measured design duration, then do not allow to use Family continues to be designed scene to be measured, and forces to be transferred to the stage tested using scene to be measured.
By the design duration of the history test scene according to each first test assignment, generate current test assignment to Survey the design duration of scene, it is ensured that the reasonability of Scenario Design duration to be measured, while according to design duration, it can be to subsequent The process tested using scene to be measured, i.e. implementation procedure are retained the sufficient execution time, and then promote the effect of test.
S206 is tested to brake using the scene to be measured to brake described;
Specifically, the software test apparatus is surveyed to described to brake using the scene to be measured to brake Examination, and above-mentioned steps are repeated, until completing all tests to brake in current test assignment.
S207 obtains the current test assignment after completing the test to the scene to be measured of the current test assignment Test quality information, it is described test quality information include the current test assignment scene to be measured design sufficient degree and institute State the execution completeness of the scene to be measured of current test assignment;
Specifically, the software test apparatus can after completing to the test of the scene to be measured of the current test assignment To obtain the test quality information of the current test assignment, it is to be understood that the design sufficient degree is indicated for current The quantity for the scene to be measured that all each test methods to brake have designed in test assignment be directed to current test assignment In all each test methods to brake test scene number summation ratio;The execution completeness, which indicates to be directed to, to be worked as In preceding test assignment the quantity of all scenes to be measured actually accomplished to brake with for all to be measured in current test assignment The ratio of the quantity for the scene to be measured that each test method of function has designed.Preferably, the test quality information can be with It is all in the actual design durations of all scenes to be measured including the current test assignment, the current test assignment not complete Scene to be measured quantity and completion scene to be measured quantity etc..It is understood that passing through binding test quality information Family can be used and understand test quality in real time, and the later period is continued to treat measurement of power and can be carried out test and provide test index etc..
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that when treating the measurement direction of brake, while the design to Scenario Design has been determined It is long, it ensure that the time that scene executes, improve test effect;For test quality letter available after test assignment test Breath understands that user in real time and tests quality, and continues to treat measurement of power to the later period and can be carried out test and provide test index, Jin Erti The use quality of software is risen.
Below in conjunction with attached drawing 3- attached drawing 9, describe in detail to software test apparatus provided in an embodiment of the present invention.It needs The attached software test apparatus shown in Fig. 9 of attached drawing 3- is noted that, for executing the side of Fig. 1 of the present invention and embodiment illustrated in fig. 2 Method, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to Fig. 1 of the present invention and embodiment shown in Fig. 2.
Fig. 3 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of software test apparatus.As shown in figure 3, The software test apparatus 1 of the embodiment of the present invention may include: data obtaining module 11, scene acquisition module 12 and test mould Block 13.
Data obtaining module 11, for when in software under testing when brake is tested, according to described to be measured soft The defective data information and historical testing information of part obtain the test assignment information to brake, the test assignment information Including cooperating the miscellaneous function tested to brake, described to method to be measured collection used by brake and described Method to be measured concentrates each method testing scene number to be measured;
In the specific implementation, user can be at least one function of the software under testing when testing software under testing Function in need of test is selected in energy, i.e., to brake, the data obtaining module 11 can be according to the software under testing Defective data information and historical testing information obtain the test assignment information for described to brake.The test assignment letter Breath includes the cooperation miscellaneous function tested to brake, described to method to be measured collection used by brake and institute It states method to be measured and concentrates each method testing scene number to be measured.
Further, the data obtaining module 11 calculates at least one function of software under testing according to defective data information In each function test preferred value, and obtain according to the selected function of test preferred value of each function, will be described Selected function is set as the cooperation miscellaneous function tested to brake, and the data obtaining module 11 is counted respectively The test effect value to test method each in brake is calculated, and true according to the test effect value of each test method Fixed described to method to be measured collection used by brake, the data obtaining module 11 is tested according to the history of the software under testing Information and the method to be measured concentrate each method testing Effect value to be measured to calculate each method testing field to be measured Scape number.
Scene obtains module 12, for obtaining according to the miscellaneous function, the method collection to be measured and described each to be measured The scene to be measured to brake designed by method testing scene number;
In the specific implementation, user can be according to the miscellaneous function, the method collection to be measured and each method to be measured Test scene number to the design for carrying out scene to be measured to brake, the scene obtain module 12 obtain it is described to measurement of power The scene to be measured of energy.
Test module 13, for being tested to brake using the scene to be measured to brake described;
In the specific implementation, the test module 13 is carried out to described to brake using the scene to be measured to brake Test.
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that the measurement direction for treating brake improves test effect, and then improves software Use quality.
Fig. 4 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another software test apparatus.Such as Fig. 4 institute Show, the software test apparatus 1 of the embodiment of the present invention may include: data obtaining module 11, scene acquisition module 12, test Module 13 and quality obtain module 14.
Data obtaining module 11, for when in software under testing when brake is tested, according to described to be measured soft The defective data information and historical testing information of part obtain the test assignment information to brake, the test assignment information Including cooperating the miscellaneous function tested to brake, described to method to be measured collection used by brake and described Method to be measured concentrates each method testing scene number to be measured;
In the specific implementation, user can be at least one function of the software under testing when testing software under testing Function in need of test is selected in energy, i.e., to brake, the data obtaining module 11 can be according to the software under testing Defective data information and historical testing information obtain the test assignment information for described to brake.The test assignment letter Breath includes the cooperation miscellaneous function tested to brake, described to method to be measured collection used by brake and institute It states method to be measured and concentrates each method testing scene number to be measured.
Further, the data obtaining module 11 calculates at least one function of software under testing according to defective data information In each function test preferred value, and obtain according to the selected function of test preferred value of each function, will be described Selected function is set as the cooperation miscellaneous function tested to brake, and the data obtaining module 11 is counted respectively The test effect value to test method each in brake is calculated, and true according to the test effect value of each test method Fixed described to method to be measured collection used by brake, the data obtaining module 11 is tested according to the history of the software under testing Information and the method to be measured concentrate each method testing Effect value to be measured to calculate each method testing field to be measured Scape number.
Specifically, please also refer to Fig. 5, for the embodiment of the invention provides the structural schematic diagrams of data obtaining module.Such as Shown in Fig. 5, the data obtaining module 11 may include:
Function setup unit 111, for when to when brake is tested, being believed according to defective data in software under testing Breath calculates the test preferred value of each function at least one function of software under testing, and obtains the survey according to each function The selected function of preferred value is tried, the selected function is set as the cooperation auxiliary function tested to brake Energy;
In the specific implementation, user can be at least one function of the software under testing when testing software under testing Function in need of test is selected in energy, i.e., to brake, the function setup unit 111 can be according to defective data information The test preferred value of each function at least one function of the software under testing is calculated, the defective data information may include Each function each first level at least one first level defect in preset historical time section in the software under testing The time of origin value of each second level defect in the time of origin value of defect and at least one second level defect, described first Rank and the second level are that the level rule of the software under testing according to set by user carries out the classification of rank, the first order Other defect indicates that the defect has a larger impact to the software under testing, i.e., serious defect, such as: influence the defect of main program operation Deng, second level defect indicates that influence of the defect to the software under testing is little, i.e., not serious defect, such as: interface ghost image Deng, certainly, the above definition to defect is only for example, it is specific need it is voluntarily fixed for each function of software under testing according to user Justice is distinguished.The function setup unit 111 obtains the selected function of test preferred value according to each function, will be described Selected function is set as the cooperation miscellaneous function tested to brake.
Specifically, please also refer to Fig. 6, for the embodiment of the invention provides the structural schematic diagrams of function setup unit.Such as Shown in Fig. 6, the function setup unit 111 may include:
Coefficient computation subunit 1111 is appointed for being calculated in the historical time section using preset timeliness calculation formula The corresponding timeliness property coefficient of one time value;
In the specific implementation, the coefficient computation subunit 1111 can be using described in the calculating of preset timeliness calculation formula The corresponding timeliness property coefficient of any time value in historical time section, it is to be understood that the historical time section is user's division Period for being detected of the defect occurred to each function, the coefficient computation subunit 1111 needs to obtain each function The time value of first defect that can be found and will currently seek timeliness at the time value of the last one defect in the function The time value of the defect of property coefficient, the timeliness calculation formula can be with are as follows: [(end time value-will currently seek timeliness to 1- The time value of the defect of coefficient)/(end time value-time started value)] * 100, wherein the time started value is to go through described For the time value of first defect found in any function in the history period;The end time value is in the history For the time value of the last one defect found in any function in period;It is described currently to seek timeliness coefficient The time value of defect is for the time value of the defect currently found in any function in the historical time section, described The timeliness property coefficient of corresponding time value in preset time period.Such as: for the A function in software under testing, it is assumed that sent out in A function The time value of first existing defect is the X month 1, then is worth at the beginning of the X month 1 being used as in the historical time section, is used It family can be with sets itself end time value, such as by the X month 5 as the end time value in the historical time section, according to one It is segmented the historical time section as time value, then is [1- (5- in the timeliness property coefficient of the defect of the discovery of the X month 1 1)/(5-1)] * 100=0;It is [1- (5-2)/(5-1)] * 100=25 in the timeliness property coefficient of the defect of the discovery of the X month 2;In X The timeliness property coefficient of the defect of the discovery of the moon 3 is [1- (5-3)/(5-1)] * 100=50;In the timeliness of the defect of the discovery of the X month 4 Property coefficient is [1- (5-4)/(5-1)] * 100=75;It is [1- (5-5)/(5- in the timeliness property coefficient of the defect of the discovery of the X month 5 1)] * 100=100 etc., for the defect then calculating without timeliness property coefficient found beyond historical time section.
First quantity obtains subelement 1112, for the hair according to each first level defect of each function The time of origin value of raw time value and each second level defect, obtains the first level defect of any time value The quantity of quantity and second level defect;
In the specific implementation, first quantity obtain subelement 1112 can be according to described each the of each function The time of origin value of the time of origin value of one rank defect and each second level defect, obtains any time value The quantity of first level defect and the quantity of second level defect are calculating any time value pair in the historical time section After the timeliness property coefficient answered, need to count the number of the quantity and second level defect for same time value first level defect Amount, according to the example above, such as: the quantity of the first level defect the X month 1 of acquisition is 3, the number of second level defect Amount is 2, is 2 in the quantity of the first level defect on the X month 2, the quantity of second level defect is 4 etc..
Weighted value computation subunit 1113, for the attribute of attribute and second level according to first level, and according to institute State the quantity and second level of the first level defect of the corresponding timeliness property coefficient of any time value and any time value The quantity of defect calculates each function in the test weighted value of any time value;
In the specific implementation, the weighted value computation subunit 1113 is according to the attribute of first level and the category of second level Property, and according to the corresponding timeliness property coefficient of any time value and the quantity of the first level defect of any time value With the quantity of second level defect, each function is calculated in the test weighted value of any time value, it is possible to understand that It is that the attribute of the first level and the attribute of second level are the above-mentioned definition to first level and second level, it can be with The test weighted value of any time value is calculated using test weighted calculation formula, the test weighted calculation formula It can be (quantity * weight 1* timeliness property coefficient+second level defect quantity * weight 2* timeliness system of first level defect Number), weight 1 and weight 2 are to be defined respectively according to the attribute of the first level and the attribute of second level, in order to prominent The weight of first level defect out, weight 1 need to be greater than weight 2, and the value of weight 1 and weight 2 can specifically have user voluntarily fixed Justice, if user is undefined, the software test apparatus can be to 2 default settings of weight 1 and weight, due to being when being directed to any Between the test weighted value that is worth calculate, therefore occur in the first level defect of same time value and the timeliness of second level defect Coefficient is identical, foundation the example above, it is assumed that weight 1 is 10, and weight 2 is 1, then is (3* in the test weighted value on the X month 1 It 10*0+2*1*0)=0, is (2*10*25+4*1*25)=600 etc. in the test weighted value on the X month 2.
Preferred value sets subelement 1114, for all time values by each function in the historical time section The sum of test weighted value be set as the test preferred value of each function;
In the specific implementation, the preferred value setting subelement 1114 is by each function in the historical time section The sum of the test weighted value of all time values is set as the test preferred value of each function, according to the example above, for A function Can, it is 0 in the test weighted value on the X month 1, is 600 in the test weighted value on the X month 2, is in the test weighted value on the X month 3 900, it is 1300 in the test weighted value on the X month 4, is 2000 in the test weighted value on the X month 5, then by 0+600+900+1300+ Test preferred value of the 2000=4800 as A function.
Function sets subelement 1115, is ranked up for the test preferred value to each function, and obtain basis The selected function of test preferred value of each function after sequence, the selected function is set as described in cooperation The miscellaneous function tested to brake;
In the specific implementation, the test preferred value of each function is ranked up by the function setting subelement 1115, And acquisition sets the selected function according to the selected function of test preferred value of each function after sequence To cooperate the miscellaneous function tested to brake, according to the example above, it is assumed that the test preferred value of A function is 4800, the test preferred value of the B function in the software under testing is that the test preferred value of 2200, C function is 2500 etc., then treats The test preferred value for each function of surveying in software is ranked up, and is preferably arranged according to the numerical values recited of test preferred value Sequence, so that user selects, function setting subelement 1115 by the selected function of user be set as cooperation it is described to Measurement of power can be carried out the miscellaneous function of test, it should be noted that brake or miscellaneous function, i.e., to brake with it is auxiliary Assist can may be identical function.
It is understood that be the tested point for test software that user voluntarily selects to brake, and to auxiliary function It can be carried out setting, can determine which function is high-risk function, it, can be with by treating measurement of power in conjunction with miscellaneous function and can be carried out test Achieve the effect that determine the test scope to brake.
Method collection determination unit 112, for calculating separately the test effect value to test method each in brake, And to method to be measured collection used by brake according to the determination of the test effect value of each test method;
In the specific implementation, the method collection determination unit 112 is obtained and described is detected to test method each in brake First level defect quantity, and obtain the quantity of each test method second level defect detected, the side Method collection determination unit 112 is examined according to the attribute of first level and the attribute of second level, and according to each test method The quantity of the first level defect of survey and the quantity of second level defect calculate the test effect value of each test method, After the method collection determination unit 112 is ranked up the test effect value of each test method, and acquisition is according to sequence The test effect of each test method be worth selected at least one test method, according to described selected at least one A test method generates described to method to be measured collection used by brake.
Specifically, please also refer to Fig. 7, for the embodiment of the invention provides the structural schematic diagrams of method collection determination unit. As shown in fig. 7, the method collection determination unit 112 may include:
Second quantity obtains subelement 1121, described to test method detected first each in brake for obtaining The quantity of rank defect, and obtain the quantity of each test method second level defect detected;
In the specific implementation, the second quantity acquisition subelement 1121 is available described to test side each in brake The quantity of method first level defect detected, and obtain simultaneously described to test method detected second each in brake The quantity of rank defect, it is to be understood that obtaining first level defect and during second level defect, user can be with It is tested to brake using various test described for brake, such as: cancel method, iterative method etc., therefore The second quantity acquisition subelement 1121 obtains the first level that each test method is found in the historical time section and lacks The quantity of sunken quantity and second level defect.
Effect value computation subunit 1122, for the attribute of attribute and second level according to first level, and according to institute The quantity of each test method first level defect detected and the quantity of second level defect are stated, each test is calculated Method testing Effect value;
In the specific implementation, the Effect value computation subunit 1122 can be according to the attribute of the first level and described The other attribute of second level, and according to the quantity of each test method first level defect detected and second level defect Quantity calculates the test effect value of each test method, it is preferred that the Effect value computation subunit 1122 can use Test effect value calculation formula calculates the test effect value of each test method, the test effect value calculation formula Are as follows: (the quantity * weight 4 of the quantity * weight 3+ second level defect of first level defect), weight 3 and weight 4 are according to What the attribute of first level and the attribute of second level were defined respectively, in order to protrude the weight of first level defect, weight 3 Need to be greater than weight 4, the value of weight 3 and weight 4 can specifically have user's self-defining, if user is undefined, the software is surveyed Trying equipment can be to 4 default settings of weight 3 and weight.Assuming that for described to brake, using X test method in history Between the quantity of first level defect that finds in section be 6, the quantity of second level defect is 5, and weight 3 is 20, and weight 4 is 1, then The test effect value of X test method is (6*20+5*1)=125.
Method collection generates subelement 1123, is ranked up for the test effect value to each test method, and obtain At least one selected test method of test effect value according to each test method after sequence is taken, according to the institute At least one test method of selection generates described to method to be measured collection used by brake;
In the specific implementation, the method collection generation subelement 1123 can be to the test effect value of each test method It is ranked up, and obtains and at least one selected test side is worth according to the test effect of each test method after sequence Method, to method to be measured collection used by brake according to selected at least one test method generation, it is assumed that X is surveyed It is the test effect value of 110, Z test method is 130 that the test effect value of method for testing, which is the test effect value of 125, Y test method, Deng, it is preferred that it can be ranked up according to the numerical values recited of the test effect value of each test method, for user's progress Selection, and at least one selected test method of user is obtained, according to described in the generation of at least one selected test method To method to be measured collection used by brake.
It is understood that can be use by providing the test effect value for each test method to brake Family provides foundation when selecting test method, guarantees the high efficiency of test method during the test.
Scene number computing unit 113, for according to the software under testing historical testing information and the method to be measured Each method testing Effect value to be measured is concentrated to calculate each method testing scene number to be measured;
In the specific implementation, the standby historical testing information according to the software under testing of the scene number computing unit 113 and Each method testing Effect value to be measured that the method to be measured is concentrated calculates each method testing scene number to be measured, institute State the execution that historical testing information includes the history test scene of each history test assignment at least one history test assignment The quantity for the history test scene that completeness and each history test assignment are completed, each history test assignment are used for Instruction waits for that brake carries out history test at least one in the software under testing, it is to be understood that surveys for single history Trial business, may include the process tested to brake one or more, meanwhile, within a preset period of time (such as 1 day It is interior), multiple history test assignments can be carried out.
In the specific implementation, please also refer to Fig. 8, for the embodiment of the invention provides the structural representations of scene number computing unit Figure.As shown in figure 8, the scene number computing unit 113 may include:
Third quantity obtains subelement 1131, for obtaining history test scene in each history test assignment At least one first test assignment that completeness is less than preset threshold is executed, and obtains at least one first history test and appoints The quantity for the history test scene that each first test assignment is completed in business;
It is expected that scene number generates subelement 1132, the history test scene for being completed to each first test assignment Quantity be ranked up, and expected test scene number is generated according to the obtained quantity queue of sequence;
In the specific implementation, the third quantity, which obtains subelement 1131, obtains history in each history test assignment The execution completeness of test scene is less than at least one first test assignment of preset threshold, and obtain it is described at least one first The quantity for the history test scene that each first test assignment is completed in history test assignment, it is single that the expected scene number generates son The quantity for the history test scene that 1132 pairs of member each first test assignment is completed is ranked up, and obtained according to sequence Quantity queue generates expected test scene number, it is preferred that is ranked up from big to small according to the numerical values recited of quantity, passes through acquisition Quantity queue after sequence obtains the quantity of the history test scene on 80% to 50% position of the quantity queue, Such as: assuming that there are 30 history test assignments, wherein belong to the first test assignment there are 20, then after sequence, obtain the 10th A first test assignment to the 16th the first test assignment history test scene quantity, and to the numerical value of these quantity carry out Summation, takes its average as the expected test scene number.Pass through the history checkout area on the position of selection 80% to 50% The quantity of scape, it is ensured that the reasonability of expected test scene number.
Test scene number computation subunit 1133, for according to each method testing Effect value to be measured, it is described to The summation of the test effect value of survey method collection and the expected test scene number calculate each method testing field to be measured Scape number;
In the specific implementation, the test scene number computation subunit 1133 is according to each method testing effect to be measured Value, the summation of the test effect value of the method collection to be measured and the expected test scene number, calculate each side to be measured The test scene number of method, it is preferred that can using test scene number calculation formula to each method testing scene number to be measured into Row calculates, the test scene number calculation formula are as follows: (certain method testing Effect value to be measured/method to be measured collection test effect The summation of value) * expected test scene number, according to the example above, it is assumed that have chosen X test method, Y test method, Z test method For method to be measured, it is contemplated that test scene number is calculated as 10, then is [125/ (125+110+ for the test scene number of X test method 130)] * 10 are approximately equal to 3, and so on.
It is understood that can be separately designed for one or more to brake in single history test assignment Multiple test scenes can not often be tested using all test scenes, therefore, be passed through then due to the limitation of time The history test assignment for not completing all test scenes is chosen, and the quantity for the test scene for taking it to be completed is ranked up, led to Cross the numerical value of the quantity in the middle position after choosing sequence, it is ensured that the reasonability of expected test scene number, while expected survey Examination hall scape number can recommend user and refer to, and user can carry out the adjustment that floats up and down according to expected test scene number, make It obtains expected test scene number and has adjustability, further improve the reasonability of each method testing scene number to be measured.
Duration acquiring unit 114 is designed, for the design according to the history test scene of each history test assignment Duration obtains the design duration to the scene to be measured of current test assignment belonging to brake;
In the specific implementation, the historical testing information can also include the history checkout area of each history test assignment The design duration of scape, the test assignment information can also include the scene to be measured to current test assignment belonging to brake Design duration, it is to be understood that the definition of the current test assignment may refer to adopt the definition of history test assignment It is only the timing of the generation of distinguishing tests task with current and history, that is, currently treat the test process category that measurement of power can be carried out A test process in current test assignment, and history test assignment is appointed by the test occurred before current test assignment Business, such as current test assignment occurred the X month 10, then history test assignment occurs to be occurred the X month 9 the X month 10 All test assignments are considered current test assignment.The software test apparatus 1 can appoint according to each history test When the design duration of the history test scene of business obtains the design of the scene to be measured of the current test assignment belonging to the brake It is long.
Further, the design duration acquiring unit 114 can test the history of each first test assignment The design duration of scene is ranked up, and to which currently test is appointed belonging to brake according to the duration queue generation that sequence obtains The design duration of the scene to be measured of business, such as the scene to be measured of conducted in the X month 10 each current test assignment are set Timing is long, is all made of the duration queue design duration generated that sequence obtains.Preferably, according to each first test assignment The numerical value of the actual design duration of history test scene is ranked up from big to small, duration queue after getting sequence, The design duration on 80% to 50% position for obtaining the duration queue, to the numerical value of the design duration on these positions It sums, takes its average as the design duration of the scene to be measured of the current test assignment.It should be noted that design The numerical value of duration can after a preset period timeliness, such as: each current test assignment conducted in the X month 10 Scene to be measured design duration according to the X month 9 each first test assignment history test scene actual design Duration is calculated, and the design duration for having arrived the scene to be measured of each current test assignment conducted in the X month 11 is equal The actual design duration of the history test scene of each first test assignment according to the X month 10 is calculated.
Specifically, please also refer to Fig. 9, for the embodiment of the invention provides the structural representations of design duration acquiring unit Figure.As shown in figure 9, the design duration acquiring unit 114 may include:
Design duration sorting subunit 1141, the design for the history test scene to each first test assignment Duration is ranked up;
It designs duration and generates subelement 1142, to belonging to brake described in the duration queue generation for being obtained according to sequence The design duration of the scene to be measured of current test assignment;
In the specific implementation, the historical testing information can also include the history checkout area of each history test assignment The design duration of scape, the test assignment information can also include the scene to be measured to current test assignment belonging to brake Design duration, it is to be understood that the definition of the current test assignment may refer to adopt the definition of history test assignment It is only the timing of the generation of distinguishing tests task with current and history, that is, currently treat the test process category that measurement of power can be carried out A test process in current test assignment, and history test assignment is appointed by the test occurred before current test assignment Business, such as current test assignment occurred the X month 10, then history test assignment occurs to be occurred the X month 9 the X month 10 All test assignments are considered current test assignment.The software test apparatus 1 can appoint according to each history test When the design duration of the history test scene of business obtains the design of the scene to be measured of the current test assignment belonging to the brake It is long.
Further, the design duration sorting subunit 1141 can survey the history of each first test assignment The design duration of examination hall scape is ranked up, and the design duration generates subelement 1142 and generated according to the duration queue that sequence obtains The design duration to the scene to be measured of current test assignment belonging to brake, for example, conducted in the X month 10 it is each The design duration of the scene to be measured of current test assignment is all made of the duration queue design duration generated that sequence obtains.It is excellent Choosing, it is arranged from big to small according to the numerical value of the actual design duration of the history test scene of each first test assignment Sequence, duration queue after getting sequence, obtains the design duration on 80% to 50% position of the duration queue, It sums to the numerical value of the design duration on these positions, takes its average as the scene to be measured of the current test assignment Design duration.It should be noted that design duration numerical value can after a preset period timeliness, such as: in the X month 10 The design duration of the scene to be measured of each current test assignment conducted in day is appointed according to each first test on the X month 9 The actual design duration of the history test scene of business is calculated, and has arrived each current survey conducted in the X month 11 Reality of the design duration of the scene to be measured of trial business according to the history test scene of each first test assignment on the X month 10 Design duration be calculated.
Scene obtains module 12, for obtaining according to the miscellaneous function, the method collection to be measured and described each to be measured The scene to be measured to brake designed by method testing scene number;
In the specific implementation, the scene obtains the design duration of to be measured scene of the module 12 in the current test assignment It is interior, it obtains according to designed by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured The scene to be measured to brake, it is to be understood that may need multiple to treat brake in single current test assignment It is tested, therefore the summation of the design duration of the scene to be measured in single current test assignment is needed described current In the design duration of the scene to be measured of test assignment, when the design duration for the scene to be measured for being more than the current test assignment, then Do not allow user to continue to be designed scene to be measured, and forces to be transferred to the stage tested using scene to be measured.
By the design duration of the history test scene according to each first test assignment, generate current test assignment to Survey the design duration of scene, it is ensured that the reasonability of Scenario Design duration to be measured, while according to design duration, it can be to subsequent The process tested using scene to be measured, i.e. implementation procedure are retained the sufficient execution time, and then promote the effect of test.
Test module 13, for being tested to brake using the scene to be measured to brake described;
In the specific implementation, the test module 13 is carried out to described to brake using the scene to be measured to brake Test, the data obtaining module 11, scene acquisition module 12 and test module 13 will repeat above-mentioned steps, until completing All tests to brake in current test assignment.
Quality obtains module 14, for when completion is to the scene to be measured to current test assignment belonging to brake After test, the test quality information of the current test assignment is obtained, the test quality information includes that the current test is appointed The execution completeness of the scene to be measured of the design sufficient degree and current test assignment of the scene to be measured of business;
In the specific implementation, the quality obtains mould after completing to the test of the scene to be measured of the current test assignment The test quality information of the available current test assignment of block 14, it is to be understood that the design sufficient degree indicates needle The quantity for the scene to be measured that each test methods to brake all in current test assignment have designed is surveyed with for current The ratio of the summation of the test scene number of all each test methods to brake in trial business;The execution completeness indicates For the scenes to be measured actually accomplished to brake all in current test assignment quantity with for institute in current test assignment Need the ratio of the quantity for the scene to be measured that each test method of brake has designed.Preferably, the test quality information It can also include the actual design duration of all scenes to be measured of the current test assignment, own in the current test assignment The quantity etc. of the scene to be measured of the quantity and completion of unfinished scene to be measured.It is understood that passing through binding test matter Amount information, which can be used family and understand in real time, tests quality, and continues to treat measurement of power to the later period and can be carried out test and provide test index Deng.
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that when treating the measurement direction of brake, while the design to Scenario Design has been determined It is long, it ensure that the time that scene executes, improve test effect;For test quality letter available after test assignment test Breath understands that user in real time and tests quality, and continues to treat measurement of power to the later period and can be carried out test and provide test index, Jin Erti The use quality of software is risen.
Referring to Figure 10, for the embodiment of the invention provides the structural schematic diagrams of another software test apparatus.Such as Figure 10 Shown, the software test apparatus 1000 may include: at least one processor 1001, such as CPU, at least one network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing this Connection communication between a little components.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), Optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include Standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to non- Unstable memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 is optionally gone back It can be at least one storage device for being located remotely from aforementioned processor 1001.As shown in Figure 10, it is stored as a kind of computer It may include operating system, network communication module, Subscriber Interface Module SIM and software test application in the memory 1005 of medium Program.
In software test apparatus 1000 shown in Fig. 10, processor 1001 can be used for calling to be stored in memory 1005 Software test application program, and specifically execute following steps:
When in software under testing when brake is tested, according to the defective data information of the software under testing and going through History tests the test assignment information described in acquisition of information to brake, and the test assignment information includes that cooperation is described to brake The miscellaneous function tested, it is described to method to be measured collection used by brake and the method to be measured concentrate it is each to be measured Method testing scene number;
It obtains according to set by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured The scene to be measured to brake of meter;
It is tested to brake using the scene to be measured to brake described.
In one embodiment, processor 1001 is being executed according to the survey of the defective data information and history of the software under testing Described in examination acquisition of information when the test assignment information of brake, following steps are specifically executed:
The test preferred value of each function at least one function of software under testing is calculated according to defective data information, and is obtained Take the selected function of test preferred value according to each function, by the selected function be set as cooperation it is described to Measurement of power can be carried out the miscellaneous function of test;
The test effect value to test method each in brake is calculated separately, and according to each test method Test effect value determine it is described to method to be measured collection used by brake;
Each method testing to be measured is concentrated according to the historical testing information of the software under testing and the method to be measured Effect value calculates each method testing scene number to be measured.
In one embodiment, the defective data information include at least one function of software under testing each function exist The time of origin value and at least one of each first level defect at least one interior first level defect of preset historical time section The time of origin value of each second level defect in a second level defect;
The each function in executing at least one function of calculating software under testing according to defective data information of processor 1001 Test preferred value, and obtain according to the selected function of test preferred value of each function, by the selected function It is described when the miscellaneous function that brake is tested to be set as cooperation, specifically executes following steps:
The corresponding timeliness system of any time value in the historical time section is calculated using preset timeliness calculation formula Number;
According to the time of origin value and each second level of each first level defect of each function The time of origin value of defect obtains the quantity of the first level defect of any time value and the quantity of second level defect;
According to the attribute of first level and the attribute of second level, and according to the corresponding timeliness system of any time value The quantity of the first level defect of the several and described any time value and the quantity of second level defect calculate each function In the test weighted value of any time value;
The sum of the test weighted value of all time values of each function in the historical time section is set as institute State the test preferred value of each function;
The test preferred value of each function is ranked up, and obtains the survey according to each function after sequence The selected function of preferred value is tried, the selected function is set as the cooperation auxiliary function tested to brake Energy.
In one embodiment, processor 1001 is executing the survey described in calculated separately to test method each in brake Effect value is tried, and to method to be measured collection used by brake according to the determination of the test effect value of each test method When, specifically execute following steps:
The quantity to test method each in brake first level defect detected is obtained, and is obtained described each The quantity of a test method second level defect detected;
According to the attribute of first level and the attribute of second level, and according to each test method detected first The quantity of rank defect and the quantity of second level defect calculate the test effect value of each test method;
The test effect value of each test method is ranked up, and is obtained according to each test after sequence At least one selected test method of method testing Effect value is generated according at least one described selected test method It is described to method to be measured collection used by brake.
In one embodiment, the historical testing information includes each history test at least one history test assignment The quantity for the history test scene that the execution completeness of the history test scene of task and each history test assignment are completed, Each history test assignment, which is used to indicate, waits for that brake carries out history test at least one in the software under testing;
Processor 1001 is concentrated respectively in execution according to the historical testing information and the method to be measured of the software under testing When a method testing Effect value to be measured calculates each method testing scene number to be measured, following steps are specifically executed:
The execution completeness that history test scene is obtained in each history test assignment is less than preset threshold extremely Few first test assignment, and obtain what each first test assignment at least one described first history test assignment was completed The quantity of history test scene;
The quantity for the history test scene that each first test assignment is completed is ranked up, and is obtained according to sequence Quantity queue generate expected test scene number;
According to the summation of the test effect value of each method testing Effect value to be measured, the method collection to be measured and The expected test scene number calculates each method testing scene number to be measured.
In one embodiment, the historical testing information further includes the history checkout area of each history test assignment The design duration of scape, the test assignment information further include the setting to the scene to be measured of current test assignment belonging to brake Timing is long;
Processor 1001 is being executed according to the historical testing information of the software under testing acquisition test to brake When mission bit stream, following steps are also executed:
To belonging to brake according to the acquisition of the design duration of the history test scene of each history test assignment The design duration of the scene to be measured of current test assignment.
In one embodiment, processor 1001 is executing the history test scene according to each history test assignment The design duration scene to be measured that obtains the current test assignment belonging to the brake design duration when, it is specific execute it is following Step:
The design duration of the history test scene of each first test assignment is ranked up;
According to setting to the scene to be measured of current test assignment belonging to brake described in the duration queue generation that sequence obtains Timing is long.
In one embodiment, processor 1001 execute obtain according to the miscellaneous function, the method collection to be measured and It is described when the scene to be measured of brake designed by each method testing scene number to be measured, it is specific to execute following step It is rapid:
In the design duration of the scene to be measured of the current test assignment, obtain according to the miscellaneous function, it is described to The scene to be measured to brake designed by survey method collection and each method testing scene number to be measured.
In one embodiment, processor 1001 also executes following steps:
After completing the test to the scene to be measured of the current test assignment, the test of the current test assignment is obtained Quality information, the test quality information include the design sufficient degree of the scene to be measured of the current test assignment and described current The execution completeness of the scene to be measured of test assignment.
In embodiments of the present invention, when in software under testing when brake is tested, according to software under testing lack It falls into data information and historical testing information obtains and carries the cooperation auxiliary function tested to brake to brake Energy, used method collection to be measured and method to be measured concentrate the test assignment information of each method testing scene number to be measured, Using acquisition according to designed by miscellaneous function, method collection to be measured and each method testing scene number to be measured described in measurement of power The scene to be measured of energy is tested to brake described.It is obtained by the defective data information and historical testing information of foundation software Take test employed in the test scope provided for the test assignment information to brake for brake, test Method and the scene number of test, it is determined that when treating the measurement direction of brake, while the design to Scenario Design has been determined It is long, it ensure that the time that scene executes, improve test effect;For test quality letter available after test assignment test Breath understands that user in real time and tests quality, and continues to treat measurement of power to the later period and can be carried out test and provide test index, Jin Erti The use quality of software is risen.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (20)

1. a kind of method for testing software characterized by comprising
When in software under testing when brake is tested, according to the defective data information and history of the software under testing survey The test assignment information described in acquisition of information to brake is tried, including calculating at least the one of software under testing according to defective data information The test preferred value of each function in a function, and the selected function of test preferred value according to each function is obtained, The selected function is set as the cooperation miscellaneous function tested to brake, the test assignment packet Include the cooperation miscellaneous function tested to brake, it is described to method to be measured collection used by brake and it is described to Survey method concentrates each method testing scene number to be measured;
It obtains according to designed by the miscellaneous function, the method collection to be measured and each method testing scene number to be measured The scene to be measured to brake;
It is tested to brake using the scene to be measured to brake described.
2. the method according to claim 1, wherein the defective data information according to the software under testing and Historical testing information obtains the test assignment information to brake, further includes:
The test effect value to test method each in brake is calculated separately, and according to the survey of each test method It is determining described to method to be measured collection used by brake to try Effect value;
Each method testing effect to be measured is concentrated according to the historical testing information of the software under testing and the method to be measured Value calculates each method testing scene number to be measured.
3. according to the method described in claim 2, it is characterized in that, the defective data information includes at least the one of software under testing Each function each first level defect at least one first level defect in preset historical time section in a function The time of origin value of each second level defect in time of origin value and at least one second level defect;
The test preferred value that each function at least one function of software under testing is calculated according to defective data information, and obtain Take the selected function of test preferred value according to each function, by the selected function be set as cooperation it is described to Measurement of power can be carried out the miscellaneous function of test, comprising:
The corresponding timeliness property coefficient of any time value in the historical time section is calculated using preset timeliness calculation formula;
According to the time of origin value and each second level defect of each first level defect of each function Time of origin value, obtain the quantity of the first level defect of any time value and the quantity of second level defect;
According to the attribute of first level and the attribute of second level, and according to the corresponding timeliness property coefficient of any time value with And the first level defect of any time value quantity and second level defect quantity, calculate each function in institute State the test weighted value of any time value;
The sum of the test weighted value of all time values of each function in the historical time section is set as described each The test preferred value of a function;
The test preferred value of each function is ranked up, and is obtained excellent according to the test of each function after sequence First it is worth selected function, the selected function is set as the cooperation miscellaneous function tested to brake.
4. according to the method described in claim 3, it is characterized in that, it is described calculate separately it is described to test side each in brake The test effect value of method, and to be measured used by brake according to the determination of the test effect value of each test method Method collection, comprising:
The quantity to test method each in brake first level defect detected is obtained, and obtains each survey The quantity of method for testing second level defect detected;
According to the attribute of first level and the attribute of second level, and according to each test method first level detected The quantity of defect and the quantity of second level defect calculate the test effect value of each test method;
The test effect value of each test method is ranked up, and is obtained according to each test method after sequence Test effect be worth selected at least one test method, generated according at least one described selected test method described in To method to be measured collection used by brake.
5. according to the method described in claim 4, it is characterized in that, the historical testing information includes the test of at least one history The execution completeness of the history test scene of each history test assignment and each history test assignment are completed in task The quantity of history test scene, each history test assignment, which is used to indicate, waits for measurement of power at least one in the software under testing It can be carried out history test;
It is described that each method testing to be measured is concentrated according to the historical testing information and the method to be measured of the software under testing Effect value calculates each method testing scene number to be measured, comprising:
The execution completeness that history test scene is obtained in each history test assignment is less than at least the one of preset threshold A first test assignment, and obtain the history that each first test assignment is completed at least one described first history test assignment The quantity of test scene;
The number that the quantity for the history test scene that each first test assignment is completed is ranked up, and is obtained according to sequence It measures queue and generates expected test scene number;
According to the summation of the test effect value of each method testing Effect value to be measured, the method collection to be measured and described Expected test scene number calculates each method testing scene number to be measured.
6. according to the method described in claim 5, it is characterized in that, the historical testing information further includes that each history is surveyed The design duration of the history test scene of trial business, the test assignment information further include described to currently test belonging to brake The design duration of the scene to be measured of task;
It is described that the test assignment information to brake is obtained according to the historical testing information of the software under testing, further includes:
To current belonging to brake according to the acquisition of the design duration of the history test scene of each history test assignment The design duration of the scene to be measured of test assignment.
7. according to the method described in claim 6, it is characterized in that, described survey according to the history of each history test assignment The design duration of examination hall scape obtains the design duration to the scene to be measured of current test assignment belonging to brake, comprising:
The design duration of the history test scene of each first test assignment is ranked up;
According to the duration queue generation that sequence obtains belonging to brake when the design of the scene to be measured of current test assignment It is long.
8. the method according to the description of claim 7 is characterized in that the acquisition is according to the miscellaneous function, the side to be measured The scene to be measured to brake designed by method collection and each method testing scene number to be measured, comprising:
In the design duration of the scene to be measured of the current test assignment, obtain according to the miscellaneous function, the side to be measured The scene to be measured to brake designed by method collection and each method testing scene number to be measured.
9. according to the method described in claim 8, it is characterized by further comprising:
After completing the test to the scene to be measured of the current test assignment, the test quality of the current test assignment is obtained Information, the design sufficient degree for testing the scene to be measured that quality information includes the current test assignment and the current test The execution completeness of the scene to be measured of task.
10. a kind of software test apparatus characterized by comprising
Data obtaining module, for when in software under testing when brake is tested, according to the software under testing lack It falls into data information and historical testing information obtains the test assignment information to brake, the test assignment information includes matching It closes the miscellaneous function tested to brake, is described to method to be measured collection used by brake and the side to be measured Method concentrates each method testing scene number to be measured;The data obtaining module includes function setup unit, for when to be measured In software when brake is tested, according to defective data information calculate software under testing at least one function in each function The test preferred value of energy, and the selected function of test preferred value according to each function is obtained, it will be described selected Function is set as the cooperation miscellaneous function tested to brake;
Scene obtains module, for obtaining according to the miscellaneous function, the method collection to be measured and each method to be measured The scene to be measured to brake designed by test scene number;
Test module, for being tested to brake using the scene to be measured to brake described.
11. equipment according to claim 10, which is characterized in that the data obtaining module further include:
Method collection determination unit, for calculating separately the test effect value to test method each in brake, and according to The test effect value of each test method determines described to method to be measured collection used by brake;
Scene number computing unit is concentrated each for the historical testing information and the method to be measured according to the software under testing Method testing Effect value to be measured calculates each method testing scene number to be measured.
12. equipment according to claim 11, which is characterized in that the defective data information include software under testing at least Each function each first level defect at least one first level defect in preset historical time section in one function Time of origin value and at least one second level defect in each second level defect time of origin value;
The function setup unit includes:
Coefficient computation subunit, for calculating any time value in the historical time section using preset timeliness calculation formula Corresponding timeliness property coefficient;
First quantity obtains subelement, for the time of origin value according to each first level defect of each function With the time of origin value of each second level defect, the quantity and of the first level defect of any time value is obtained The quantity of two rank defects;
Weighted value computation subunit, for the attribute of attribute and second level according to first level, and according to it is described any when Between be worth corresponding timeliness property coefficient and any time value first level defect quantity and second level defect number Amount calculates each function in the test weighted value of any time value;
Preferred value sets subelement, and the test for all time values by each function in the historical time section adds The sum of weight is set as the test preferred value of each function;
After function sets subelement, is ranked up for the test preferred value to each function, and acquisition is according to sequence It is described to brake to be set as cooperation by the selected function of test preferred value of each function for the selected function The miscellaneous function tested.
13. equipment according to claim 12, which is characterized in that the method collection determination unit includes:
Second quantity obtains subelement, described to test method each in brake first level defect detected for obtaining Quantity, and obtain the quantity of each test method second level defect detected;
Effect value computation subunit, for the attribute of attribute and second level according to first level, and according to each survey The quantity of method for testing first level defect detected and the quantity of second level defect calculate the survey of each test method Try Effect value;
Method collection generates subelement, is ranked up for the test effect value to each test method, and obtains according to row The test effect of each test method after sequence is worth at least one selected test method, according to it is described it is selected extremely A few test method generates described to method to be measured collection used by brake.
14. equipment according to claim 13, which is characterized in that the historical testing information includes that at least one history is surveyed The execution completeness of the history test scene of each history test assignment and each history test assignment are completed in trial business History test scene quantity, each history test assignment is used to indicate to be measured at least one in the software under testing Function carries out history test;
The scene number computing unit includes:
Third quantity obtains subelement, executes completion for obtaining history test scene in each history test assignment Degree is less than at least one first test assignment of preset threshold, and obtains each at least one described first history test assignment The quantity for the history test scene that first test assignment is completed;
It is expected that scene number generates subelement, the quantity of the history test scene for being completed to each first test assignment into Row sequence, and expected test scene number is generated according to the quantity queue that sequence obtains;
Test scene number computation subunit, for according to each method testing Effect value to be measured, the method collection to be measured Test effect value summation and the expected test scene number, calculate each method testing scene number to be measured.
15. equipment according to claim 14, which is characterized in that the historical testing information further includes each history The design duration of the history test scene of test assignment, the test assignment information further include each to currently survey belonging to brake The design duration of the scene to be measured of trial business;
The data obtaining module further include:
Duration acquiring unit is designed, the design duration for the history test scene according to each history test assignment obtains The design duration to the scene to be measured of current test assignment belonging to brake.
16. equipment according to claim 15, which is characterized in that the design duration acquiring unit includes:
Duration sorting subunit is designed, the design duration for the history test scene to each first test assignment carries out Sequence;
It designs duration and generates subelement, to currently be tested belonging to brake described in the duration queue generation for being obtained according to sequence The design duration of the scene to be measured of task.
17. equipment according to claim 16, which is characterized in that the scene obtains module and is specifically used for described current In the design duration of the scene to be measured of test assignment, obtain according to the miscellaneous function, the method collection to be measured and described each The scene to be measured to brake designed by method testing scene number to be measured.
18. equipment according to claim 17, which is characterized in that further include:
Quality obtains module, for the test when completion to the scene to be measured to current test assignment belonging to brake Afterwards, the test quality information of the current test assignment is obtained, the test quality information includes the current test assignment The execution completeness of the scene to be measured of the design sufficient degree and current test assignment of scene to be measured.
19. a kind of software test apparatus, which is characterized in that including processor and memory, the processor and memory are mutual Connection;
The memory is for storing computer program, and the computer program includes program instruction, and the processor is configured For calling described program to instruct, method as described in any one of claim 1 to 9 is executed.
20. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program, The computer program includes program instruction, and described program instructs when being executed by a processor, is executed as appointed in claim 1-9 Method described in one.
CN201410382470.9A 2014-08-06 2014-08-06 A kind of method for testing software and its equipment Active CN105468503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410382470.9A CN105468503B (en) 2014-08-06 2014-08-06 A kind of method for testing software and its equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410382470.9A CN105468503B (en) 2014-08-06 2014-08-06 A kind of method for testing software and its equipment

Publications (2)

Publication Number Publication Date
CN105468503A CN105468503A (en) 2016-04-06
CN105468503B true CN105468503B (en) 2019-10-22

Family

ID=55606234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410382470.9A Active CN105468503B (en) 2014-08-06 2014-08-06 A kind of method for testing software and its equipment

Country Status (1)

Country Link
CN (1) CN105468503B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652416B (en) * 2017-01-10 2019-08-20 国电南瑞三能电力仪表(南京)有限公司 A kind of debugging output method suitable for centralized automatic meter-reading terminal
CN109426607A (en) * 2017-08-24 2019-03-05 比亚迪股份有限公司 Method for testing software, device and rail vehicle
CN109902006A (en) * 2019-02-20 2019-06-18 北京安和瑞福信息技术有限公司 Automated testing method and device
CN110188034A (en) * 2019-05-10 2019-08-30 广州高鸿信息科技有限公司 A kind of method for testing software based on information sharing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996069A (en) * 2009-08-13 2011-03-30 上海杉达学院 Test code generating system for software test
CN102495804A (en) * 2011-12-27 2012-06-13 创新科存储技术(深圳)有限公司 Automatic software testing method
CN102880545A (en) * 2012-08-30 2013-01-16 中国人民解放军63928部队 Method for dynamically adjusting priority sequence of test cases
CN103455415A (en) * 2012-08-20 2013-12-18 深圳信息职业技术学院 Software test method
CN103838667A (en) * 2012-11-27 2014-06-04 腾讯科技(深圳)有限公司 Ordering method and device for using modes of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4134218B2 (en) * 2006-11-16 2008-08-20 インターナショナル・ビジネス・マシーンズ・コーポレーション Information processing apparatus, method, and program for determining priority of test cases to be executed in regression test

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996069A (en) * 2009-08-13 2011-03-30 上海杉达学院 Test code generating system for software test
CN102495804A (en) * 2011-12-27 2012-06-13 创新科存储技术(深圳)有限公司 Automatic software testing method
CN103455415A (en) * 2012-08-20 2013-12-18 深圳信息职业技术学院 Software test method
CN102880545A (en) * 2012-08-30 2013-01-16 中国人民解放军63928部队 Method for dynamically adjusting priority sequence of test cases
CN103838667A (en) * 2012-11-27 2014-06-04 腾讯科技(深圳)有限公司 Ordering method and device for using modes of application program

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109871702A (en) Federal model training method, system, equipment and computer readable storage medium
CN105468503B (en) A kind of method for testing software and its equipment
CN105933920B (en) A kind of method and device for predicting user satisfaction
CN104778173B (en) Target user determination method, device and equipment
CN106022826A (en) Cheating user recognition method and system in webcast platform
CN103530347B (en) A kind of Internet resources method for evaluating quality based on big data mining and system
CN105340311B (en) The network equipment, network service prediction meanss and method
CN109242825A (en) A kind of steel surface defect identification method and device based on depth learning technology
CN108376117A (en) The test method and equipment of interaction response
CN108057249A (en) A kind of business data processing method and device
CN107643983A (en) A kind of test data processing method and system
CN113642659A (en) Training sample set generation method and device, electronic equipment and storage medium
CN106390451A (en) Method and device for testing capacity of game server
CN106021083A (en) Method and device for evaluating the real-time performance of real time operating system
CN111242314A (en) Deep learning accelerator benchmark test method and device
CN110413722A (en) Address choice method, apparatus and non-transient storage medium
CN112084412B (en) Information pushing method, device, equipment and storage medium
Cerit et al. Quality function deployment and its application on a smartphone design
CN109993562A (en) A kind of satisfaction emulation mode, device and terminal device
CN108183840A (en) Verification method, device and the realization device of switch performance
CN105205723B (en) A kind of modeling method and device based on social networking application
CN110401551B (en) Internet health degree evaluation method and system based on S1 interface
CN105188071B (en) A kind of method, apparatus and system for testing power consumption of terminal
CN111695679B (en) Method and device for predicting access amount, electronic equipment and storage medium
CN109429282A (en) A kind of frequency point configuration method and device

Legal Events

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