CN108363666A - A kind of Software function test time determines method, apparatus and terminal - Google Patents
A kind of Software function test time determines method, apparatus and terminal Download PDFInfo
- Publication number
- CN108363666A CN108363666A CN201810149695.8A CN201810149695A CN108363666A CN 108363666 A CN108363666 A CN 108363666A CN 201810149695 A CN201810149695 A CN 201810149695A CN 108363666 A CN108363666 A CN 108363666A
- Authority
- CN
- China
- Prior art keywords
- time
- software
- label
- test
- measured
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3419—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
A kind of Software function test time determines method, apparatus and terminal, wherein the Software function test time determines method, including:The type of label to be measured in software under testing is obtained, the label to be measured includes the label that corresponding function is executed after capable of receiving peripheral operation;Determine that the label to be measured executes the response time that corresponding function needs according to the type of the label to be measured;Obtain the number of labels to be measured of each type;According to the response time of the label to be measured and quantity, the testing time for testing the label to be measured is determined.
Description
Technical field
The present invention relates to software test fields, and in particular to a kind of Software function test time determines method, apparatus and end
End.
Background technology
Software test is a kind of correctness, integrality, process of safety and quality for promoting identification software, whole
A process need to carry out test operation to program under the defined conditions, to find program error, weigh software quality, and be to it
The no design requirement that can meet is assessed, and therefore, the process tested software before software enters market is necessary
's.Such as browser/server, i.e. BS (Browser/Server) framework is tested, it is ensured that browser is put into
Stability behind market, when specifying after needing summation function of test assignment, first has to do in software test procedure
Be exactly the plan for formulating a testing time, convenient for testing the time to hair version there are one good control.But it is existing
Test plan is that tester rule of thumb determines that testing time, ununified standard cause different testers true
The fixed testing time is different, influences test process and test effect.
Invention content
Therefore, technical problems to be solved of the embodiment of the present invention are that the existing Software function test time is tester
It rule of thumb determines, ununified standard, causes Software function test time that different testers determine different, influence
Test process and test effect.
In view of this, according in a first aspect, an embodiment of the present invention provides a kind of Software function test times to determine method,
Including:The type of label to be measured in software under testing is obtained, the label to be measured includes being executed accordingly after capable of receiving peripheral operation
The label of function;Determine that the label to be measured executes the response time that corresponding function needs according to the type of the label to be measured;
Obtain the number of labels to be measured of each type;According to the response time of the label to be measured and quantity, test institute is determined
State the testing time of label to be measured.
Preferably, described the step of obtaining the type of label to be measured in software under testing, including:It is grabbed using web crawlers technology
Take the type of label to be measured described in the software under testing.
Preferably, the step of the type that label to be measured described in the software under testing is captured using web crawlers technology
Suddenly, including:Obtain the type specification of the external label to be measured captured to needs;In the target program of the software under testing
In, the label being consistent with the type specification is captured using the web crawlers technology.
Preferably, the step of number of labels to be measured for obtaining each type, including:When the utilization network
When crawler technology grabs the label being consistent with the type specification, add up to the number of labels of the type.
Preferably, it is described obtain each type the number of labels to be measured the step of, further include:Traverse the mark to prestore
Array is signed, wherein the number of tags group includes the corresponding quantity of label to be measured of each type in the software under testing.
Preferably, the type according to the label to be measured determines that the label to be measured executes the sound that corresponding function needs
The step of between seasonable, including:Show the type of the label to be measured got;It receives external to different type label execution phase
Answer the setting of the response time of function needs.
Preferably, the response time and quantity according to the label to be measured determines the survey for testing the label to be measured
The step of trying the time, including:To the label to be measured of each type execute response time that corresponding function needs with
Corresponding quantity carries out product calculation;The result of product is added up, the testing time for testing the label to be measured is obtained.
According to second aspect, an embodiment of the present invention provides a kind of software test times to determine method, including:Using above-mentioned
The Software function test time described in first aspect determines that method determines the Software function test time;It is surveyed according to the software function
It tries the time and executes the personnel amount of Experience of Software Testing Work, determine test time;According to the execution software test work
The personnel amount of work determines that test result writes the time;According to functional test time, the test time, described
Test result writes the time and determines the software test time.
Preferably, the test time includes understanding the business demand time, writing test case time, test case
Evaluate time and test case adjustment time;It is described according to the Software function test time and the execution software test
The personnel amount of work determines the step of testing time, including:It receives external to the people for executing Experience of Software Testing Work
The input operation of member's quantity;According to it is described execute Experience of Software Testing Work personnel amount determine the understanding business demand time,
The test case evaluation time and test case adjustment time;Test is write according to described in functional test time determination
The use-case time.
Preferably, the software test time further includes the regression test time, for providing modification for software developer
The time of program error, the regression test time determine according to the functional test time.
Preferably, described that the time is write according to the functional test time, the test time, the test result
After the step of determining the software test time, further include:Obtain the software complexity of the software under testing;It is multiple according to the software
Miscellaneous degree increases preset time on the basis of having determined that the testing time, wherein the preset time is opposite with the software complexity
It answers.
According to the third aspect, an embodiment of the present invention provides a kind of Software function test time determining devices, including:First
Acquiring unit, the type for obtaining label to be measured in software under testing, the label to be measured include after capable of receiving peripheral operation
Execute the label of corresponding function;First determination unit, for determining that the label to be measured is held according to the type of the label to be measured
The response time that row corresponding function needs;Second acquisition unit, the number of labels to be measured for obtaining each type;The
Two determination units are used for the response time according to the label to be measured and quantity, when determining the test for testing the label to be measured
Between.
According to fourth aspect, an embodiment of the present invention provides software test time determining devices, including:Third determines single
Member, for determining that method determines the Software function test time using the Software function test time described in above-mentioned first aspect;The
Four determination units are determined and are surveyed for the personnel amount according to the Software function test time and execution Experience of Software Testing Work
Try time;5th determination unit, for according to the personnel amount for executing Experience of Software Testing Work, determining that test result is compiled
Write the time;6th determination unit, for being compiled according to the functional test time, the test time, the test result
Writing the time determines the software test time.
According to the 5th aspect, an embodiment of the present invention provides a kind of Software function test times to determine terminal, including:First
Processor, the first processor are connect with first memory, wherein be stored with can be by described first for the first memory
The instruction that device executes is managed, so that the first processor executes the Software function test time determination side described in above-mentioned first aspect
Method.
According to the 6th aspect, an embodiment of the present invention provides a kind of software test times to determine terminal, including:Second processing
Device, the second processor are connect with second memory, wherein be stored with can be by the second processor for the second memory
The instruction of execution, so that the second processor executes the software test time described in above-mentioned second aspect and determines method.
According to the 7th aspect, an embodiment of the present invention provides a kind of non-transient computer readable storage mediums, store thereon
There is computer program, the computer program realizes the Software function test described in above-mentioned first aspect when being executed by processor when
Between determine that the software test time described in method or above-mentioned second aspect determines method.
The Software function test time provided in an embodiment of the present invention determines method, apparatus and terminal, to be measured soft by obtaining
The type for the label to be measured for executing corresponding function after peripheral operation can be received in part, and is waited for according to the determination of the type of label to be measured
Mark label execute the response time that corresponding function needs, while obtaining the number of labels to be measured of each type, according to waiting for mark
The response time of label and quantity determine the testing time for testing label to be measured, that is, the time of Software function test are determined, true
During the entire process of determining the Software function test time, it is not required to the empirically determined of tester, it is only necessary to directly acquire software under testing
In label to be measured type, and determine that different types of label to be measured executes the response time that corresponding function needs, you can obtain
It is the Software function test time, unified to the functional test procedures Plays of each software under testing, it will not be by tester master
Sight experience influences, such as when Software function test knot time for being empirically derived of tester is longer, reduces testing efficiency,
Influence test process;When the Software function test time that tester is empirically derived is shorter, it may not be possible to to be measured soft
Each function of part is fully tested, and influences to test effect, therefore the Software function test provided through the embodiment of the present invention
Method, it is that tester rule of thumb determines to solve the existing Software function test time, and ununified standard causes
The Software function test time that different testers determine is different, the problem of influencing test process and test effect.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is the flow chart for a kind of Software function test time that the embodiment of the present invention 1 provides determining method;
Fig. 2 is the flow chart for a kind of Software function test time that the embodiment of the present invention 2 provides determining method;
Fig. 3 is a kind of structural schematic diagram for Software function test time determining device that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of structural schematic diagram for Software function test time determining device that the embodiment of the present invention 4 provides.
Specific implementation mode
Technical scheme of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation
Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
The every other embodiment that personnel are obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment 1
The embodiment of the present invention 1 provides a kind of Software function test time and determines method, as shown in Figure 1, including:
S11, obtains the type of label to be measured in software under testing, and the label to be measured includes being held after capable of receiving peripheral operation
The label of row corresponding function.Wherein software under testing can be APP, can also be webpage, and the type of label to be measured may include work(
Can button, linking, text box, list, in one particular embodiment of the present invention, which is webpage, on the webpage
Including the label of corresponding function is executed after peripheral operation can be received, for example clickthrough label can open another webpage circle
Face needs when functional test to test from the promptness for clicking to the web interface for showing link;Clicking text box can
Text message is answered with the input phase, when needing to test input text message when carrying out functional test to text frame, if can be timely
Export text message.Wherein when including label array in the target program of software under testing, net can be exported by the method for traversal
The all types of labels for including in the page page.
S12 determines that the label to be measured executes the response time that corresponding function needs according to the type of the label to be measured.
S13 obtains the number of labels to be measured of each type.
S14 determines the testing time for testing the label to be measured according to the response time of the label to be measured and quantity.
In one particular embodiment of the present invention, when the number of response time and the corresponding label to be measured that label to be measured is determined
When amount, the response time of the label to be measured can be calculated with quantity according to preset algorithm, obtain result of calculation;In this hair
In some bright alternative embodiments, the response that corresponding function needs can be executed to the label to be measured of each type
Time carries out product calculation with corresponding quantity;The result of product is subjected to accumulation calculating, obtains testing the label to be measured
Testing time, the testing time of label to be measured in obtaining software under testing, that is, when functional test of the software under testing is determined
Between.
The Software function test time provided in an embodiment of the present invention determines method, can be received by obtaining in software under testing
The type of the label to be measured of corresponding function is executed after peripheral operation, and determines that label to be measured executes phase according to the type of label to be measured
The response time for answering function to need, while the number of labels to be measured of each type is obtained, according to the response time of label to be measured
And quantity, it determines the testing time for testing label to be measured, that is, the time of Software function test is determined, determining software function survey
During the entire process of trying the time, it is not required to the empirically determined of tester, it is only necessary to directly acquire label to be measured in software under testing
Type, and determine that different types of label to be measured executes the response time that corresponding function needs, you can obtain Software function test
It is time, unified to the functional test procedures Plays of each software under testing, it will not be influenced by tester's subjective experience, than
When the Software function test knot time being empirically derived such as tester is longer, testing efficiency is reduced, test process is influenced;
When the Software function test time that tester is empirically derived is shorter, it may not be possible to each function of software under testing
It is fully tested, influences to test effect, therefore the Software function test method provided through the embodiment of the present invention solves existing
The Software function test time is that tester rule of thumb determines, ununified standard causes different testers true
The fixed Software function test time is different, the problem of influencing test process and test effect.
In some alternative embodiments of the present invention, in above-mentioned steps S11, including:Institute is captured using web crawlers technology
State the type of label to be measured described in software under testing.In one particular embodiment of the present invention, it is grabbed using web crawlers technology
The type of label to be measured described in the software under testing is taken, including:Obtain the class of the external label to be measured captured to needs
Type describes;In the target program of the software under testing, is captured using the web crawlers technology and be consistent with the type specification
Label.The type specification of the label to be measured wherein captured to needs can be with the mesh of the formation write-in software under testing of program language
In beacon course sequence, which can correspond to the bookmark name for writing the label to be measured captured to needs exactly, the mark of the label to be measured
Signature claims identical as title of the label in target program.
In some alternative embodiments of the present invention, above-mentioned steps S12 includes:Show the label to be measured got
Type;Receive the external setting that the response time that corresponding function needs is executed to different type label.The present invention's
In one specific embodiment, when getting the type of label to be measured, acquisition can be shown by display window waits for mark
The type of label, tester can input corresponding types label in the display window and execute the response time that corresponding function needs,
For example show that the time of the web interface of link could be provided as 5-30S from clicking to, in order to ensure test quality, this
The preferred 25S of embodiment;The time of the promptness of test text frame input information could be provided as 5-30S, for the purposes of ensureing work(
Energy test quality, the present embodiment is preferably 25S, to the survey of the functional test of the label of each type in certain embodiment of the present invention
The examination time can further determine that more complicated, functional requirement is more according to the complexity and function precision of practical software under testing
Precisely, the testing time of setting is more.
In some alternative embodiments of the present invention, above-mentioned steps S13 includes:It is grabbed when using the web crawlers technology
When getting the label being consistent with the type specification, add up to the number of labels of the type;It can also be pre- by traversing
The mode for the label array deposited, wherein the label to be measured that the number of tags group includes each type in the software under testing corresponds to
Quantity.It in one particular embodiment of the present invention, can be with when including number of labels array in the target program of software under testing
The quantity for all types of labels for including in Webpage is determined by the method for traversal.
Embodiment 2
A kind of software test time that the embodiment of the present invention 2 provides determines method, as shown in Fig. 2, including:
S21, when determining that method determines Software function test using the Software function test time described in above-described embodiment 1
Between.Wherein determine that the specific implementation mode of Software function test time and its effect are as described in example 1 above, it is no longer superfluous herein
It states.
S22 determines that test is accurate according to the Software function test time and the personnel amount of execution Experience of Software Testing Work
The standby time.In one particular embodiment of the present invention, the test time may include understanding the business demand time, compiling
Write test case time, test case evaluation time and test case adjustment time;
It is described according to the Software function test time and it is described execute Experience of Software Testing Work personnel amount, determine survey
The step of trying time, including:The external input to the personnel amount for executing Experience of Software Testing Work is received to operate;According to
It is described execute Experience of Software Testing Work personnel amount determine the understandings business demand time, the test case evaluate the time with
And test case adjustment time;The test case time is write according to described in functional test time determination.The one of the present invention
In a specific embodiment, wherein understanding business demand time, test case evaluation time and test case adjustment time
It can be determined according to 1 day/1 people, when the personnel amount for receiving externally input execution Experience of Software Testing Work is more, understand industry
Required time, test case evaluation time and the test case adjustment time of being engaged in are fewer, such as when the execution received is soft
When the personnel amount of part test job is 2 people, the testing time halves, and can also determine each rank according to the complexity of software under testing
The testing time of section;Since the accuracy that test case is write directly influences test result with comprehensive, therefore test case is compiled
Can be equal to by writing the time by 2 times of the Software function test time, naturally it is also possible to the software complexity tested as needed, it is appropriate true
Determine test case and writes the time.
S23 determines that test result writes the time according to the personnel amount for executing Experience of Software Testing Work.In the present invention
A specific embodiment in, it may include that test report writes the time and when user's manual is write that test result, which writes the time,
Between, for webpage test, it can be determined based on webpage function complexity, preferably 1 day/1 people of the embodiment of the present invention, number
More, the testing time needed is fewer.
S24 writes the time according to the functional test time, the test time, the test result, determines institute
State the software test time.In one particular embodiment of the present invention, accurate when obtaining functional test time of software under testing, test
After standby time and test result write the time, the functional test time of software under testing, test time and test are tied
Fruit write the time added up to get to test one software the time for needing to spend in total, according to the above-mentioned note of the present embodiment
It carries, it, can be by the time showing in each stage in obtained software test procedure out for surveying after obtaining the software test time
Examination personnel use, and the form of display can be the form of table.
The software test time provided in an embodiment of the present invention determines method, accurate according to obtained functional test time, test
Standby time and test result write the time, the time of entire software test are further determined that, in the entire software test time
In determination process, standard is unified, and obtained testing time result is accurate, ensure that the accuracy of software test with it is comprehensive, carry
High software enters the stability that function behind market is run.
The present invention some alternative embodiments in, the software test time further includes the regression test time, for for
Software developer provides the time of modification program error, and the regression test time determines according to the functional test time.
In one particular embodiment of the present invention, the regression test time can be the half of functional test time.
In some alternative embodiments of the present invention, after above-mentioned steps S24, the method further includes:It is waited for described in acquisition
Survey the software complexity of software;Increase preset time on the basis of having determined that the testing time according to the software complexity,
Described in preset time it is corresponding with the software complexity.In one particular embodiment of the present invention, software under testing is soft
Part complexity can use MacCabe loop complexity calculating methods to determine, need tester to understand in the method to be measured
Software function simultaneously can determine that the flow chart for executing corresponding function program, then obtain the item number (E) and number of nodes on side in flow chart
(N), then the calculation formula of annular complexity is V (G)=E-N+2, such as when item number is 8, number of nodes 6, according to formula V (G)
=E-N+2, it is 8-6+2=4 to obtain complexity V (G), then after obtaining complexity, according to calculated complexity factor original
The test plan time adds up on calculating, and can define complexity factor at " 10 or less ", the testing time will not change;
When " 10-20 ", each stage increase by 1 day in test plan;When " 20-30 ", each stage increase by 2 days in test plan;" 30 with
On " when, in test plan each stage increase by 3 days, i.e., complexity is higher, and corresponding increased number of days is more, by being surveyed for software
Examination process the sufficient testing time is provided with ensure the accuracy of test result with it is comprehensive, find program error in time, guarantee
Software enters the stabilization of function operation behind market.
Embodiment 3
The embodiment of the present invention also provides a kind of Software function test time determining device, as shown in figure 3, including:
First acquisition unit 31, the type for obtaining label to be measured in software under testing, the label to be measured includes can
The label of corresponding function is executed after reception peripheral operation;
First determination unit 32, for determining that the label to be measured executes corresponding function according to the type of the label to be measured
The response time needed;
Second acquisition unit 33, the number of labels to be measured for obtaining each type;
Second determination unit 34 is used for the response time according to the label to be measured and quantity, determines that test is described to be measured
The testing time of label.
Software function test time determining device provided in an embodiment of the present invention can be received by obtaining in software under testing
The type of the label to be measured of corresponding function is executed after peripheral operation, and determines that label to be measured executes phase according to the type of label to be measured
The response time for answering function to need, while the number of labels to be measured of each type is obtained, according to the response time of label to be measured
And quantity, it determines the testing time for testing label to be measured, that is, the time of Software function test is determined, determining software function survey
During the entire process of trying the time, it is not required to the empirically determined of tester, it is only necessary to directly acquire label to be measured in software under testing
Type, and determine that different types of label to be measured executes the response time that corresponding function needs, you can obtain Software function test
Time, unified to the functional test procedures Plays of each software under testing, obtained test result science will not be tested
Personnel's subjective experience influences, such as when Software function test knot time for being empirically derived of tester is longer, reduces survey
Efficiency is tried, test process is influenced;When the Software function test time that tester is empirically derived is shorter, it may not be possible to right
Each function of software under testing is fully tested, and influences to test effect, therefore the software work(provided through the embodiment of the present invention
Energy test method, it is that tester rule of thumb determines to solve the existing Software function test time, ununified mark
The problem of standard causes the Software function test time that different testers determine different, influences test process and test effect.
Embodiment 4
The embodiment of the present invention 4 provides a kind of software test time determining device, as shown in figure 4, including:
Third determination unit 41, it is soft for determining that method determines using the Software function test time described in above-described embodiment 1
The part functional test time.
4th determination unit 42, for the personnel according to the Software function test time and execution Experience of Software Testing Work
Quantity determines test time.
5th determination unit 43, for according to the personnel amount for executing Experience of Software Testing Work, determining that test result is compiled
Write the time.
6th determination unit 44, for according to the functional test time, the test time, the test result
The time is write, determines the software test time.
Software test time determining device provided in an embodiment of the present invention, it is accurate according to obtained functional test time, test
Standby time and test result write the time, the time of entire software test are further determined that, in the entire software test time
In determination process, standard is unified, and obtained testing time result is accurate, ensure that the accuracy of software test with it is comprehensive, carry
High software enters the stability that function behind market is run.
Embodiment 5
The embodiment of the present invention 5 also provides a kind of Software function test time and determines terminal, including:
First processor, the first processor are connect with first memory, wherein the first memory is stored with can
The instruction executed by the first processor, so that the first processor executes Software function test described in above-described embodiment 1
Time determines method.
The Software function test time provided in an embodiment of the present invention determines terminal, and first processor is by obtaining software under testing
In can receive the type of the label to be measured that corresponding function is executed after peripheral operation, and determined according to the type of label to be measured to be measured
Label executes the response time that corresponding function needs, while obtaining the number of labels to be measured of each type, according to label to be measured
Response time and quantity, determine the testing time for testing label to be measured, that is, the time of Software function test be determined, in determination
During the entire process of the Software function test time, it is not required to the empirically determined of tester, it is only necessary to directly acquire in software under testing
The type of label to be measured, and determine that different types of label to be measured executes the response time that corresponding function needs, you can it obtains soft
It is the part functional test time, unified to the functional test procedures Plays of each software under testing, it will not be by tester's subjectivity
Experience influences, such as when Software function test knot time for being empirically derived of tester is longer, reduces testing efficiency, shadow
Ring test process;When the Software function test time that tester is empirically derived is shorter, it may not be possible to software under testing
Each function fully tested, influence to test effect, therefore the Software function test side provided through the embodiment of the present invention
Method, it is that tester rule of thumb determines to solve the existing Software function test time, and ununified standard causes not
The Software function test time determined with tester is different, the problem of influencing test process and test effect.
Embodiment 6
The embodiment of the present invention 6 also provides a kind of software test time and determines terminal, including:
Second processor, the second processor are connect with second memory, wherein the second memory is stored with can
The instruction executed by the second processor, when so that the second processor executing the software test described in above-described embodiment 2
Between determine method.
The software test time provided in an embodiment of the present invention determines terminal, accurate according to obtained functional test time, test
Standby time and test result write the time, the time of entire software test are further determined that, in the entire software test time
In determination process, standard is unified, and obtained testing time result is accurate, ensure that the accuracy of software test with it is comprehensive, carry
High software enters the stability that function behind market is run.
Wherein, the first processor in above-described embodiment 5 and embodiment 6 and second processor can be central processing unit
(Central Processing Unit, CPU).First processor can also be other general processors, number with second processor
Word signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific
Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA)
Either other programmable logic device, discrete gate either chips such as transistor logic, discrete hardware components or above-mentioned each
The combination of class chip.General processor can be microprocessor or the processor can also be any conventional processor etc..
Above-described embodiment 5 and first memory in embodiment 6 and second memory can as a kind of non-transient computer
Storage medium is read, can be used for storing non-transient software program, non-transient computer executable program and module, such as the application reality
Apply corresponding program instruction/module in example 3 and embodiment 4.Processor is by running non-transient software stored in memory
Program, instruction and module, the various function application to execute server and data processing realize that the above method is implemented
Example.
First memory and second memory may include storing program area and storage data field, wherein storing program area
Operating terminal, the required application program of at least one function can be stored;Storage data field can be stored according to information processing unit
Use created data etc..In addition, first memory and second memory may include high-speed random access memory, also
May include non-transient memory, a for example, at least disk memory, flush memory device or other non-transient solid-state memories
Part.One or more of modules are stored in the first memory and second memory, when by one or more
When a first processor and second processor execute, method as depicted in figs. 1 and 2 is executed.
The said goods can perform the method that the embodiment of the present invention is provided, and has the corresponding function module of execution method and has
Beneficial effect, the not technical detail of detailed description in the present embodiment, for details, reference can be made to the phases in embodiment as shown in Figure 1 and Figure 2
Close description.
The embodiment of the present invention additionally provides a kind of non-transient computer storage medium, and the computer storage media is stored with
Computer executable instructions, the computer executable instructions can perform the method in above-mentioned any means embodiment.Wherein, described
Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM), random access memory
(Random Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, contracting
It writes:) or solid state disk (Solid-State Drive, SSD) etc. HDD;The storage medium can also include depositing for mentioned kind
The combination of reservoir.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.
Claims (16)
1. a kind of Software function test time determines method, which is characterized in that including:
The type of label to be measured in software under testing is obtained, the label to be measured includes executing corresponding work(after capable of receiving peripheral operation
The label of energy;
Determine that the label to be measured executes the response time that corresponding function needs according to the type of the label to be measured;
Obtain the number of labels to be measured of each type;
According to the response time of the label to be measured and quantity, the testing time for testing the label to be measured is determined.
2. according to the method described in claim 1, it is characterized in that, the step for obtaining the type of label to be measured in software under testing
Suddenly, including:The type of label to be measured described in the software under testing is captured using web crawlers technology.
3. according to the method described in claim 2, it is characterized in that, described capture the software under testing using web crawlers technology
Described in label to be measured type the step of, including:
Obtain the type specification of the external label to be measured captured to needs;
In the target program of the software under testing, the mark being consistent with the type specification is captured using the web crawlers technology
Label.
4. according to the method described in claim 3, it is characterized in that, the number of labels to be measured for obtaining each type
The step of, including:
When grabbing the label being consistent with the type specification using the web crawlers technology, to the number of tags of the type
Amount adds up.
5. according to the method described in claim 1, it is characterized in that, the number of labels to be measured for obtaining each type
The step of, further include:
The label array to prestore is traversed, wherein the number of tags group includes the label to be measured of each type in the software under testing
Corresponding quantity.
6. according to the method described in claim 1, it is characterized in that, described wait for according to described in the determination of the type of the label to be measured
Mark label execute the step of response time that corresponding function needs, including:
Show the type of the label to be measured got;
Receive the external setting that the response time that corresponding function needs is executed to different type label.
7. according to the method described in claim 1, it is characterized in that, the response time and number according to the label to be measured
The step of amount, the determining testing time for testing the label to be measured, including:
The response time and the progress of corresponding quantity that corresponding function needs are executed to the label to be measured of each type
Product calculation;
The result of product is added up, the testing time for testing the label to be measured is obtained.
8. a kind of software test time determines method, which is characterized in that including:
When determining that method determines Software function test using the Software function test time described in any one of claim 1-7
Between;
According to the Software function test time and the personnel amount of execution Experience of Software Testing Work, test time is determined;
According to the personnel amount for executing Experience of Software Testing Work, determine that test result writes the time;
The time is write according to the functional test time, the test time, the test result, determines that the software is surveyed
Try the time.
9. according to the method described in claim 8, it is characterized in that, the test time includes when understanding business demand
Between, write test case time, test case evaluation time and test case adjustment time;
It is described according to the Software function test time and the personnel amount for executing Experience of Software Testing Work, determine that test is accurate
The step of standby time, including:
The external input to the personnel amount for executing Experience of Software Testing Work is received to operate;
Determine that the understanding business demand time, the test case comment according to the personnel amount for executing Experience of Software Testing Work
Examine time and test case adjustment time;
The test case time is write according to described in functional test time determination.
10. according to the method described in claim 8, it is characterized in that, the software test time further includes the regression test time,
Time for providing modification program error for software developer, the regression test time is according to the functional test time
It determines.
11. according to the method described in claim 8, it is characterized in that, described accurate according to the functional test time, the test
After standby time, the test result write the step of determining software test time time, further include:
Obtain the software complexity of the software under testing;
Increase preset time on the basis of having determined that the testing time according to the software complexity, wherein the preset time with
The software complexity is corresponding.
12. a kind of Software function test time determining device, which is characterized in that including:
First acquisition unit, the type for obtaining label to be measured in software under testing, the label to be measured include can receive it is outer
The label of corresponding function is executed after portion's operation;
First determination unit, for determining that the label to be measured executes what corresponding function needed according to the type of the label to be measured
Response time;
Second acquisition unit, the number of labels to be measured for obtaining each type;
Second determination unit is used for the response time according to the label to be measured and quantity, determines and tests the label to be measured
Testing time.
13. a kind of software test time determining device, which is characterized in that including:
Third determination unit, for determining that method is true using the Software function test time described in any one of claim 1-7
Determine the Software function test time;
4th determination unit is used for according to the Software function test time and executes the personnel amount of Experience of Software Testing Work,
Determine test time;
5th determination unit, for according to the personnel amount for executing Experience of Software Testing Work, determining that test result writes the time;
6th determination unit, when for being write according to the functional test time, the test time, the test result
Between, determine the software test time.
14. a kind of Software function test time determines terminal, which is characterized in that including:
First processor, the first processor are connect with first memory, wherein the first memory is stored with can be by institute
The instruction of first processor execution is stated, so that the first processor perform claim requires any one of the 1-7 software functions
Testing time determines method.
15. a kind of software test time determines terminal, which is characterized in that including:
Second processor, the second processor are connect with second memory, wherein the second memory is stored with can be by institute
The instruction of second processor execution is stated, so that the second processor perform claim requires the software described in any one of 8-11 to survey
The examination time determines method.
16. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the calculating
Realize that the Software function test time described in any one of claim 1-7 determines method or power when machine program is executed by processor
Profit requires the software test time described in any one of 8-11 to determine method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149695.8A CN108363666A (en) | 2018-02-13 | 2018-02-13 | A kind of Software function test time determines method, apparatus and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810149695.8A CN108363666A (en) | 2018-02-13 | 2018-02-13 | A kind of Software function test time determines method, apparatus and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108363666A true CN108363666A (en) | 2018-08-03 |
Family
ID=63002725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810149695.8A Withdrawn CN108363666A (en) | 2018-02-13 | 2018-02-13 | A kind of Software function test time determines method, apparatus and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108363666A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101989228A (en) * | 2009-08-07 | 2011-03-23 | 中兴通讯股份有限公司 | Estimation method and device of execution time of test plan |
CN102576432A (en) * | 2009-10-08 | 2012-07-11 | 国际商业机器公司 | Automated test execution plan generation |
CN103279831A (en) * | 2013-06-27 | 2013-09-04 | 李岩 | Method for achieving management system for evaluating software test quality and development capacity |
CN104794050A (en) * | 2014-01-21 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method, device and system |
CN106844196A (en) * | 2016-12-22 | 2017-06-13 | 福建瑞之付微电子有限公司 | A kind of payment terminal embedded software test Workload Account system |
US20170371773A1 (en) * | 2016-06-22 | 2017-12-28 | International Business Machines Corporation | Optimizing Execution Order of System Interval Dependent Test Cases |
-
2018
- 2018-02-13 CN CN201810149695.8A patent/CN108363666A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101989228A (en) * | 2009-08-07 | 2011-03-23 | 中兴通讯股份有限公司 | Estimation method and device of execution time of test plan |
CN102576432A (en) * | 2009-10-08 | 2012-07-11 | 国际商业机器公司 | Automated test execution plan generation |
CN103279831A (en) * | 2013-06-27 | 2013-09-04 | 李岩 | Method for achieving management system for evaluating software test quality and development capacity |
CN104794050A (en) * | 2014-01-21 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method, device and system |
US20170371773A1 (en) * | 2016-06-22 | 2017-12-28 | International Business Machines Corporation | Optimizing Execution Order of System Interval Dependent Test Cases |
CN106844196A (en) * | 2016-12-22 | 2017-06-13 | 福建瑞之付微电子有限公司 | A kind of payment terminal embedded software test Workload Account system |
Non-Patent Citations (3)
Title |
---|
孟磊等: "《软件质量与测试》", 31 March 2015 * |
徐拥军等: "《软件测试技术、方法和环境》", 30 June 2012 * |
王潜平: "《高级计算机程序设计员》", 30 November 2003 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Laukkanen et al. | Problems, causes and solutions when adopting continuous delivery—A systematic literature review | |
WO2019085061A1 (en) | Automatic test management method, apparatus and device for fund system, and storage medium | |
CN101788907B (en) | Automatic generation method for combination service simplified test case and device therefor | |
US9466041B2 (en) | User selected flow graph modification | |
CN103761189B (en) | Test case management method and system | |
CN109614324A (en) | A kind of method for generating test case and device | |
Singh et al. | Comparative analysis of open source automated software testing tools: Selenium, sikuli and watir | |
CN104035863B (en) | A kind of browser testing method and device | |
US10606450B2 (en) | Method and system for visual requirements and component reuse driven rapid application composition | |
KR20140006862A (en) | Flow analysis instrumentation | |
US10572371B2 (en) | Generating valid use cases from a parsed configuration file describing use case options | |
CN110377334A (en) | Continuous integrating method and apparatus | |
Silva et al. | Benchmarking machine learning solutions in production | |
Majors et al. | Observability Engineering | |
CN110908907A (en) | Web page testing method, device, equipment and storage medium | |
Grambow et al. | Using application benchmark call graphs to quantify and improve the practical relevance of microbenchmark suites | |
Wang et al. | Automl from software engineering perspective: Landscapes and challenges | |
CN117472988A (en) | Log checking method, device and equipment for process instance and readable medium | |
CN108363666A (en) | A kind of Software function test time determines method, apparatus and terminal | |
US9852048B2 (en) | Simulating process variable changes during process runtime | |
US11681511B2 (en) | Systems and methods for building and deploying machine learning applications | |
CN108009083A (en) | Functional information acquisition methods and device in a kind of Software function test | |
Kanchanamala et al. | Automated Programming Evaluation using MERN | |
CN104572429B (en) | Page method of testing and device for gathering dvielement | |
CN110062927A (en) | The parallel playback of executable code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210119 Address after: 215163 No. 9 Xuesen Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province Applicant after: Suzhou Lang run innovation intellectual property operation Co.,Ltd. Address before: 100034 4008, 4 floor, 9 building, 56 half moon street, Xicheng District, Beijing. Applicant before: SINOCHAIN TECHNOLOGY Co.,Ltd. |
|
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180803 |