CN105468503A - Software test method and device - Google Patents

Software test method and device Download PDF

Info

Publication number
CN105468503A
CN105468503A CN201410382470.9A CN201410382470A CN105468503A CN 105468503 A CN105468503 A CN 105468503A CN 201410382470 A CN201410382470 A CN 201410382470A CN 105468503 A CN105468503 A CN 105468503A
Authority
CN
China
Prior art keywords
test
testing
measured
scene
brake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410382470.9A
Other languages
Chinese (zh)
Other versions
CN105468503B (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

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

Abstract

The embodiment of the invention discloses a software test method and a device thereof. The method comprises following steps: when testing a function to be tested in the software to be tested, obtaining the test task information of the function to be tested according to the defect data information and history test information of the software to be tested, wherein the test task information comprises an auxiliary function cooperating with the function to be tested for testing, a method set to be tested adopted by the function to be tested and the test scene number of each method to be tested in the method set to be tested; obtaining the scene to be tested of the function to be tested designed according to the auxiliary function, the method set to be tested and the test scene number of each method to be tested; and testing the function to be tested by the scene to be tested of the function to be tested. The invention can promote the test effect and ensure using quality of the software.

Description

A kind of method for testing software and equipment thereof
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method for testing software and equipment thereof.
Background technology
Along with computer technology is constantly developed and perfect, the terminal device such as mobile phone and panel computer has become a part indispensable in people's life, people not only can utilize the software application in these terminal devices to carry out communication, can also carry out file transfer, make a video recording, play games.
In the process of the software application development for terminal device, tester needs to test for the various functions of this software, but in existing test process, tester often lacks the sense of direction of test, namely do not know emphasis to be tested by which function, and how to test, cause testing poor effect, and then have impact on the service property (quality) of software.
Summary of the invention
The embodiment of the present invention provides a kind of method for testing software and equipment thereof, can promote test effect, ensures the service property (quality) of software.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect provides a kind of method for testing software, can comprise:
When to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Obtain the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Treat described in employing to described, the scene to be measured of brake treats that brake is tested.
Embodiment of the present invention second aspect provides a kind of software test apparatus, can comprise:
Data obtaining module, for when to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Scene acquisition module, for treating the scene to be measured of brake described in obtaining designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Test module, treats to described, the scene to be measured of brake treats that brake is tested described in adopting.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, improve test effect, and then improve the service property (quality) of software.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of method for testing software that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of method for testing software that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of software test apparatus that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of software test apparatus that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the data obtaining module that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the function setting unit that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the method collection determining unit that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the scene number computing unit that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the design duration acquiring unit that the embodiment of the present invention provides;
Figure 10 is the structural representation of another software test apparatus that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method for testing software that the embodiment of the present invention provides can be applied to applies the scene of testing to various software under testing, such as: when to testing until brake in software under testing, the test assignment information of brake is treated described in software test apparatus obtains according to the defective data information of described software under testing and historical testing information, described test assignment information comprises described in cooperation treats that brake carries out the subsidiary function of testing, describedly treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured, described software test apparatus obtains according to described subsidiary function, the scene to be measured of brake is treated described in designed by described method collection to be measured and each method testing scene number to be measured described, and treat that the scene to be measured of brake treats to described the scene etc. that brake is tested described in adopting.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, improve test effect, and then improve the service property (quality) of software.
The software test apparatus that the embodiment of the present invention relates to can comprise: the terminal devices such as computing machine, panel computer, smart mobile phone, notebook computer, palm PC and mobile internet device (MID).
Below in conjunction with accompanying drawing 1 and accompanying drawing 2, the method for testing software that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of method for testing software.As shown in Figure 1, the embodiment of the present invention said method comprising the steps of S101-step S103.
S101, when to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Concrete, when testing software under testing, user can select the function needing to carry out testing at least one function of described software under testing, namely treat brake, software test apparatus can obtain for the described test assignment information treating brake according to the defective data information of described software under testing and historical testing information.Described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured.
Further, described software test apparatus calculates the test preferred value of each function at least one function of software under testing according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, the test Effect value of each method of testing in brake is treated described in described software test apparatus calculates respectively, and treat the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described, described software test apparatus concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured.
S102, obtains the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Concrete, user can treat to described the design that brake carries out scene to be measured according to described subsidiary function, described method collection to be measured and each method testing scene number to be measured described, treats the scene to be measured of brake described in described software test apparatus obtains.
S103, treats described in employing to described, the scene to be measured of brake treats that brake is tested;
Concrete, treat to described, the scene to be measured of brake treats that brake is tested described in described software test apparatus adopts.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, improve test effect, and then improve the service property (quality) of software.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of method for testing software.As shown in Figure 2, the embodiment of the present invention said method comprising the steps of S201-step S207.
S201, when to testing until brake in software under testing, the test preferred value of each function at least one function of software under testing is calculated according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
Concrete, when testing software under testing, user can select the function needing to carry out testing at least one function of described software under testing, namely brake is treated, software test apparatus can calculate the test preferred value of each function at least one function of described software under testing according to defective data information, described defective data information can comprise the time of origin value of each second level defect in the time of origin value of each first level defect and at least one second level defect at least one first level defect in the historical time section preset of each function in described software under testing, the level rule that described first level and described second level are software under testing described set by user carries out the classification of rank, first level defect represents that this defect has considerable influence to this software under testing, namely serious defect, such as: affect the defect etc. that master routine runs, second level defect represents that the impact of this defect on this software under testing is little, i.e. non-serious defect, such as: interface ghost image etc., certainly, above citing is only to the definition of defect, concrete needs are distinguished for each function self-defining of software under testing according to user.Described software test apparatus obtains the function selected by the test preferred value of each function described, and described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating.
Further, described software test apparatus can adopt default ageing computing formula to calculate the ageing coefficient that in described historical time section, arbitrary time value is corresponding, be understandable that, the time period that the defect occurred each function that described historical time section divides for user detects, described software test apparatus needs the time value obtaining first defect that each function finds, the time value of last defect and in this function Current demands get the time value of the defect of ageing coefficient, described ageing computing formula can be: [1-(end time value-Current demands gets the time value of the defect of ageing coefficient)/(end time value-start time value)] * 100, wherein said start time value in described historical time section for arbitrary function in the time value of first defect that finds, described end time value in described historical time section for arbitrary function in the time value of last defect that finds, the time value that described Current demands gets the defect of ageing coefficient is the time value for the defect of the current discovery in arbitrary function in described historical time section, the ageing coefficient of time value corresponding in described preset time period.Such as: for the A function in software under testing, suppose that the time value of first defect found in A function is the X month 1, then the X month 1 was worth as the start time in described historical time section, user can be worth the sets itself end time, such as the X month 5 was worth as the end time in described historical time section, carried out segmentation as time value to described historical time section according to one day, then the ageing coefficient of defect found the X month 1 is [1-(5-1)/(5-1)] * 100=0; The ageing coefficient of defect found the X month 2 is [1-(5-2)/(5-1)] * 100=25; The ageing coefficient of defect found the X month 3 is [1-(5-3)/(5-1)] * 100=50; The ageing coefficient of defect found the X month 4 is [1-(5-4)/(5-1)] * 100=75; The ageing coefficient of defect found the X month 5 is [1-(5-5)/(5-1)] * 100=100 etc., for the calculating exceeding defect that historical time section finds and then do not carry out ageing coefficient.
Described software test apparatus can according to each function described the time of origin value of each first level defect and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary time value and the quantity of second level defect, namely after calculating the ageing coefficient that in described historical time section, arbitrary time value is corresponding, need statistics for the quantity of same time value first level defect and the quantity of second level defect, according to above-mentioned citing, such as: the quantity of the first level defect the X month 1 of acquisition is 3, the quantity of second level defect is 2, it is 2 in the quantity of the first level defect on the X month 2, the quantity of second level defect is 4 etc.
The attribute of described software test apparatus according to first level and the attribute of second level, and according to the quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value, be understandable that, the attribute of described first level and the attribute of second level are the above-mentioned definition to first level and second level, the test weighted value of test weighted calculation formula to described arbitrary time value can be adopted to calculate, described test weighted calculation formula can be (the ageing coefficient of quantity * weights 2* of the quantity * weights 1* ageing coefficient+second level defect of first level defect), weights 1 and weights 2 are carry out respectively defining according to the attribute of described first level and the attribute of second level, in order to the weight of outstanding first level defect, weights 1 need to be greater than weights 2, the value of weights 1 and weights 2 specifically can have user's self-defining, if user is undefined, described software test apparatus can to weights 1 and weights 2 default settings, owing to being calculate for the test weighted value of arbitrary time value, therefore the first level defect of same time value is occurred in and the ageing coefficient of second level defect is identical, according to above-mentioned citing, hypothesis weights 1 is 10, weights 2 are 1, be then (3*10*0+2*1*0)=0 in the test weighted value on the X month 1, be (2*10*25+4*1*25)=600 etc. in the test weighted value on the X month 2.
Described software test apparatus by the test weighted value of all time values of each function described in described historical time section and the test preferred value that is set as each function described, according to above-mentioned citing, for A function, be 0 in the test weighted value on the X month 1, be 600 in the test weighted value on the X month 2, be 900 in the test weighted value on the X month 3, be 1300 in the test weighted value on the X month 4, be 2000 in the test weighted value on the X month 5, then using the test preferred value of 0+600+900+1300+2000=4800 as A function.
The test preferred value of each function described sorts by described software test apparatus, and obtain according to sequence after described in each function test preferred value selected by function, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, according to above-mentioned citing, suppose that the test preferred value of A function is 4800, the test preferred value of the B function in described software under testing is 2200, the test preferred value of C function is 2500 etc., then the test preferred value of each function in software under testing is sorted, preferably sort according to the numerical values recited of test preferred value, select for user, user-selected function setting is treated that brake carries out the subsidiary function of testing by described software test apparatus described in coordinating, it should be noted that, treat that brake also can be subsidiary function, namely treat that brake may for identical function with subsidiary function.
Be understandable that, treat that brake is the tested point for testing software that user selects voluntarily, and subsidiary function is set, can determine which function is high-risk function, testing by treating brake in conjunction with subsidiary function, the effect of the test specification determining to treat brake can be reached.
S202, treats the test Effect value of each method of testing in brake, and treats the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described described in calculating respectively;
Concrete, the quantity of the first level defect that each method of testing detects in brake is treated described in described software test apparatus can obtain, and described in obtaining, treat the quantity of the second level defect that each method of testing detects in brake simultaneously, be understandable that, in the process obtaining first level defect and second level defect, user can for treating that brake uses various test to treat that brake is tested to described, such as: cancel method, iterative method etc., therefore described software test apparatus obtains the quantity of the first level defect that each method of testing finds in described historical time section and the quantity of second level defect.
Described software test apparatus can according to the attribute of the attribute of described first level and described second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described, preferably, described software test apparatus can adopt the test Effect value of test Effect value computing formula to each method of testing to calculate, described test Effect value computing formula is: (the quantity * weights 4 of the quantity * weights 3+ second level defect of first level defect), weights 3 and weights 4 are carry out respectively defining according to the attribute of described first level and the attribute of second level, in order to the weight of outstanding first level defect, weights 3 need to be greater than weights 4, the value of weights 3 and weights 4 specifically can have user's self-defining, if user is undefined, described software test apparatus can to weights 3 and weights 4 default settings.Suppose to treat brake for described, the quantity of the first level defect adopting X method of testing to find in historical time section is 6, and the quantity of second level defect is 5, and weights 3 are 20, weights 4 are 1, then the test Effect value of X method of testing is (6*20+5*1)=125.
Described software test apparatus can sort to the test Effect value of each method of testing described, and obtain according to sequence after described in each method of testing test Effect value selected by least one method of testing, the method collection to be measured that brake adopts is treated described in generating according to described at least one selected method of testing, suppose that the test Effect value of X method of testing is 125, the test Effect value of Y method of testing is 110, the test Effect value of Z method of testing is 130 etc., preferably, can sort according to the numerical values recited of the test Effect value of each method of testing described, select for user, and obtain at least one user-selected method of testing, the method collection to be measured that brake adopts is treated described in generating according at least one selected method of testing.
Being understandable that, by providing the test Effect value for each method of testing treating brake, foundation can being provided for user when selecting method of testing, ensure the high efficiency of method of testing in test process.
S203, concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured;
Concrete, each method testing Effect value to be measured that described software test apparatus is concentrated according to the historical testing information of described software under testing and described method to be measured calculates each method testing scene number to be measured described, described historical testing information comprises the quantity of the history test scene that the complete degree of the history test scene of each history test assignment at least one history test assignment and each history test assignment described complete, each history test assignment described is used to indicate in described software under testing that at least one treats that brake carries out history test, be understandable that, for single history test assignment, can comprise and treat to one or more the process that brake is tested, simultaneously, in preset time period (in such as 1 day), multiple history test assignment can be carried out.
Further, the complete degree that described software test apparatus obtains history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtain the quantity of the history test scene that each first test assignment completes at least one first history test assignment described, the quantity of described software test apparatus to the history test scene that each first test assignment described completes sorts, and the quantity queue obtained according to sorting generates expected test scene number, preferably, sort from big to small according to the numerical values recited of quantity, by obtaining the quantity queue after sequence, obtain the quantity being positioned at the history test scene on the position of 80% to 50% of this quantity queue, such as: suppose there are 30 history test assignments, what wherein belong to the first test assignment has 20, then after sequence, obtain the quantity of the 10th the first test assignment to the history test scene of the 16th the first test assignment, and the numerical value of these quantity is sued for peace, get its average as described expected test scene number.By choosing the quantity of the history test scene on the position of 80% to 50%, the rationality of expected test scene number can be ensured.
Described software test apparatus is according to each method testing Effect value to be measured described, the summation of the test Effect value of described method collection to be measured and described expected test scene number, calculate each method testing scene number to be measured described, preferably, test scene number computing formula can be adopted to calculate each method testing scene number to be measured, described test scene number computing formula is: (summation of the test Effect value of certain method testing Effect value to be measured/method collection to be measured) * expected test scene number, according to above-mentioned citing, suppose to have chosen X method of testing, Y method of testing, Z method of testing is method to be measured, expected test scene number is calculated as 10, test scene number then for X method of testing approximates 3 for [125/ (125+110+130)] * 10, by that analogy.
Be understandable that, in single history test assignment, treat that brake can design multiple test scene respectively for one or more, then due to the restriction of time, all test scenes often cannot be adopted to test, therefore, by choosing the history test assignment not completing all test scenes, and the quantity of getting the test scene that it completes sorts, by choosing the numerical value of the quantity in the centre position after sequence, the rationality of expected test scene number can be ensured, simultaneously expected test scene number can be recommended user and carries out reference, user can carry out according to expected test scene number the adjustment that fluctuates, expected test scene number is made to possess adjustability, improve the rationality of each method testing scene number to be measured further.
S204, treats the design duration of the scene to be measured of current test assignment belonging to brake according to the design duration of the history test scene of each history test assignment described described in obtaining;
Concrete, described historical testing information can also comprise the design duration of the history test scene of each history test assignment described, the design duration of the scene to be measured of current test assignment belonging to brake is treated described in described test assignment information can also comprise, be understandable that, the definition of described current test assignment can see the definition to history test assignment, current and history is adopted to be only the timing of the generation of distinguishing tests task, namely, currently treat test process that brake carries out and belong to a test process in current test assignment, and the test assignment of history test assignment for occurring before current test assignment, such as current test assignment occurs in the X month 10, then history test assignment occurs in the X month 9, the all test assignments occurred the X month 10 all think current test assignment.The design duration of the scene to be measured of current test assignment belonging to brake is treated described in described software test apparatus can obtain according to the design duration of the history test scene of each history test assignment described.
Further, described software test apparatus can sort to the design duration of the history test scene of each the first test assignment described, and described in the duration queue generation obtained according to sorting, treat the design duration of the scene to be measured of current test assignment belonging to brake, the design duration of the scene to be measured of each current test assignment of such as carrying out in the X month 10, the design duration that the duration queue that all adopting sorts obtains generates.Preferably, sort from big to small according to the numerical value of the design duration of the reality of the history test scene of each the first test assignment, duration queue after getting sequence, obtain the design duration be positioned on the position of 80% to 50% of this duration queue, the numerical value of the design duration on these positions is sued for peace, gets the design duration of its average as the scene to be measured of described current test assignment.It should be noted that, design duration numerical value can preset a time period after timeliness, such as: the design duration of the scene to be measured of each current test assignment of carrying out in the X month 10 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 9, and the design duration having arrived the scene to be measured of each current test assignment of carrying out in the X month 11 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 10.
S205, obtains the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Concrete, described software test apparatus is in the design duration of the scene to be measured of described current test assignment, obtain according to described subsidiary function, the scene to be measured of brake is treated described in designed by described method collection to be measured and each method testing scene number to be measured described, be understandable that, multiple brake for the treatment of may be needed in single current test assignment to test, therefore the summation for the design duration of the scene to be measured in single current test assignment needs in the design duration of the scene to be measured of described current test assignment, when exceeding the design duration of scene to be measured of described current test assignment, user is not then allowed to continue to design scene to be measured, and pressure proceeds to the stage that employing scene to be measured carries out testing.
By the design duration of the history test scene according to each the first test assignment, generate the design duration of the scene to be measured of current test assignment, the rationality of Scenario Design duration to be measured can be ensured, simultaneously according to design duration, the process can tested follow-up employing scene to be measured, i.e. implementation, retains the sufficient execution time, and then promotes the effect of test.
S206, treats described in employing to described, the scene to be measured of brake treats that brake is tested;
Concrete, treat to described, the scene to be measured of brake treats that brake is tested described in described software test apparatus adopts, and repeat above-mentioned steps, until complete all tests treating brake in current test assignment.
S207, after completing the test to the scene to be measured of described current test assignment, obtain the test mass information of described current test assignment, described test mass information comprises the complete degree of the design sufficient degree of the scene to be measured of described current test assignment and the scene to be measured of described current test assignment;
Concrete, after completing the test to the scene to be measured of described current test assignment, described software test apparatus can obtain the test mass information of described current test assignment, be understandable that, described design sufficient degree represent for the quantity treating the scene to be measured that each method of testing of brake has designed all in current test assignment with for the ratio treating the summation of the test scene number of each method of testing of brake all in current test assignment; Described complete degree represent for the quantity treating the actual scene to be measured completed of brake all in current test assignment with for the ratio treating the quantity of the scene to be measured that each method of testing of brake has designed all in current test assignment.Preferably, the described test mass information quantity that can also comprise all scenes to be measured do not completed in the actual design duration of the scene all to be measured of described current test assignment, described current test assignment and the quantity etc. of scene to be measured that completes.Be understandable that, by user being made to understand test mass in real time in conjunction with test mass information, and the later stage is continued to treat brake carry out test and provide test index etc.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, determine the design duration to Scenario Design simultaneously, ensure that and the time that scene performs improve test effect; Test mass information can be obtained for after test assignment test, make user understand test mass in real time, and the later stage is continued to treat brake carry out test and provide test index, and then improve the service property (quality) of software.
Below in conjunction with accompanying drawing 3-accompanying drawing 9, the software test apparatus that the embodiment of the present invention provides is described in detail.It should be noted that, software test apparatus shown in accompanying drawing 3-accompanying drawing 9, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Refer to Fig. 3, for embodiments providing a kind of structural representation of software test apparatus.As shown in Figure 3, the described software test apparatus 1 of the embodiment of the present invention can comprise: data obtaining module 11, scene acquisition module 12 and test module 13.
Data obtaining module 11, for when to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
In specific implementation, when testing software under testing, user can select the function needing to carry out testing at least one function of described software under testing, namely treat brake, described data obtaining module 11 can obtain for the described test assignment information treating brake according to the defective data information of described software under testing and historical testing information.Described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured.
Further, described data obtaining module 11 calculates the test preferred value of each function at least one function of software under testing according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, the test Effect value of each method of testing in brake is treated described in described data obtaining module 11 calculates respectively, and treat the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described, described data obtaining module 11 concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured.
Scene acquisition module 12, for treating the scene to be measured of brake described in obtaining designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
In specific implementation, user can treat to described the design that brake carries out scene to be measured according to described subsidiary function, described method collection to be measured and each method testing scene number to be measured described, treats the scene to be measured of brake described in described scene acquisition module 12 obtains.
Test module 13, treats to described, the scene to be measured of brake treats that brake is tested described in adopting;
In specific implementation, described in described test module 13 adopts, treat to described, the scene to be measured of brake treats that brake is tested.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, improve test effect, and then improve the service property (quality) of software.
Refer to Fig. 4, for embodiments providing the structural representation of another kind of software test apparatus.As shown in Figure 4, the described software test apparatus 1 of the embodiment of the present invention can comprise: data obtaining module 11, scene acquisition module 12, test module 13 and quality acquisition module 14.
Data obtaining module 11, for when to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
In specific implementation, when testing software under testing, user can select the function needing to carry out testing at least one function of described software under testing, namely treat brake, described data obtaining module 11 can obtain for the described test assignment information treating brake according to the defective data information of described software under testing and historical testing information.Described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured.
Further, described data obtaining module 11 calculates the test preferred value of each function at least one function of software under testing according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, the test Effect value of each method of testing in brake is treated described in described data obtaining module 11 calculates respectively, and treat the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described, described data obtaining module 11 concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured.
Concrete, please also refer to Fig. 5, for embodiments providing the structural representation of data obtaining module.As shown in Figure 5, described data obtaining module 11 can comprise:
Function setting unit 111, for when to testing until brake in software under testing, the test preferred value of each function at least one function of software under testing is calculated according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
In specific implementation, when testing software under testing, user can select the function needing to carry out testing at least one function of described software under testing, namely brake is treated, described function setting unit 111 can calculate the test preferred value of each function at least one function of described software under testing according to defective data information, described defective data information can comprise the time of origin value of each second level defect in the time of origin value of each first level defect and at least one second level defect at least one first level defect in the historical time section preset of each function in described software under testing, the level rule that described first level and described second level are software under testing described set by user carries out the classification of rank, first level defect represents that this defect has considerable influence to this software under testing, namely serious defect, such as: affect the defect etc. that master routine runs, second level defect represents that the impact of this defect on this software under testing is little, i.e. non-serious defect, such as: interface ghost image etc., certainly, above citing is only to the definition of defect, concrete needs are distinguished for each function self-defining of software under testing according to user.Described function setting unit 111 obtains the function selected by the test preferred value of each function described, and described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating.
Concrete, please also refer to Fig. 6, for embodiments providing the structural representation of function setting unit.As shown in Figure 6, described function setting unit 111 can comprise:
Coefficient calculations subelement 1111, calculates for adopting default ageing computing formula the ageing coefficient that in described historical time section, arbitrary time value is corresponding;
In specific implementation, described coefficient calculations subelement 1111 can adopt default ageing computing formula to calculate the ageing coefficient that in described historical time section, arbitrary time value is corresponding, be understandable that, the time period that the defect occurred each function that described historical time section divides for user detects, described coefficient calculations subelement 1111 needs the time value obtaining first defect that each function finds, the time value of last defect and in this function Current demands get the time value of the defect of ageing coefficient, described ageing computing formula can be: [1-(end time value-Current demands gets the time value of the defect of ageing coefficient)/(end time value-start time value)] * 100, wherein said start time value in described historical time section for arbitrary function in the time value of first defect that finds, described end time value in described historical time section for arbitrary function in the time value of last defect that finds, the time value that described Current demands gets the defect of ageing coefficient is the time value for the defect of the current discovery in arbitrary function in described historical time section, the ageing coefficient of time value corresponding in described preset time period.Such as: for the A function in software under testing, suppose that the time value of first defect found in A function is the X month 1, then the X month 1 was worth as the start time in described historical time section, user can be worth the sets itself end time, such as the X month 5 was worth as the end time in described historical time section, carried out segmentation as time value to described historical time section according to one day, then the ageing coefficient of defect found the X month 1 is [1-(5-1)/(5-1)] * 100=0; The ageing coefficient of defect found the X month 2 is [1-(5-2)/(5-1)] * 100=25; The ageing coefficient of defect found the X month 3 is [1-(5-3)/(5-1)] * 100=50; The ageing coefficient of defect found the X month 4 is [1-(5-4)/(5-1)] * 100=75; The ageing coefficient of defect found the X month 5 is [1-(5-5)/(5-1)] * 100=100 etc., for the calculating exceeding defect that historical time section finds and then do not carry out ageing coefficient.
First quantity obtains subelement 1112, for the time of origin value of each first level defect according to each function described and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary time value and the quantity of second level defect;
In specific implementation, described first quantity obtain subelement 1112 can according to each function described the time of origin value of each first level defect and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary time value and the quantity of second level defect, namely after calculating the ageing coefficient that in described historical time section, arbitrary time value is corresponding, need statistics for the quantity of same time value first level defect and the quantity of second level defect, according to above-mentioned citing, such as: the quantity of the first level defect the X month 1 of acquisition is 3, the quantity of second level defect is 2, it 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 according to the attribute of first level and the attribute of second level, and according to the quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value;
In specific implementation, the attribute of described weighted value computation subunit 1113 according to first level and the attribute of second level, and according to the quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value, be understandable that, the attribute of described first level and the attribute of second level are the above-mentioned definition to first level and second level, the test weighted value of test weighted calculation formula to described arbitrary time value can be adopted to calculate, described test weighted calculation formula can be (the ageing coefficient of quantity * weights 2* of the quantity * weights 1* ageing coefficient+second level defect of first level defect), weights 1 and weights 2 are carry out respectively defining according to the attribute of described first level and the attribute of second level, in order to the weight of outstanding first level defect, weights 1 need to be greater than weights 2, the value of weights 1 and weights 2 specifically can have user's self-defining, if user is undefined, described software test apparatus can to weights 1 and weights 2 default settings, owing to being calculate for the test weighted value of arbitrary time value, therefore the first level defect of same time value is occurred in and the ageing coefficient of second level defect is identical, according to above-mentioned citing, hypothesis weights 1 is 10, weights 2 are 1, be then (3*10*0+2*1*0)=0 in the test weighted value on the X month 1, be (2*10*25+4*1*25)=600 etc. in the test weighted value on the X month 2.
Preferred value setting subelement 1114, for the test weighted value by all time values of each function described in described historical time section and the test preferred value that is set as each function described;
In specific implementation, described preferred value setting subelement 1114 by the test weighted value of all time values of each function described in described historical time section and the test preferred value that is set as each function described, according to above-mentioned citing, for A function, be 0 in the test weighted value on the X month 1, be 600 in the test weighted value on the X month 2, be 900 in the test weighted value on the X month 3, be 1300 in the test weighted value on the X month 4, be 2000 in the test weighted value on the X month 5, then using the test preferred value of 0+600+900+1300+2000=4800 as A function.
Function setting subelement 1115, for sorting to the test preferred value of each function described, and the function obtained selected by the test preferred value of each function described in after sequence, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
In specific implementation, the test preferred value of each function described sorts by described function setting subelement 1115, and obtain according to sequence after described in each function test preferred value selected by function, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, according to above-mentioned citing, suppose that the test preferred value of A function is 4800, the test preferred value of the B function in described software under testing is 2200, the test preferred value of C function is 2500 etc., then the test preferred value of each function in software under testing is sorted, preferably sort according to the numerical values recited of test preferred value, select for user, user-selected function setting is treated that brake carries out the subsidiary function of testing by described function setting subelement 1115 described in coordinating, it should be noted that, treat that brake also can be subsidiary function, namely treat that brake may for identical function with subsidiary function.
Be understandable that, treat that brake is the tested point for testing software that user selects voluntarily, and subsidiary function is set, can determine which function is high-risk function, testing by treating brake in conjunction with subsidiary function, the effect of the test specification determining to treat brake can be reached.
Method collection determining unit 112, for treating the test Effect value of each method of testing in brake described in calculating respectively, and treats the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described;
In specific implementation, the quantity of the first level defect that each method of testing detects in brake is treated described in described method collection determining unit 112 obtains, and obtain the quantity of the second level defect that each method of testing described detects, described method collection determining unit 112 is according to the attribute of first level and the attribute of second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described, the test Effect value of described method collection determining unit 112 to each method of testing described sorts, and obtain according to sequence after described in each method of testing test Effect value selected by least one method of testing, the method collection to be measured that brake adopts is treated described in generating according to described at least one selected method of testing.
Concrete, please also refer to Fig. 7, for embodiments providing the structural representation of method collection determining unit.As shown in Figure 7, described method collection determining unit 112 can comprise:
Second quantity obtains subelement 1121, for treating the quantity of the first level defect that each method of testing detects in brake described in obtaining, and obtains the quantity of the second level defect that each method of testing described detects;
In specific implementation, the quantity of the first level defect that each method of testing detects in brake is treated described in described second quantity acquisition subelement 1121 can obtain, and described in obtaining, treat the quantity of the second level defect that each method of testing detects in brake simultaneously, be understandable that, in the process obtaining first level defect and second level defect, user can for treating that brake uses various test to treat that brake is tested to described, such as: cancel method, iterative method etc., therefore described second quantity obtains subelement 1121 and obtains the quantity of the first level defect that each method of testing finds in described historical time section and the quantity of second level defect.
Effect value computation subunit 1122, for according to the attribute of first level and the attribute of second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described;
In specific implementation, described Effect value computation subunit 1122 can according to the attribute of the attribute of described first level and described second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described, preferably, described Effect value computation subunit 1122 can adopt the test Effect value of test Effect value computing formula to each method of testing to calculate, described test Effect value computing formula is: (the quantity * weights 4 of the quantity * weights 3+ second level defect of first level defect), weights 3 and weights 4 are carry out respectively defining according to the attribute of described first level and the attribute of second level, in order to the weight of outstanding first level defect, weights 3 need to be greater than weights 4, the value of weights 3 and weights 4 specifically can have user's self-defining, if user is undefined, described software test apparatus can to weights 3 and weights 4 default settings.Suppose to treat brake for described, the quantity of the first level defect adopting X method of testing to find in historical time section is 6, and the quantity of second level defect is 5, and weights 3 are 20, weights 4 are 1, then the test Effect value of X method of testing is (6*20+5*1)=125.
Method collection generates subelement 1123, for sorting to the test Effect value of each method of testing described, and at least one method of testing obtained selected by the test Effect value of each method of testing described in after sequence, treat the method collection to be measured that brake adopts described in generating according to described at least one selected method of testing;
In specific implementation, described method collection generates subelement 1123 and can sort to the test Effect value of each method of testing described, and obtain according to sequence after described in each method of testing test Effect value selected by least one method of testing, the method collection to be measured that brake adopts is treated described in generating according to described at least one selected method of testing, suppose that the test Effect value of X method of testing is 125, the test Effect value of Y method of testing is 110, the test Effect value of Z method of testing is 130 etc., preferably, can sort according to the numerical values recited of the test Effect value of each method of testing described, select for user, and obtain at least one user-selected method of testing, the method collection to be measured that brake adopts is treated described in generating according at least one selected method of testing.
Being understandable that, by providing the test Effect value for each method of testing treating brake, foundation can being provided for user when selecting method of testing, ensure the high efficiency of method of testing in test process.
Scene number computing unit 113, calculates each method testing scene number to be measured described for concentrating each method testing Effect value to be measured according to the historical testing information of described software under testing and described method to be measured;
In specific implementation, each method testing Effect value to be measured that the standby historical testing information according to described software under testing of described scene number computing unit 113 and described method to be measured are concentrated calculates each method testing scene number to be measured described, described historical testing information comprises the quantity of the history test scene that the complete degree of the history test scene of each history test assignment at least one history test assignment and each history test assignment described complete, each history test assignment described is used to indicate in described software under testing that at least one treats that brake carries out history test, be understandable that, for single history test assignment, can comprise and treat to one or more the process that brake is tested, simultaneously, in preset time period (in such as 1 day), multiple history test assignment can be carried out.
In specific implementation, please also refer to Fig. 8, for embodiments providing the structural representation of scene number computing unit.As shown in Figure 8, described scene number computing unit 113 can comprise:
3rd quantity obtains subelement 1131, complete degree for obtaining history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtains the quantity of the history test scene that each first test assignment completes at least one first history test assignment described;
Expection scene number generates subelement 1132, and the quantity for the history test scene completed each first test assignment described sorts, and the quantity queue obtained according to sorting generates expected test scene number;
In specific implementation, the complete degree that described 3rd quantity acquisition subelement 1131 obtains history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtain the quantity of the history test scene that each first test assignment completes at least one first history test assignment described, described expection scene number generates the quantity of subelement 1132 to the history test scene that each first test assignment described completes and sorts, and the quantity queue obtained according to sorting generates expected test scene number, preferably, sort from big to small according to the numerical values recited of quantity, by obtaining the quantity queue after sequence, obtain the quantity being positioned at the history test scene on the position of 80% to 50% of this quantity queue, such as: suppose there are 30 history test assignments, what wherein belong to the first test assignment has 20, then after sequence, obtain the quantity of the 10th the first test assignment to the history test scene of the 16th the first test assignment, and the numerical value of these quantity is sued for peace, get its average as described expected test scene number.By choosing the quantity of the history test scene on the position of 80% to 50%, the rationality of expected test scene number can be ensured.
Test scene number computation subunit 1133, for summation and the described expected test scene number of the test Effect value according to each method testing Effect value to be measured described, described method collection to be measured, calculates each method testing scene number to be measured described;
In specific implementation, described test scene number computation subunit 1133 is according to each method testing Effect value to be measured described, the summation of the test Effect value of described method collection to be measured and described expected test scene number, calculate each method testing scene number to be measured described, preferably, test scene number computing formula can be adopted to calculate each method testing scene number to be measured, described test scene number computing formula is: (summation of the test Effect value of certain method testing Effect value to be measured/method collection to be measured) * expected test scene number, according to above-mentioned citing, suppose to have chosen X method of testing, Y method of testing, Z method of testing is method to be measured, expected test scene number is calculated as 10, test scene number then for X method of testing approximates 3 for [125/ (125+110+130)] * 10, by that analogy.
Be understandable that, in single history test assignment, treat that brake can design multiple test scene respectively for one or more, then due to the restriction of time, all test scenes often cannot be adopted to test, therefore, by choosing the history test assignment not completing all test scenes, and the quantity of getting the test scene that it completes sorts, by choosing the numerical value of the quantity in the centre position after sequence, the rationality of expected test scene number can be ensured, simultaneously expected test scene number can be recommended user and carries out reference, user can carry out according to expected test scene number the adjustment that fluctuates, expected test scene number is made to possess adjustability, improve the rationality of each method testing scene number to be measured further.
Design duration acquiring unit 114, treats the design duration of the scene to be measured of current test assignment belonging to brake for the design duration of the history test scene according to each history test assignment described described in obtaining;
In specific implementation, described historical testing information can also comprise the design duration of the history test scene of each history test assignment described, the design duration of the scene to be measured of current test assignment belonging to brake is treated described in described test assignment information can also comprise, be understandable that, the definition of described current test assignment can see the definition to history test assignment, current and history is adopted to be only the timing of the generation of distinguishing tests task, namely, currently treat test process that brake carries out and belong to a test process in current test assignment, and the test assignment of history test assignment for occurring before current test assignment, such as current test assignment occurs in the X month 10, then history test assignment occurs in the X month 9, the all test assignments occurred the X month 10 all think current test assignment.The design duration of the scene to be measured of current test assignment belonging to brake is treated described in described software test apparatus 1 can obtain according to the design duration of the history test scene of each history test assignment described.
Further, described design duration acquiring unit 114 can sort to the design duration of the history test scene of each the first test assignment described, and described in the duration queue generation obtained according to sorting, treat the design duration of the scene to be measured of current test assignment belonging to brake, the design duration of the scene to be measured of each current test assignment of such as carrying out in the X month 10, the design duration that the duration queue that all adopting sorts obtains generates.Preferably, sort from big to small according to the numerical value of the design duration of the reality of the history test scene of each the first test assignment, duration queue after getting sequence, obtain the design duration be positioned on the position of 80% to 50% of this duration queue, the numerical value of the design duration on these positions is sued for peace, gets the design duration of its average as the scene to be measured of described current test assignment.It should be noted that, design duration numerical value can preset a time period after timeliness, such as: the design duration of the scene to be measured of each current test assignment of carrying out in the X month 10 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 9, and the design duration having arrived the scene to be measured of each current test assignment of carrying out in the X month 11 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 10.
Concrete, please also refer to Fig. 9, for embodiments providing the structural representation of design duration acquiring unit.As shown in Figure 9, described design duration acquiring unit 114 can comprise:
Design duration sequence subelement 1141, the design duration for the history test scene to each the first test assignment described sorts;
Design duration generates subelement 1142, treats the design duration of the scene to be measured of current test assignment belonging to brake described in the duration queue for obtaining according to sorting generates;
In specific implementation, described historical testing information can also comprise the design duration of the history test scene of each history test assignment described, the design duration of the scene to be measured of current test assignment belonging to brake is treated described in described test assignment information can also comprise, be understandable that, the definition of described current test assignment can see the definition to history test assignment, current and history is adopted to be only the timing of the generation of distinguishing tests task, namely, currently treat test process that brake carries out and belong to a test process in current test assignment, and the test assignment of history test assignment for occurring before current test assignment, such as current test assignment occurs in the X month 10, then history test assignment occurs in the X month 9, the all test assignments occurred the X month 10 all think current test assignment.The design duration of the scene to be measured of current test assignment belonging to brake is treated described in described software test apparatus 1 can obtain according to the design duration of the history test scene of each history test assignment described.
Further, described design duration sequence subelement 1141 can sort to the design duration of the history test scene of each the first test assignment described, the design duration of the scene to be measured of current test assignment belonging to brake is treated described in the duration queue that described design duration generation subelement 1142 obtains according to sorting generates, the design duration of the scene to be measured of each current test assignment of such as carrying out in the X month 10, the design duration that the duration queue that all adopting sorts obtains generates.Preferably, sort from big to small according to the numerical value of the design duration of the reality of the history test scene of each the first test assignment, duration queue after getting sequence, obtain the design duration be positioned on the position of 80% to 50% of this duration queue, the numerical value of the design duration on these positions is sued for peace, gets the design duration of its average as the scene to be measured of described current test assignment.It should be noted that, design duration numerical value can preset a time period after timeliness, such as: the design duration of the scene to be measured of each current test assignment of carrying out in the X month 10 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 9, and the design duration having arrived the scene to be measured of each current test assignment of carrying out in the X month 11 all calculated according to the design duration of the reality of the history test scene of each first test assignment on the X month 10.
Scene acquisition module 12, for treating the scene to be measured of brake described in obtaining designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
In specific implementation, described scene acquisition module 12 is in the design duration of the scene to be measured of described current test assignment, obtain according to described subsidiary function, the scene to be measured of brake is treated described in designed by described method collection to be measured and each method testing scene number to be measured described, be understandable that, multiple brake for the treatment of may be needed in single current test assignment to test, therefore the summation for the design duration of the scene to be measured in single current test assignment needs in the design duration of the scene to be measured of described current test assignment, when exceeding the design duration of scene to be measured of described current test assignment, user is not then allowed to continue to design scene to be measured, and pressure proceeds to the stage that employing scene to be measured carries out testing.
By the design duration of the history test scene according to each the first test assignment, generate the design duration of the scene to be measured of current test assignment, the rationality of Scenario Design duration to be measured can be ensured, simultaneously according to design duration, the process can tested follow-up employing scene to be measured, i.e. implementation, retains the sufficient execution time, and then promotes the effect of test.
Test module 13, treats to described, the scene to be measured of brake treats that brake is tested described in adopting;
In specific implementation, treat described in described test module 13 adopts to described, the scene to be measured of brake treats that brake is tested, described data obtaining module 11, scene acquisition module 12 and test module 13 will repeat above-mentioned steps, until complete all tests treating brake in current test assignment.
Quality acquisition module 14, for after completing the test to the described scene to be measured until the current test assignment belonging to brake, obtain the test mass information of described current test assignment, described test mass information comprises the complete degree of the design sufficient degree of the scene to be measured of described current test assignment and the scene to be measured of described current test assignment;
In specific implementation, after completing the test to the scene to be measured of described current test assignment, described quality acquisition module 14 can obtain the test mass information of described current test assignment, be understandable that, described design sufficient degree represent for the quantity treating the scene to be measured that each method of testing of brake has designed all in current test assignment with for the ratio treating the summation of the test scene number of each method of testing of brake all in current test assignment; Described complete degree represent for the quantity treating the actual scene to be measured completed of brake all in current test assignment with for the ratio treating the quantity of the scene to be measured that each method of testing of brake has designed all in current test assignment.Preferably, the described test mass information quantity that can also comprise all scenes to be measured do not completed in the actual design duration of the scene all to be measured of described current test assignment, described current test assignment and the quantity etc. of scene to be measured that completes.Be understandable that, by user being made to understand test mass in real time in conjunction with test mass information, and the later stage is continued to treat brake carry out test and provide test index etc.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, determine the design duration to Scenario Design simultaneously, ensure that and the time that scene performs improve test effect; Test mass information can be obtained for after test assignment test, make user understand test mass in real time, and the later stage is continued to treat brake carry out test and provide test index, and then improve the service property (quality) of software.
Refer to Figure 10, for embodiments providing the structural representation of another software test apparatus.As shown in Figure 10, described software test apparatus 1000 can comprise: at least one processor 1001, such as CPU, at least one network interface 1004, user interface 1003, storer 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies.Wherein, user interface 1003 can comprise display screen (Display), keyboard (Keyboard), and optional user interface 1003 can also comprise wireline interface, the wave point of standard.Network interface 1004 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Storer 1005 can be high-speed RAM storer, also can be non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Storer 1005 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 1001.As shown in Figure 10, operating system, network communication module, Subscriber Interface Module SIM and software test application program can be comprised as in a kind of storer 1005 of computer-readable storage medium.
In the software test apparatus 1000 shown in Figure 10, processor 1001 may be used for calling the software test application program stored in storer 1005, and specifically performs following steps:
When to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Obtain the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Treat described in employing to described, the scene to be measured of brake treats that brake is tested.
In one embodiment, processor 1001 perform to obtain according to the defective data information of described software under testing and historical testing information described in when the test assignment information of brake, specifically perform following steps:
The test preferred value of each function at least one function of software under testing is calculated according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
Treat the test Effect value of each method of testing in brake described in calculating respectively, and treat the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described;
Each method testing Effect value to be measured is concentrated to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured.
In one embodiment, described defective data information comprises the time of origin value of each second level defect in the time of origin value of each first level defect and at least one second level defect at least one first level defect in the historical time section preset of each function at least one function of software under testing;
Processor 1001 calculates the test preferred value of each function at least one function of software under testing according to defective data information performing, and the function obtained selected by the test preferred value of each function described, by described selected function setting for described in coordinating when brake carries out the subsidiary function of testing, specifically perform following steps:
The ageing computing formula preset is adopted to calculate the ageing coefficient that in described historical time section, arbitrary time value is corresponding;
According to each function described, the time of origin value of each first level defect and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary 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 quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value;
By the test weighted value of all time values of each function described in described historical time section and the test preferred value that is set as each function described;
The test preferred value of each function described is sorted, and obtains the function selected by the test preferred value of each function described in after sequence, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating.
In one embodiment, the test Effect value of each method of testing in brake treated respectively by processor 1001 described in calculating performing, and described in determining according to the test Effect value of each method of testing described when the method collection to be measured that brake adopts, specifically perform following steps:
Treat the quantity of the first level defect that each method of testing detects in brake described in acquisition, and obtain the quantity of the second level defect that each method of testing described detects;
According to the attribute of first level and the attribute of second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described;
The test Effect value of each method of testing described is sorted, and at least one method of testing obtained selected by the test Effect value of each method of testing described in after sequence, treat the method collection to be measured that brake adopts described in generating according to described at least one selected method of testing.
In one embodiment, described historical testing information comprises the quantity of the history test scene that the complete degree of the history test scene of each history test assignment at least one history test assignment and each history test assignment described complete, and each history test assignment described is used to indicate in described software under testing that at least one treats that brake carries out history test;
Processor 1001, when execution concentrates each method testing Effect value to be measured to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured, specifically performs following steps:
The complete degree obtaining history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtains the quantity of the history test scene that each first test assignment completes at least one first history test assignment described;
The quantity of the history test scene that each first test assignment described completes is sorted, and the quantity queue obtained according to sorting generates expected test scene number;
According to summation and the described expected test scene number of the test Effect value of each method testing Effect value to be measured described, described method collection to be measured, calculate each method testing scene number to be measured described.
In one embodiment, described historical testing information also comprises the design duration of the history test scene of each history test assignment described, treats the design duration of the scene to be measured of current test assignment belonging to brake described in described test assignment information also comprises;
Processor 1001 perform to obtain according to the historical testing information of described software under testing described in when the test assignment information of brake, also perform following steps:
The design duration of the scene to be measured of current test assignment belonging to brake is treated described in obtaining according to the design duration of the history test scene of each history test assignment described.
In one embodiment, processor 1001 perform to obtain according to the design duration of the history test scene of each history test assignment described described in when the design duration of the scene to be measured of test assignment current belonging to brake, specifically perform following steps:
The design duration of the history test scene of each the first test assignment described is sorted;
The design duration of the scene to be measured of current test assignment belonging to brake is treated described in the duration queue obtained according to sorting generates.
In one embodiment, described in processor 1001 obtains designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described in execution when the scene to be measured of brake, specifically following steps are performed:
In the design duration of the scene to be measured of described current test assignment, obtain the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described.
In one embodiment, processor 1001 also performs following steps:
After completing the test to the scene to be measured of described current test assignment, obtain the test mass information of described current test assignment, described test mass information comprises the complete degree of the design sufficient degree of the scene to be measured of described current test assignment and the scene to be measured of described current test assignment.
In embodiments of the present invention, when to testing until brake in software under testing, obtain according to the defective data information of software under testing and historical testing information and treat that carrying of brake to treat described in cooperation that subsidiary function, the method collection to be measured adopted and method to be measured that brake carries out testing concentrate the test assignment information of each method testing scene number to be measured, adopt obtain treat to described, the scene to be measured of brake treats that brake is tested described in designed by subsidiary function, method collection to be measured and each method testing scene number to be measured.By obtaining for the test assignment information treating brake according to the defective data information of software and historical testing information, provide the scene number for the method for testing adopted in the test specification treating brake, test and test, determine the measurement direction treating brake, determine the design duration to Scenario Design simultaneously, ensure that and the time that scene performs improve test effect; Test mass information can be obtained for after test assignment test, make user understand test mass in real time, and the later stage is continued to treat brake carry out test and provide test index, and then improve the service property (quality) of software.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (18)

1. a method for testing software, is characterized in that, comprising:
When to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Obtain the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Treat described in employing to described, the scene to be measured of brake treats that brake is tested.
2. method according to claim 1, is characterized in that, treats the test assignment information of brake, comprising described in the described defective data information according to described software under testing and historical testing information obtain:
The test preferred value of each function at least one function of software under testing is calculated according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
Treat the test Effect value of each method of testing in brake described in calculating respectively, and treat the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described;
Each method testing Effect value to be measured is concentrated to calculate each method testing scene number to be measured described according to the historical testing information of described software under testing and described method to be measured.
3. method according to claim 2, it is characterized in that, described defective data information comprises the time of origin value of each second level defect in the time of origin value of each first level defect and at least one second level defect at least one first level defect in the historical time section preset of each function at least one function of software under testing;
The described test preferred value calculating each function at least one function of software under testing according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating, comprising:
The ageing computing formula preset is adopted to calculate the ageing coefficient that in described historical time section, arbitrary time value is corresponding;
According to each function described, the time of origin value of each first level defect and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary 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 quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value;
By the test weighted value of all time values of each function described in described historical time section and the test preferred value that is set as each function described;
The test preferred value of each function described is sorted, and obtains the function selected by the test preferred value of each function described in after sequence, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating.
4. method according to claim 3, it is characterized in that, the described test Effect value treating each method of testing in brake respectively described in calculating, and treat described in determining according to the test Effect value of each method of testing described to comprise the method collection to be measured that brake adopts:
Treat the quantity of the first level defect that each method of testing detects in brake described in acquisition, and obtain the quantity of the second level defect that each method of testing described detects;
According to the attribute of first level and the attribute of second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described;
The test Effect value of each method of testing described is sorted, and at least one method of testing obtained selected by the test Effect value of each method of testing described in after sequence, treat the method collection to be measured that brake adopts described in generating according to described at least one selected method of testing.
5. method according to claim 4, it is characterized in that, described historical testing information comprises the quantity of the history test scene that the complete degree of the history test scene of each history test assignment at least one history test assignment and each history test assignment described complete, and each history test assignment described is used to indicate in described software under testing that at least one treats that brake carries out history test;
The described historical testing information according to described software under testing and described method to be measured concentrate each method testing Effect value to be measured to calculate each method testing scene number to be measured described, comprising:
The complete degree obtaining history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtains the quantity of the history test scene that each first test assignment completes at least one first history test assignment described;
The quantity of the history test scene that each first test assignment described completes is sorted, and the quantity queue obtained according to sorting generates expected test scene number;
According to summation and the described expected test scene number of the test Effect value of each method testing Effect value to be measured described, described method collection to be measured, calculate each method testing scene number to be measured described.
6. method according to claim 5, it is characterized in that, described historical testing information also comprises the design duration of the history test scene of each history test assignment described, treats the design duration of the scene to be measured of current test assignment belonging to brake described in described test assignment information also comprises;
Treat the test assignment information of brake described in the described historical testing information according to described software under testing obtains, also comprise:
The design duration of the scene to be measured of current test assignment belonging to brake is treated described in obtaining according to the design duration of the history test scene of each history test assignment described.
7. method according to claim 6, is characterized in that, treats the design duration of the scene to be measured of current test assignment belonging to brake, comprising described in the design duration acquisition of the history test scene of each history test assignment described in described basis:
The design duration of the history test scene of each the first test assignment described is sorted;
The design duration of the scene to be measured of current test assignment belonging to brake is treated described in the duration queue obtained according to sorting generates.
8. method according to claim 7, is characterized in that, the scene to be measured of brake is treated in described acquisition described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described, comprising:
In the design duration of the scene to be measured of described current test assignment, obtain the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described.
9. method according to claim 8, is characterized in that, also comprises:
After completing the test to the scene to be measured of described current test assignment, obtain the test mass information of described current test assignment, described test mass information comprises the complete degree of the design sufficient degree of the scene to be measured of described current test assignment and the scene to be measured of described current test assignment.
10. a software test apparatus, is characterized in that, comprising:
Data obtaining module, for when to testing until brake in software under testing, treat the test assignment information of brake described in obtaining according to the defective data information of described software under testing and historical testing information, described test assignment information comprise to treat brake described in cooperation and carry out testing subsidiary function, described in treat that the method collection to be measured that brake adopts and described method to be measured concentrate each method testing scene number to be measured;
Scene acquisition module, for treating the scene to be measured of brake described in obtaining designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described;
Test module, treats to described, the scene to be measured of brake treats that brake is tested described in adopting.
11. equipment according to claim 10, is characterized in that, described data obtaining module comprises:
Function setting unit, for when to testing until brake in software under testing, the test preferred value of each function at least one function of software under testing is calculated according to defective data information, and the function obtained selected by the test preferred value of each function described, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating;
Method collection determining unit, for treating the test Effect value of each method of testing in brake described in calculating respectively, and treats the method collection to be measured that brake adopts described in determining according to the test Effect value of each method of testing described;
Scene number computing unit, calculates each method testing scene number to be measured described for concentrating each method testing Effect value to be measured according to the historical testing information of described software under testing and described method to be measured.
12. equipment according to claim 11, it is characterized in that, described defective data information comprises the time of origin value of each second level defect in the time of origin value of each first level defect and at least one second level defect at least one first level defect in the historical time section preset of each function at least one function of software under testing;
Described function setting unit comprises:
Coefficient calculations subelement, calculates for adopting default ageing computing formula the ageing coefficient that in described historical time section, arbitrary time value is corresponding;
First quantity obtains subelement, for the time of origin value of each first level defect according to each function described and the time of origin value of each second level defect described, obtain the quantity of the first level defect of described arbitrary time value and the quantity of second level defect;
Weighted value computation subunit, for according to the attribute of first level and the attribute of second level, and according to the quantity of first level defect of ageing coefficient corresponding to described arbitrary time value and described arbitrary time value and the quantity of second level defect, calculate the test weighted value of each function described in described arbitrary time value;
Preferred value setting subelement, for the test weighted value by all time values of each function described in described historical time section and the test preferred value that is set as each function described;
Function setting subelement, for sorting to the test preferred value of each function described, and the function obtained selected by the test preferred value of each function described in after sequence, described selected function setting is treated that brake carries out the subsidiary function of testing described in coordinating.
13. equipment according to claim 12, is characterized in that, described method collection determining unit comprises:
Second quantity obtains subelement, for treating the quantity of the first level defect that each method of testing detects in brake described in obtaining, and obtains the quantity of the second level defect that each method of testing described detects;
Effect value computation subunit, for according to the attribute of first level and the attribute of second level, and the quantity of first level defect detected according to each method of testing described and the quantity of second level defect, calculate the test Effect value of each method of testing described;
Method collection generates subelement, for sorting to the test Effect value of each method of testing described, and at least one method of testing obtained selected by the test Effect value of each method of testing described in after sequence, treat the method collection to be measured that brake adopts described in generating according to described at least one selected method of testing.
14. equipment according to claim 13, it is characterized in that, described historical testing information comprises the quantity of the history test scene that the complete degree of the history test scene of each history test assignment at least one history test assignment and each history test assignment described complete, and each history test assignment described is used to indicate in described software under testing that at least one treats that brake carries out history test;
Described scene number computing unit comprises:
3rd quantity obtains subelement, complete degree for obtaining history test scene in each history test assignment described is less than at least one first test assignment of predetermined threshold value, and obtains the quantity of the history test scene that each first test assignment completes at least one first history test assignment described;
Expection scene number generates subelement, and the quantity for the history test scene completed each first test assignment described sorts, and the quantity queue obtained according to sorting generates expected test scene number;
Test scene number computation subunit, for summation and the described expected test scene number of the test Effect value according to each method testing Effect value to be measured described, described method collection to be measured, calculates each method testing scene number to be measured described.
15. methods according to claim 14, it is characterized in that, described historical testing information also comprises the design duration of the history test scene of each history test assignment described, and described test assignment information also comprises the design duration that each treats the scene to be measured of current test assignment belonging to brake;
Described data obtaining module also comprises:
Design duration acquiring unit, treats the design duration of the scene to be measured of current test assignment belonging to brake for the design duration of the history test scene according to each history test assignment described described in obtaining.
16. equipment according to claim 15, is characterized in that, described design duration acquiring unit comprises:
Design duration sequence subelement, the design duration for the history test scene to each the first test assignment described sorts;
Design duration generates subelement, treats the design duration of the scene to be measured of current test assignment belonging to brake described in the duration queue for obtaining according to sorting generates.
17. equipment according to claim 16, it is characterized in that, described scene acquisition module, specifically in the design duration of the scene to be measured of described current test assignment, obtains the scene to be measured treating brake described in designed by described subsidiary function, described method collection to be measured and each method testing scene number to be measured described.
18. equipment according to claim 17, is characterized in that, also comprise:
Quality acquisition module, for after completing the test to the described scene to be measured until the current test assignment belonging to brake, obtain the test mass information of described current test assignment, described test mass information comprises the complete degree of the design sufficient degree of the scene to be measured of described current test assignment and the scene to be measured of described current test assignment.
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 true CN105468503A (en) 2016-04-06
CN105468503B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652416A (en) * 2017-01-10 2017-05-10 国电南瑞三能电力仪表(南京)有限公司 Debugging output method suitable for centralized 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120601A1 (en) * 2006-11-16 2008-05-22 Takashi Ashida Information processing apparatus, method and program for deciding priority of test case to be carried out in regression test background of the invention
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120601A1 (en) * 2006-11-16 2008-05-22 Takashi Ashida Information processing apparatus, method and program for deciding priority of test case to be carried out in regression test background of the invention
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652416A (en) * 2017-01-10 2017-05-10 国电南瑞三能电力仪表(南京)有限公司 Debugging output method suitable for centralized 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

Also Published As

Publication number Publication date
CN105468503B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN110765024B (en) Simulation test method, simulation test device, electronic equipment and computer readable storage medium
CN107357726A (en) A kind of application compatibility method of testing and device
US9558852B2 (en) Method and apparatus for defect repair in NAND memory device
CN110689084B (en) Abnormal user identification method and device
CN105468503A (en) Software test method and device
EP3855362A1 (en) Convolution processing method, apparatus, and storage medium of convolutional neural network
CN105718848A (en) Quality evaluation method and apparatus of fingerprint images
CN104063131A (en) Application display method and device and user terminal
CN111078579A (en) Monkey testing method and device and terminal equipment
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN111897660B (en) Model deployment method, model deployment device and terminal equipment
CN110347493A (en) Processing method, display methods, device, equipment and the storage medium of page data
CN113568821A (en) Method, device, equipment and medium for testing computation performance of AI chip
CN108880700A (en) Frequency hopping method, frequency hopping device and the mobile terminal of clock signal
CN111176918A (en) Server testing method, system, equipment and computer readable storage medium
CN114417780B (en) State synchronization method and device, electronic equipment and storage medium
CN109474933A (en) A kind of localization method and device of pseudo-base station
CN109408309A (en) The test method and device of multiple terminals
CN104506636A (en) Method and device for synchronizing data
CN106302011A (en) Method of testings based on multiterminal and terminal
CN105302691A (en) Metadata performance monitoring method and system
CN114330221B (en) Score board implementation method, score board, electronic device and storage medium
CN104142885A (en) Method and device for carrying out abnormality test on tested program
CN105045490A (en) Image display control method and mobile terminal
CN111210279B (en) Target user prediction method and device and electronic equipment

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