CN109101420A - Determine the method, apparatus and system, terminal of Test Strategy - Google Patents
Determine the method, apparatus and system, terminal of Test Strategy Download PDFInfo
- Publication number
- CN109101420A CN109101420A CN201810805657.3A CN201810805657A CN109101420A CN 109101420 A CN109101420 A CN 109101420A CN 201810805657 A CN201810805657 A CN 201810805657A CN 109101420 A CN109101420 A CN 109101420A
- Authority
- CN
- China
- Prior art keywords
- strategy
- test
- mentioned
- testing
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a kind of method, apparatus of determining Test Strategy and systems, terminal.Wherein, this method comprises: determining the first kind Test Strategy for being used for test application, wherein above-mentioned first kind Test Strategy includes: general policies;During testing above-mentioned application, the second class testing strategy in above-mentioned general policies is obtained, and above-mentioned application is tested using above-mentioned second class testing strategy.The method that the present invention solves the Test Strategy for lacking determining automatic test in the prior art leads to the technical problem that testing efficiency is lower.
Description
Technical field
The present invention relates to field of computer technology, a kind of method, apparatus in particular to determining Test Strategy and are
System, terminal.
Background technique
There is the automatization test system of all kinds of open sources or business currently on the market, is each provided with test object identification, test
Script edit, execution, log such as check, count at the functions, but without providing to the definitions of asset such as Test Strategy management and management
Function, during testing mobile application, the efficiency that will lead to test is lower, influences the test result for testing mobile application.
For the method for the above-mentioned Test Strategy for lacking determining automatic test in the prior art, cause testing efficiency lower
The problem of, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of method, apparatus of determining Test Strategy and systems, terminal, at least
The method for solving to lack the Test Strategy of determining automatic test in the prior art, leads to the technical problem that testing efficiency is lower.
According to an aspect of an embodiment of the present invention, a kind of method of determining Test Strategy is provided, comprising: determination is used for
The first kind Test Strategy of test application, wherein above-mentioned first kind Test Strategy includes: general policies;Testing above-mentioned application
During, the second class testing strategy in above-mentioned general policies is obtained, and above-mentioned using the test of above-mentioned second class testing strategy
Using.
Further, the second class testing strategy in above-mentioned general policies is obtained, comprising: determine in above-mentioned general policies
At least one test substrategy, wherein above-mentioned test substrategy includes at least: test-types strategy, test type strategy, business
Type of policy, APP conflict overlay strategy;By being combined processing to above-mentioned test substrategy, above-mentioned second class testing is obtained
Strategy.
Further, after testing above-mentioned application using above-mentioned second class testing strategy, the above method further include: storage
Above-mentioned second class testing strategy is into presetting database.
Further, before storing above-mentioned second class testing strategy to presetting database, the above method further include: obtain
The testing time of current test application;In the case where above-mentioned testing time is greater than or equal to twice, above-mentioned preset data is obtained
The the second class testing strategy stored in library;In the case where above-mentioned testing time is primary, above-mentioned second class of above-mentioned storage is executed
Step of the Test Strategy into presetting database.
Further, after storing above-mentioned second class testing strategy to presetting database, the above method further include: obtain
The first kind of above-mentioned application;Judge whether the above-mentioned first kind is consistent with Second Type, obtains judging result, wherein above-mentioned
Second Type is the type of application corresponding to above-mentioned second class testing strategy;In the case where above-mentioned judging result, which is, is, obtain
Take the second class testing strategy stored in above-mentioned presetting database.
According to another aspect of an embodiment of the present invention, a kind of system of determining Test Strategy is additionally provided, comprising: processing
Device, for determining the first kind Test Strategy for being used for test application, wherein above-mentioned first kind Test Strategy includes: general policies,
And during testing above-mentioned application, the second class testing strategy in above-mentioned general policies is obtained, and use above-mentioned second class
Test Strategy tests above-mentioned application;Database is connect with above-mentioned processor, for storing above-mentioned first kind Test Strategy and above-mentioned
Second class testing strategy.
Further, above-mentioned processor obtains the second class testing strategy in above-mentioned general policies in the following manner: really
At least one of fixed above-mentioned general policies test substrategy, wherein above-mentioned test substrategy includes at least: test-types plan
Slightly, test type strategy, type of service strategy, APP conflict overlay strategy;By being combined place to above-mentioned test substrategy
Reason, obtains above-mentioned second class testing strategy.
According to another aspect of an embodiment of the present invention, a kind of terminal is additionally provided, human-computer interaction test circle is provided
Face, above-mentioned human-computer interaction interface include: the first interface, for showing the first kind Test Strategy for being used for test application, wherein on
Stating first kind Test Strategy includes: general policies;Second contact surface, for showing the second class testing strategy, wherein above-mentioned second class
Test Strategy is testing the Test Strategy obtained from above-mentioned general policies during above-mentioned application, for testing above-mentioned answer
With.
According to another aspect of an embodiment of the present invention, a kind of terminal is additionally provided, human-computer interaction test circle is provided
Face, above-mentioned human-computer interaction interface include: the first control, and the first choice for receiving user instructs, and in above-mentioned first choice
Above-mentioned first kind Test Strategy is shown under the triggering of instruction;Second control, the child control managed by above-mentioned first control, is used for
The second selection instruction of user is received, and shows above-mentioned second class testing strategy under the triggering of above-mentioned second selection instruction,
In, above-mentioned first kind Test Strategy includes: general policies, and above-mentioned second class testing strategy is during testing above-mentioned application
The Test Strategy obtained from above-mentioned general policies, for testing above-mentioned application.
According to another aspect of an embodiment of the present invention, and a kind of device of determining Test Strategy is provided, comprising: determine mould
Block, for determining the first kind Test Strategy for being used for test application, wherein above-mentioned first kind Test Strategy includes: general policies;
Module is obtained, for obtaining the second class testing strategy in above-mentioned general policies, and use during testing above-mentioned application
Above-mentioned second class testing strategy tests above-mentioned application.
In embodiments of the present invention, the first kind Test Strategy of test application is used for by determining, wherein the above-mentioned first kind
Test Strategy includes: general policies;During testing above-mentioned application, the second class testing plan in above-mentioned general policies is obtained
Slightly, and using above-mentioned second class testing strategy above-mentioned application is tested, has reached and has determined that the automation for testing mobile application is surveyed
The purpose of strategy is tried, to realize the technical effect for improving the testing efficiency of test mobile application, and then solves existing skill
The method for lacking the Test Strategy of determining automatic test in art leads to the technical problem that testing efficiency is lower.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of the method for determining Test Strategy according to an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of the method for optional determining Test Strategy according to an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of the method for optional determining Test Strategy according to an embodiment of the present invention;
Fig. 4 is a kind of step flow chart of the method for optional determining Test Strategy according to an embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of the system of optional determining Test Strategy according to an embodiment of the present invention;
Fig. 6 is a kind of human-computer interaction test interface figure of optional terminal according to an embodiment of the present invention;
Fig. 7 is the human-computer interaction test interface figure of another optional terminal according to an embodiment of the present invention;With
And
Fig. 8 is a kind of structural block diagram of the device of determining Test Strategy according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
The embodiment of the invention provides a kind of embodiments of the method for determining Test Strategy, it should be noted that in attached drawing
The step of process illustrates can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution herein or retouch
The step of stating.
Fig. 1 is a kind of step flow chart of the method for determining Test Strategy according to an embodiment of the present invention, as shown in Figure 1,
This method comprises the following steps:
Step S102 determines the first kind Test Strategy for being used for test application, wherein above-mentioned first kind Test Strategy packet
It includes: general policies;
Step S104 obtains the second class testing strategy in above-mentioned general policies during testing above-mentioned application, and
Above-mentioned application is tested using above-mentioned second class testing strategy.
In embodiments of the present invention, the first kind Test Strategy of test application is used for by determining, wherein the above-mentioned first kind
Test Strategy includes: general policies;During testing above-mentioned application, the second class testing plan in above-mentioned general policies is obtained
Slightly, and using above-mentioned second class testing strategy above-mentioned application is tested, has reached and has determined that the automation for testing mobile application is surveyed
The purpose of strategy is tried, to realize the technical effect for improving the testing efficiency of test mobile application, and then solves existing skill
The method for lacking the Test Strategy of determining automatic test in art leads to the technical problem that testing efficiency is lower.
Which it should be noted that Test Strategy refers to the group method and target of description testing engineering, describe at present at
In the test approaches of progress, (function is surveyed in the test (unit testing, integration testing, system testing) in stage and each stage
Examination, performance test, coverage test etc.).
In a kind of optional embodiment, above-mentioned second class testing strategy can be but be not limited to customized test plan
Slightly, for example, typical customized Test Strategy.
In addition, still it should be noted that, the method for above-mentioned determining Test Strategy provided herein can be used for define and
Manage the Test Strategy towards mobile application automatic test.
In an alternative embodiment, Fig. 2 is a kind of optional determining Test Strategy according to an embodiment of the present invention
The step flow chart of method, as shown in Fig. 2, the second class testing strategy in above-mentioned general policies is obtained in above-mentioned steps S104,
Including following method and step:
Step S202 determines that at least one of above-mentioned general policies test substrategy, wherein above-mentioned test substrategy is extremely
It less include: test-types strategy, test type strategy, type of service strategy, APP conflict overlay strategy;
Step S204 obtains above-mentioned second class testing strategy by being combined processing to above-mentioned test substrategy.
Test Strategy provided in the application includes: universal test strategy, customized Test Strategy and project testing plan
Slightly, each type of Test Strategy includes at least following substrategy: type of service strategy, test-types strategy, test type plan
Slightly, APP Test Strategy.
In addition, in the embodiment of the present application, above-mentioned type of service strategy: containing type, rule numbers, test-types detailed rules and regulations
It describes, whether enable, the information such as remarks;Test-types strategy: it is compiled comprising first class catalogue, second-level directory, three-level catalogue, rule
Number, base rule describe, whether enable, the information such as remarks;It tests type strategy: including brand name, model, model prevalence journey
Whether degree type popularity degree, screen size, main screen resolution ratio, operating system version, Time To Market, special type mark, opens
With information such as, remarks;APP conflicts overlay strategy: comprising APP type, APP title, the information such as whether using.
In above-mentioned steps 202 into step S204, it can be obtained above-mentioned in the case where receiving the selection instruction of user
The second class testing strategy in general policies.
As a kind of optional embodiment, after testing above-mentioned application using above-mentioned second class testing strategy, above-mentioned side
Method further include: the above-mentioned second class testing strategy of storage is into presetting database.
Optionally, above-mentioned presetting database can be the database server of test macro, about above-mentioned each test plan
Relationship slightly.Customized Test Strategy can be obtained from general policies in this application, customized Test Strategy is stored as
Project testing strategy, in order to for subsequent similar test item reference.
In this application, the Excle of offer, WPS Et template completion particular content can be used in tester, then leads to
Import feature is crossed by the database server of content uploading to test macro, in addition, test macro additionally provides increasing, deletes, changes, looking into
Etc. functions, realize within the organization portion unified management.
In an alternative embodiment, Fig. 3 is a kind of optional determining Test Strategy according to an embodiment of the present invention
Method step flow chart, as shown in figure 3, before storing above-mentioned second class testing strategy to presetting database, above-mentioned side
Method further includes following method and step:
Step S302 obtains the testing time of current test application;
Step S304 is obtained and is deposited in above-mentioned presetting database in the case where above-mentioned testing time is greater than or equal to twice
Second class testing strategy of storage;
Step S306 executes the above-mentioned second class testing strategy of above-mentioned storage in the case where above-mentioned testing time is primary
Step into presetting database.
In above-mentioned steps S302 into step S306, in test application, the application also obtains the survey of current test application
Try number, obtain herein testing time be for determining whether the application currently tested is to test for the first time, if it is testing for the first time,
It then first determines the general policies for being used for test application, and then determines the customized Test Strategy for being suitable for this test application, and
The customized Test Strategy that will acquire is stored in above-mentioned presetting database;If not to test for the first time, directly above-mentioned
The customized Test Strategy for being suitable for this test application is obtained in presetting database.
By the above embodiments of the present application, the survey of the mobile application automatic test of test macro internal unity may be implemented
Plan knowledge library is tried, the accumulation and multiplexing of Knowledge Assets are facilitated, and then realizes the testing efficiency for improving test mobile application
Technical effect.
In this application, in an alternative embodiment, Fig. 4 is a kind of optional determination according to an embodiment of the present invention
The step flow chart of the method for Test Strategy, as shown in figure 4, store above-mentioned second class testing strategy to presetting database it
Afterwards, the above method further includes following method and step:
Step S402 obtains the first kind of above-mentioned application;
Step S404 judges whether the above-mentioned first kind is consistent with Second Type, obtains judging result, wherein above-mentioned
Two types are the type of application corresponding to above-mentioned second class testing strategy;
Step S406 obtains the second class stored in above-mentioned presetting database in the case where above-mentioned judging result, which is, is
Test Strategy.
In an alternative embodiment, the above-mentioned first kind and Second Type refer to the type of mobile application;Above-mentioned
Two Test Strategies can store as the project testing strategy in presetting database, answer in order to which follow-up test is identical or similar
With.
In above-mentioned steps S402 into step S406, by the first kind in the application for judging currently to test with it is above-mentioned
The Second Type of the corresponding application stored in presetting database can directly acquire in presetting database if consistent
Project testing strategy, and then the technical effect of the testing efficiency of test mobile application can be improved.
Embodiment 2
The embodiment of the invention also provides a kind of embodiment of the system of determining Test Strategy, Fig. 5 is real according to the present invention
A kind of structural block diagram of the system of optional determining Test Strategy of example is applied, as shown in Figure 5, comprising: processor 50 and database
52,
Wherein, processor 50, for determining the first kind Test Strategy for being used for test application, wherein the above-mentioned first kind is surveyed
Trying strategy includes: general policies, and during testing above-mentioned application, obtains the second class testing plan in above-mentioned general policies
Slightly, and using above-mentioned second class testing strategy above-mentioned application is tested;Database 52 is connect with above-mentioned processor, for storing
State first kind Test Strategy and above-mentioned second class testing strategy.
In embodiments of the present invention, by processor 50, for determining the first kind Test Strategy for being used for test application,
In, above-mentioned first kind Test Strategy includes: general policies, and during testing above-mentioned application, obtains above-mentioned general policies
In the second class testing strategy, and above-mentioned application is tested using above-mentioned second class testing strategy;Database 52, with above-mentioned processor
Connection has reached and has determined for testing mobile answer for storing above-mentioned first kind Test Strategy and above-mentioned second class testing strategy
The purpose of description of automation test strategy, to realize the technical effect for improving the testing efficiency of test mobile application, in turn
The method for solving the Test Strategy for lacking determining automatic test in the prior art causes the lower technology of testing efficiency to be asked
Topic.
Which it should be noted that Test Strategy refers to the group method and target of description testing engineering, describe at present at
In the test approaches of progress, (function is surveyed in the test (unit testing, integration testing, system testing) in stage and each stage
Examination, performance test, coverage test etc.).
In a kind of optional embodiment, above-mentioned second class testing strategy can be but be not limited to customized test plan
Slightly, for example, typical customized Test Strategy.
In addition, still it should be noted that, the method for above-mentioned determining Test Strategy provided herein can be used for define and
Manage the Test Strategy towards mobile application automatic test.
As a kind of optional embodiment, above-mentioned processor obtains the second class in above-mentioned general policies in the following manner
Test Strategy: determine that at least one of above-mentioned general policies test substrategy, wherein above-mentioned test substrategy includes at least:
Test-types strategy, test type strategy, type of service strategy, APP conflict overlay strategy;By to above-mentioned test substrategy into
Row combined treatment obtains above-mentioned second class testing strategy.
Test Strategy provided in the application includes: universal test strategy, customized Test Strategy and project testing plan
Slightly, each type of Test Strategy includes at least following substrategy: type of service strategy, test-types strategy, test type plan
Slightly, APP Test Strategy.
In alternative embodiment provided herein, it can be obtained in the case where receiving the selection instruction of user
The second class testing strategy in above-mentioned general policies.
As a kind of optional embodiment, after testing above-mentioned application using above-mentioned second class testing strategy, above-mentioned side
Method further include: the above-mentioned second class testing strategy of storage is into presetting database.
Optionally, above-mentioned presetting database can be the database server of test macro, about above-mentioned each test plan
Relationship slightly.Customized Test Strategy can be obtained from general policies in this application, customized Test Strategy is stored as
Project testing strategy, in order to for subsequent similar test item reference.
In this application, the Excle of offer, WPS Et template completion particular content can be used in tester, then leads to
Import feature is crossed by the database server of content uploading to test macro, in addition, test macro additionally provides increasing, deletes, changes, looking into
Etc. functions, realize within the organization portion unified management.
It should be noted that any one optional or preferred method for determining Test Strategy in above-described embodiment 1,
It can be determined provided by the present embodiment and execute or realize in the system of Test Strategy.
In addition, still it should be noted that the optional or preferred embodiment of the present embodiment may refer to the phase in embodiment 1
Description is closed, details are not described herein again.
Embodiment 3
The embodiment of the invention also provides a kind of embodiment of terminal, which provides human-computer interaction and surveys
Interface is tried, Fig. 6 is a kind of human-computer interaction test interface figure of optional terminal according to an embodiment of the present invention, such as Fig. 6
Shown, above-mentioned human-computer interaction interface includes: the first interface 60 and second contact surface 62,
Wherein, the first interface 60, for showing the first kind Test Strategy for being used for test application, wherein the above-mentioned first kind
Test Strategy includes: general policies;Second contact surface 62, for showing the second class testing strategy, wherein above-mentioned second class testing plan
Slightly testing the Test Strategy obtained from above-mentioned general policies during above-mentioned application, for testing above-mentioned application.
In addition, still it should be noted that the optional or preferred embodiment of the present embodiment may refer in Examples 1 and 2
Associated description, details are not described herein again.
Embodiment 4
The embodiment of the invention also provides a kind of embodiment of terminal, which provides human-computer interaction and surveys
Interface is tried, Fig. 7 is the human-computer interaction test interface figure of another optional terminal according to an embodiment of the present invention, is such as schemed
Shown in 7, above-mentioned human-computer interaction interface includes: the first control 70 and the second control 72,
Wherein, the first control 70, the first choice for receiving user instruct, and in the triggering of above-mentioned first choice instruction
It is lower to show above-mentioned first kind Test Strategy;Second control 72, the child control managed by above-mentioned first control, for receiving user
The second selection instruction, and above-mentioned second class testing strategy is shown under the triggering of above-mentioned second selection instruction, wherein above-mentioned
A kind of Test Strategy includes: general policies, and above-mentioned second class testing strategy is during testing above-mentioned application from above-mentioned logical
With the Test Strategy obtained in strategy, for testing above-mentioned application.
In addition, still it should be noted that the optional or preferred embodiment of the present embodiment may refer in Examples 1 and 2
Associated description, details are not described herein again.
Embodiment 5
The embodiment of the invention also provides a kind of for implementing the Installation practice of above-mentioned determining Test Strategy method, Fig. 8
It is a kind of structural block diagram of the device of determining Test Strategy according to an embodiment of the present invention, as shown in figure 8, above-mentioned determining test plan
Device slightly, comprising: determining module 80 and acquisition module 82, wherein
Determining module 80, for determining the first kind Test Strategy for being used for test application, wherein above-mentioned first class testing plan
It slightly include: general policies;Module 82 is obtained, for during testing above-mentioned application, obtains the in above-mentioned general policies
Two class testing strategies, and above-mentioned application is tested using above-mentioned second class testing strategy.
It should be noted that above-mentioned modules can be realized by software or hardware, for example, for the latter,
Can be accomplished by the following way: above-mentioned modules can be located in same processor;Alternatively, above-mentioned modules are with any
Combined mode is located in different processors.
Herein it should be noted that above-mentioned determining module 80 and acquisition module 82 correspond to the step S102 in embodiment 1
To step S104, above-mentioned module is identical as example and application scenarios that corresponding step is realized, but is not limited to the above embodiments 1
Disclosure of that.It should be noted that above-mentioned module may operate in terminal as a part of device.
It is retouched it should be noted that the optional or preferred embodiment of the present embodiment may refer to the correlation in Examples 1 and 2
It states, details are not described herein again.
The device of above-mentioned determination Test Strategy can also include processor and memory, above-mentioned determining module 80 and obtain
Modules 82 etc. store in memory as program unit, execute above procedure unit stored in memory by processor
To realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel, above-mentioned kernel can be set
One or more.Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM)
And/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one
Storage chip.
The embodiment of the present application also provides a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium includes
The program of storage, wherein equipment where controlling above-mentioned storage medium in above procedure operation executes any one of the above and determines
The method of Test Strategy.
Optionally, in the present embodiment, above-mentioned storage medium can be located in computer network in computer terminal group
In any one terminal, or in any one mobile terminal in mobile terminal group.
The embodiment of the present application also provides a kind of processors.Optionally, in the present embodiment, above-mentioned processor is for running
Program, wherein above procedure executes the method that any one of the above determines Test Strategy when running.
The embodiment of the present application provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor performs the steps of when executing program determines that the first kind for test application is surveyed
Examination strategy, wherein above-mentioned first kind Test Strategy includes: general policies;During testing above-mentioned application, obtain above-mentioned logical
Above-mentioned application is tested with the second class testing strategy in strategy, and using above-mentioned second class testing strategy.
Optionally, when above-mentioned processor executes program, at least one of above-mentioned general policies test can also be determined
Strategy, wherein above-mentioned test substrategy includes at least: test-types strategy, test type strategy, type of service strategy, APP punching
Prominent overlay strategy;By being combined processing to above-mentioned test substrategy, above-mentioned second class testing strategy is obtained.
Optionally, when above-mentioned processor executes program, above-mentioned second class testing strategy can also be stored to presetting database
In.
Optionally, when above-mentioned processor executes program, the testing time of current test application can also be obtained;In above-mentioned survey
In the case that examination number is greater than or equal to twice, the second class testing strategy stored in above-mentioned presetting database is obtained;Above-mentioned
In the case that testing time is primary, step of the above-mentioned second class testing strategy of above-mentioned storage into presetting database is executed.
Optionally, when above-mentioned processor executes program, the first kind of above-mentioned application can also be obtained;Judge above-mentioned first
Whether type is consistent with Second Type, obtains judging result, wherein above-mentioned Second Type is right for above-mentioned second class testing strategy
The type for the application answered;In the case where above-mentioned judging result, which is, is, obtains the second class stored in above-mentioned presetting database and survey
Examination strategy.
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step: the first kind Test Strategy for being used for test application is determined, wherein above-mentioned first class testing
Strategy includes: general policies;During testing above-mentioned application, the second class testing strategy in above-mentioned general policies is obtained,
And above-mentioned application is tested using above-mentioned second class testing strategy.
Optionally, when above-mentioned computer program product executes program, at least one in above-mentioned general policies can also be determined
A test substrategy, wherein above-mentioned test substrategy includes at least: test-types strategy, test type strategy, type of service plan
Slightly, APP conflict overlay strategy;By being combined processing to above-mentioned test substrategy, above-mentioned second class testing strategy is obtained.
Optionally, when above-mentioned computer program product executes program, above-mentioned second class testing strategy can also be stored to pre-
If in database.
Optionally, when above-mentioned computer program product executes program, the testing time of current test application can also be obtained;
In the case where above-mentioned testing time is greater than or equal to twice, the second class testing plan stored in above-mentioned presetting database is obtained
Slightly;In the case where above-mentioned testing time is primary, the above-mentioned second class testing strategy of above-mentioned storage is executed into presetting database
The step of.
Optionally, when above-mentioned computer program product executes program, the first kind of above-mentioned application can also be obtained;Judgement
Whether the above-mentioned first kind is consistent with Second Type, obtains judging result, wherein above-mentioned Second Type is above-mentioned second class testing
The type of application corresponding to strategy;In the case where above-mentioned judging result, which is, is, obtains and store in above-mentioned presetting database
Second class testing strategy.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method of determining Test Strategy characterized by comprising
Determine the first kind Test Strategy for being used for test application, wherein the first kind Test Strategy includes: general policies;
During testing the application, the second class testing strategy in the general policies is obtained, and use described second
Class testing strategy tests the application.
2. the method according to claim 1, wherein obtain the second class testing strategy in the general policies,
Include:
Determine that at least one of described general policies test substrategy, wherein the test substrategy includes at least: test class
Type strategy, test type strategy, type of service strategy, APP conflict overlay strategy;
By being combined processing to the test substrategy, the second class testing strategy is obtained.
3. the method according to claim 1, wherein testing the application using the second class testing strategy
Later, the method also includes:
The second class testing strategy is stored into presetting database.
4. according to the method described in claim 3, it is characterized in that, storing the second class testing strategy to presetting database
Before, the method also includes:
Obtain the testing time of current test application;
In the case where the testing time is greater than or equal to twice, the second class testing stored in the presetting database is obtained
Strategy;
In the case where the testing time is primary, storage the second class testing strategy is executed into presetting database
The step of.
5. the method according to claim 3 or 4, which is characterized in that storing the second class testing strategy to present count
After library, the method also includes:
Obtain the first kind of the application;
Judge whether the first kind is consistent with Second Type, obtains judging result, wherein the Second Type is described the
The type of application corresponding to two class testing strategies;
In the case where the judging result, which is, is, the second class testing strategy stored in the presetting database is obtained.
6. a kind of system of determining Test Strategy characterized by comprising
Processor, for determining the first kind Test Strategy for being used for test application, wherein the first kind Test Strategy includes:
General policies, and during testing the application, the second class testing strategy in the general policies is obtained, and use institute
It states the second class testing strategy and tests the application;
Database is connected to the processor, for storing the first kind Test Strategy and the second class testing strategy.
7. system according to claim 6, which is characterized in that the processor obtains the general plan in the following manner
The second class testing strategy in slightly: determine that at least one of described general policies test substrategy, wherein the sub- plan of test
It slightly includes at least: test-types strategy, test type strategy, type of service strategy, APP conflict overlay strategy;By to described
Test substrategy is combined processing, obtains the second class testing strategy.
8. a kind of terminal provides human-computer interaction test interface, which is characterized in that the human-computer interaction interface includes:
First interface, for showing the first kind Test Strategy for being used for test application, wherein the first kind Test Strategy packet
It includes: general policies;
Second contact surface, for showing the second class testing strategy, wherein the second class testing strategy is to test the application
The Test Strategy obtained from the general policies in the process, for testing the application.
9. a kind of terminal provides human-computer interaction test interface, which is characterized in that the human-computer interaction interface includes:
First control, the first choice for receiving user instruct, and under the triggering of first choice instruction described in displaying
First kind Test Strategy;
Second control, the child control managed by first control, for receiving the second selection instruction of user, and described
The second class testing strategy is shown under the triggering of second selection instruction, wherein the first kind Test Strategy includes: general plan
Slightly, the second class testing strategy be testing the Test Strategy obtained from the general policies during application,
For testing the application.
10. a kind of device of determining Test Strategy characterized by comprising
Determining module, for determining the first kind Test Strategy for being used for test application, wherein the first kind Test Strategy packet
It includes: general policies;
Module is obtained, for obtaining the second class testing strategy in the general policies during testing the application, and
The application is tested using the second class testing strategy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810805657.3A CN109101420A (en) | 2018-07-20 | 2018-07-20 | Determine the method, apparatus and system, terminal of Test Strategy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810805657.3A CN109101420A (en) | 2018-07-20 | 2018-07-20 | Determine the method, apparatus and system, terminal of Test Strategy |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109101420A true CN109101420A (en) | 2018-12-28 |
Family
ID=64847056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810805657.3A Pending CN109101420A (en) | 2018-07-20 | 2018-07-20 | Determine the method, apparatus and system, terminal of Test Strategy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101420A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134594A (en) * | 2019-04-19 | 2019-08-16 | 平安科技(深圳)有限公司 | Function test method, device and the computer equipment of application including account name |
CN110750447A (en) * | 2019-09-18 | 2020-02-04 | 平安科技(深圳)有限公司 | Software testing method and related equipment |
CN115484081A (en) * | 2022-08-31 | 2022-12-16 | 中汽创智科技有限公司 | Host intrusion detection method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174240A (en) * | 2006-11-03 | 2008-05-07 | 凌阳科技股份有限公司 | Software testing management method and system thereof |
CN105374131A (en) * | 2015-10-28 | 2016-03-02 | 深圳怡化电脑股份有限公司 | Method and device for automatic testing |
CN105912460A (en) * | 2016-04-05 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Software test method and system based on QTP |
US20160335394A1 (en) * | 2015-05-14 | 2016-11-17 | Canon Kabushiki Kaisha | Diagnosis support apparatus and diagnosis support method |
CN107179973A (en) * | 2016-03-10 | 2017-09-19 | 神讯电脑(昆山)有限公司 | Automatization test system and method |
CN107608895A (en) * | 2017-09-22 | 2018-01-19 | 深圳航天科技创新研究院 | Software testing generation method, system and storage medium based on static models |
-
2018
- 2018-07-20 CN CN201810805657.3A patent/CN109101420A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174240A (en) * | 2006-11-03 | 2008-05-07 | 凌阳科技股份有限公司 | Software testing management method and system thereof |
US20160335394A1 (en) * | 2015-05-14 | 2016-11-17 | Canon Kabushiki Kaisha | Diagnosis support apparatus and diagnosis support method |
CN105374131A (en) * | 2015-10-28 | 2016-03-02 | 深圳怡化电脑股份有限公司 | Method and device for automatic testing |
CN107179973A (en) * | 2016-03-10 | 2017-09-19 | 神讯电脑(昆山)有限公司 | Automatization test system and method |
CN105912460A (en) * | 2016-04-05 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Software test method and system based on QTP |
CN107608895A (en) * | 2017-09-22 | 2018-01-19 | 深圳航天科技创新研究院 | Software testing generation method, system and storage medium based on static models |
Non-Patent Citations (1)
Title |
---|
朱东杰 等: "《软件测试与质量保证》", 31 December 2017 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134594A (en) * | 2019-04-19 | 2019-08-16 | 平安科技(深圳)有限公司 | Function test method, device and the computer equipment of application including account name |
CN110134594B (en) * | 2019-04-19 | 2023-08-22 | 平安科技(深圳)有限公司 | Function test method and device for application comprising account name and computer equipment |
CN110750447A (en) * | 2019-09-18 | 2020-02-04 | 平安科技(深圳)有限公司 | Software testing method and related equipment |
CN110750447B (en) * | 2019-09-18 | 2023-07-25 | 平安科技(深圳)有限公司 | Software testing method and related equipment |
CN115484081A (en) * | 2022-08-31 | 2022-12-16 | 中汽创智科技有限公司 | Host intrusion detection method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109670951B (en) | Block chain intelligent contract debugging and publishing method and system | |
CN108510389A (en) | Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain | |
CN107797923B (en) | Code coverage rate analysis method and application server | |
CN109800056A (en) | A kind of block chain dispositions method based on container | |
CN109101420A (en) | Determine the method, apparatus and system, terminal of Test Strategy | |
CN109729131A (en) | A kind of processing method of application request, device and router | |
CN109542767A (en) | Automated testing method, device, computer equipment and storage medium based on block chain | |
CN111258680B (en) | Resource loading method and device, storage medium and electronic device | |
CN107220169B (en) | Method and equipment for simulating server to return customized data | |
CN109376088A (en) | A kind of automatization test system and automated testing method | |
CN110493812A (en) | Processing method, device, system, processor and the main control device of distribution test | |
CN109871217A (en) | Application program installation method and device based on application shop | |
CN108268296A (en) | Loading method, the client and server of page layout | |
CN108664343A (en) | A kind of stateful call method and device of micro services | |
CN108776604A (en) | The execution method and system of goal task | |
CN111651140B (en) | Service method and device based on workflow | |
CN104281488A (en) | Implementation method and system of server engine | |
CN107203464A (en) | The localization method and device of traffic issues | |
CN108647139B (en) | System test method, device, storage medium and electronic device | |
CN107526636A (en) | Resource identification method and device | |
CN106875184A (en) | Abnormal scene analogy method, device and equipment | |
CN107450907A (en) | Compatibility method, mobile terminal and the device with store function of fingerprint module | |
CN117194245A (en) | Automatic test method, device, equipment and storage medium | |
CN110516130A (en) | Metadata processing method and device, storage medium, electronic device | |
CN110069445A (en) | Face image processing process, server and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181228 |