CN109376081A - The generation method and device of Test Strategy - Google Patents

The generation method and device of Test Strategy Download PDF

Info

Publication number
CN109376081A
CN109376081A CN201811128894.7A CN201811128894A CN109376081A CN 109376081 A CN109376081 A CN 109376081A CN 201811128894 A CN201811128894 A CN 201811128894A CN 109376081 A CN109376081 A CN 109376081A
Authority
CN
China
Prior art keywords
test strategy
project
function point
tested
demand information
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
Application number
CN201811128894.7A
Other languages
Chinese (zh)
Inventor
郑钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811128894.7A priority Critical patent/CN109376081A/en
Publication of CN109376081A publication Critical patent/CN109376081A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

This application provides a kind of generation method of Test Strategy and devices, this method comprises: obtaining the product demand information of project to be tested, the product demand information includes front end demand and rear end demand;According to the product demand information of the project to be tested, at least one function point that the project to be tested includes is determined;According at least one described function point, the Test Strategy of the project to be tested is generated.Using the generation method and device of the Test Strategy of the application, the formulation efficiency of Test Strategy can be improved.

Description

The generation method and device of Test Strategy
Technical field
This application involves the field of test technology, and more particularly, to the generation of Test Strategy in the field of test technology Method and apparatus.
Background technique
With the high speed development of internet, project tempo variation in internet is getting faster, and the type of internet project is numerous More, the superiority and inferiority of Test Strategy determines the success or failure that project quality guarantees.
The Test Strategy of most of project is all to be formulated by project testing responsible person according to the project demands of project at present , the dependence of profile and personal experience to project testing responsible person are higher, and formulation efficiency is lower, and accuracy is lower.
Summary of the invention
The application provides the generation method and device of a kind of Test Strategy, can be improved the formulation efficiency of Test Strategy.
To achieve the above object, the application provides a kind of generation method of Test Strategy, including the following contents:
The product demand information of project to be tested is obtained, the product demand information includes front end demand and rear end demand;
According to the product demand information of the project to be tested, at least one function that the project to be tested includes is determined Point;
According at least one described function point, the Test Strategy of the project to be tested is generated.
In one possible implementation, according at least one described function point, the survey of the project to be tested is generated Examination strategy, comprising: according at least one described function point and preset first mapping relations, generate the survey of the project to be tested Examination strategy, first mapping relations indicate the survey of each function point and each function point at least one described function point Corresponding relationship between examination strategy.
In one possible implementation, according at least one described function point, the survey of the project to be tested is generated Examination strategy, comprising: according at least one described function point and preset second mapping relations, generate the survey of the project to be tested Examination strategy, second mapping relations indicate in the first function point and the project to be tested at least one described function point The corresponding relationship between the Test Strategy between other function point in addition to first function point.
In one possible implementation, according at least one described function point, the survey of the project to be tested is generated Examination strategy, comprising: according at least one described function point and Test Strategy analysis model, generate the test of the project to be tested Strategy, the Test Strategy analysis model are used to indicate the mapping relations between function point and Test Strategy.
In one possible implementation, according at least one described function point and Test Strategy analysis model, life Before Test Strategy at the project to be tested, the method also includes: obtain the multiple samples for including in sample database The Test Strategy that the product demand information of each sample items and each sample items use in project;According to described each The product demand information of sample items determines the function point that each sample items include;According to the multiple sample items In the Test Strategy that uses of each sample items function point for including and each sample items, establish the Test Strategy point Analyse model.
In one possible implementation, the method also includes: by the product demand information of the project to be tested It stores with the Test Strategy of the project to be tested into sample database.
In one possible implementation, the front end demand include style sheet, page elements and page and page it Between interaction flow at least one of;The rear end demand includes business rule, operation flow, the friendship between front-end and back-end Mutually, at least one of batch processing, scheduled service and Data processing;The function point includes new field, modification field, expands It fills field and adjusts at least one in position;The Test Strategy includes head end test strategy and back end test strategy.
To achieve the above object, the application also provides a kind of generating means of Test Strategy, which specifically includes:
Acquiring unit, for obtaining the product demand information of project to be tested, the product demand information includes that front end needs Summation rear end demand;
Determination unit, the product demand information of the project to be tested for being obtained according to the acquiring unit determine At least one function point that the project to be tested includes;
Generation unit generates described to be tested at least one function point according to determination unit determination The Test Strategy of project.
In one possible implementation, the generation unit is specifically for according at least one described function point and in advance If the first mapping relations, generate the Test Strategy of the project to be tested, first mapping relations indicate described at least one Corresponding relationship in a function point between each function point and the Test Strategy of each function point.
In one possible implementation, the generation unit is specifically for according at least one described function point and in advance If the second mapping relations, generate the Test Strategy of the project to be tested, second mapping relations indicate described at least one Between other function point in the first function point and the project to be tested in a function point in addition to first function point Test Strategy between corresponding relationship.
In one possible implementation, the generation unit is specifically used for according at least one described function point and survey Analysis of strategies model is tried, generates the Test Strategy of the project to be tested, the Test Strategy analysis model is for indicating function Mapping relations between point and Test Strategy.
In one possible implementation, described device further includes acquiring unit and establishes unit, the acquiring unit For the Test Strategy for according at least one described function point and Test Strategy analysis model, generating the project to be tested it Before, obtain the product demand information of each sample items and each sample in the multiple sample items for including in sample database The Test Strategy that this project uses;The determination unit is also used to the product demand information according to each sample items, really The function point that fixed each sample items include;The unit of establishing is for according to sample each in the multiple sample items The Test Strategy that the function point and each sample items that project includes use, establishes the Test Strategy analysis model.
In one possible implementation, described device further includes storage unit, and the storage unit is used for will be described The Test Strategy of the product demand information of project to be tested and the project to be tested is stored into sample database.
In one possible implementation, the front end demand include style sheet, page elements and page and page it Between interaction flow at least one of;The rear end demand includes business rule, operation flow, the friendship between front-end and back-end Mutually, at least one of batch processing, scheduled service and Data processing;The function point includes new field, modification field, expands It fills field and adjusts at least one in position;The Test Strategy includes head end test strategy and back end test strategy.
To achieve the above object, the application also provides a kind of computer equipment, including memory, processor, communication interface And it is stored in the computer program that can be run on the memory and on the processor, wherein the memory, described It is communicated with each other between processor and the communication interface by internal connecting path, the processor executes the computer journey Following steps are realized when sequence:
The product demand information of project to be tested is obtained, the product demand information includes front end demand and rear end demand;
According to the product demand information of the project to be tested, at least one function that the project to be tested includes is determined Point;
According at least one described function point, the Test Strategy of the project to be tested is generated.
To achieve the above object, the application also provides computer readable storage medium, is stored thereon with computer program, institute It states when computer program is executed by processor and realizes following steps:
The product demand information of project to be tested is obtained, the product demand information includes front end demand and rear end demand;
According to the product demand information of the project to be tested, at least one function that the project to be tested includes is determined Point;
According at least one described function point, the Test Strategy of the project to be tested is generated.
Generation method, device, computer equipment and the computer readable storage medium of Test Strategy provided by the present application, are obtained The product demand information of project to be tested is taken, the product demand information includes front end demand and rear end demand;According to it is described to The product demand information of test item determines at least one function point that the project to be tested includes;According to described at least one A function point generates the Test Strategy of the project to be tested,.Using the generation method of the Test Strategy of the application, device, meter Machine equipment and computer readable storage medium are calculated, can be improved the formulation efficiency of Test Strategy.
Detailed description of the invention
Fig. 1 is the schematic flow chart of the generation method of Test Strategy provided by the embodiments of the present application;
Fig. 2 is the schematic flow chart of the generation method of another Test Strategy provided by the embodiments of the present application;
Fig. 3 is the schematic block diagram of the generating means of Test Strategy provided by the embodiments of the present application;
Fig. 4 is the schematic block diagram of the generating means of Test Strategy provided by the embodiments of the present application.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not For limiting the application.Based on the embodiment in the application, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall in the protection scope of this application.
Fig. 1 shows the schematic flow chart of the generation method 100 of Test Strategy provided by the embodiments of the present application.Ying Li Solution, this method 100 can be executed by the generating means of Test Strategy, hereinafter referred to as device.
S110 obtains the product demand information of project to be tested, which includes that front end demand and rear end need It asks.
Optionally, front end demand described herein includes the interaction between style sheet, page elements and page and page At least one of in process, the embodiment of the present application is not construed as limiting this.
For example, style sheet include typesetting show, the demands such as Color Style.
In another example page elements include selecting or inputting picture and text, the interaction flow between page and page, such as.Link etc. needs It asks.
Optionally, rear end demand described herein includes business rule, operation flow, the friendship between front-end and back-end Mutually, at least one of batch processing, scheduled service and Data processing, the embodiment of the present application is not construed as limiting this.
S120 determines at least one function that the project to be tested includes according to the product demand information of the project to be tested It can point.
Optionally, function point described herein includes new field, modification field, expands in field and adjustment position At least one of, the embodiment of the present application is not construed as limiting this.
Optionally, which can be in several ways according to the product demand information of the project to be tested, and determining should be to At least one function point that test item includes.
In one possible implementation, at least one function point which includes can determine to be artificial , or obtained by existing function-point method tool analysis, the embodiment of the present application is not construed as limiting this.
In alternatively possible implementation, which can be according to the product demand information and function of the project to be tested Energy point analysis model, determines at least one function point that the project to be tested includes, which produces for indicating Corresponding relationship between product demand information and function point.
It should be noted that function point and each sample item that the function-point method model includes according to each sample items Purpose product demand information, by deep learning algorithm one optimal models of training, this model belongs to the set of some function, The output closest to actual result can be obtained according to input by being optimally represented under the criterion of some evaluation, be allowed to through this Function-point method model is by the function that the product demand information MAP of project to be tested is that the project to be tested accordingly exported includes Point.
Optionally, in the device according to the product demand information and function-point method model of the project to be tested, determining should Before at least one function point that project to be tested includes, which can establish the function-point method model.
In one possible implementation, the product demand information of the available multiple sample items of the device is more with this The function point that each sample items include in a sample items;It is each with this according to the product demand information of each sample items The function point that sample items include establishes the function-point method model.
Optionally, which can be based on one or more kinds of supervised learning algorithms.It such as can be mind Through network, decision Tree algorithms, logistic regression algorithm, algorithm of support vector machine or combinational algorithm etc., the embodiment of the present application is not limited to This.
Optionally, the function point which includes can be manually to determine, or pass through existing function point point Analysis tool analysis obtains, and the embodiment of the present application is not construed as limiting this.
Such as: front end demand are as follows: increase referrer's name, rear end demand are as follows: increase in database table and push away in the page Recommend people's name;The then function point of the project to be tested are as follows: newly-increased (referrer's name) field.
S130 generates the Test Strategy of the project to be tested according at least one function point.
Optionally, Test Strategy described herein includes head end test strategy and back end test strategy.
Such as: the function point of the project to be tested are as follows: new field;
Head end test strategy: the new field functional test of front end page, performance test;
Back end test strategy: before database table new field, database new field support the use of front end, interface to support End is incoming and exports, influence of the new field to other historical datas and history function, extension test and regression test.
Optionally, which can be in several ways according to the product demand information of the project to be tested, and determining should be to At least one function point that test item includes, the embodiment of the present application are not construed as limiting this.
In one possible implementation, which can be according at least one function point and preset first mapping Relationship generates the Test Strategy of the project to be tested, which indicates each function at least one function point Corresponding relationship between point and the Test Strategy of each function point.
For example, product demand information of the device according to the project to be tested, determines that the project to be tested includes function point 1 With function point 2, wherein preset first mapping relations are as follows: the corresponding Test Strategy 1 of function point 1 and Test Strategy 2, function point 2 Corresponding Test Strategy 3.The Test Strategy that the project to be tested can be generated in the device is Test Strategy 1, Test Strategy 2 and test Strategy 3.
In alternatively possible implementation, which can reflect according at least one function point and preset second Relationship is penetrated, the Test Strategy of the project to be tested is generated, which indicates first at least one function point The correspondence between the Test Strategy between other function point in function point and the project to be tested in addition to first function point Relationship.
Optionally, which is any function point at least one function point.
Optionally, which can be the existing function point of project to be tested or the product demand information Obtained function point is analyzed, the embodiment of the present application is not construed as limiting this.
For example, product demand information of the device according to the project to be tested, determines that the project to be tested includes function point 1 With function point 2, wherein preset second mapping relations are as follows: in function point 1 and the project to be tested existing function point 3 it Between correspond to Test Strategy 1, the corresponding Test Strategy 2 of existing function point 4 in function point 2 and the project to be tested.The device can be with The Test Strategy for generating the project to be tested is Test Strategy 1 and Test Strategy 2.
In another example product demand information of the device according to the project to be tested, determines that the project to be tested includes function Point 1 and function point 2, wherein preset second mapping relations are as follows: Test Strategy 1 is corresponded between function point 1 and function point 2, function The corresponding Test Strategy 2 of existing function point 4 in 1 and the project to be tested can be put.The project to be tested can be generated in the device Test Strategy is Test Strategy 1 and Test Strategy 2.
In another possible implementation, which can reflect according at least one function point, preset first Relationship and preset second mapping relations are penetrated, the Test Strategy of the project to be tested is generated, which indicates this extremely Corresponding relationship in a few function point between each function point and the Test Strategy of each function point, second mapping relations Indicate other function in the first function point and project to be tested at least one function point in addition to first function point The corresponding relationship between Test Strategy between capable of putting.
For example, product demand information of the device according to the project to be tested, determines that the project to be tested includes function point 1 With function point 2, wherein preset first mapping relations are as follows: the corresponding Test Strategy 1 of function point 1 and Test Strategy 2, function point 2 Corresponding Test Strategy 3, second mapping relations are as follows: correspond to Test Strategy 4 between function point 1 and function point 2, function point 1 and this The corresponding Test Strategy 5 of existing function point 4 in project to be tested.The Test Strategy that the project to be tested can be generated in the device is Test Strategy 1, Test Strategy 2, Test Strategy 3, Test Strategy 4 and Test Strategy 5.
In another possible implementation, which can analyze according at least one function point and Test Strategy Model generates the Test Strategy of the project to be tested, the Test Strategy analysis model for indicate function point and Test Strategy it Between mapping relations.
It should be noted that function point and each sample that the Test Strategy analysis model includes according to each sample items The Test Strategy that project uses, by deep learning algorithm one optimal models of training, this model belongs to the collection of some function It closes, the output closest to actual result can be obtained according to input by being optimally represented under the criterion of some evaluation, allow to lead to Cross the Test Strategy for the project to be tested that the function point of project to be tested is mapped as accordingly exporting by the Test Strategy analysis model.
Optionally, according at least one function point and Test Strategy analysis model, the survey of the project to be tested is generated Before examination strategy, which can establish the Test Strategy analysis model.
Optionally, the production of each sample items in the multiple sample items for including in the available sample database of the device The Test Strategy that product demand information and each sample items use;According to the product demand information of each sample items, really The function point that fixed each sample items include;The function point that includes according to sample items each in multiple sample items and should The Test Strategy that each sample items use establishes the Test Strategy analysis model.
Optionally, this method further include: by the test of the product demand information of the project to be tested and the project to be tested Policy store is into sample database.
The generation method of Test Strategy provided by the present application, obtains the product demand information of project to be tested, which needs Seeking information includes front end demand and rear end demand;According to the product demand information of the project to be tested, the project to be tested is determined Including at least one function point;According at least one function point, the Test Strategy of the project to be tested is generated.Using this Shen The generation method of Test Strategy please can be improved the formulation efficiency of Test Strategy.
That is, using the generation method of Test Strategy provided by the present application, it is only necessary to get project to be tested Product demand information, it will be able to which the therefore Test Strategy that automation provides the project can be improved the specified efficiency of Test Strategy And accuracy.
Fig. 2 shows the schematic flow charts of the generation method 200 of Test Strategy provided by the embodiments of the present application.Ying Li Solution, this method 200 can be executed by above-mentioned apparatus.
S210, obtains the product demand information of project to be tested, and the product demand information includes front end demand and rear end Demand,.
Optionally, front end demand described herein includes the interaction between style sheet, page elements and page and page At least one of in process, the embodiment of the present application is not construed as limiting this.
For example, style sheet include typesetting show, the demands such as Color Style.
In another example page elements include selecting or inputting picture and text, the interaction flow between page and page, such as.Link etc. needs It asks.
Optionally, rear end demand described herein includes business rule, operation flow, the friendship between front-end and back-end Mutually, at least one of batch processing, scheduled service and Data processing, the embodiment of the present application is not construed as limiting this.
S220 determines the project to be tested includes at least one according to the product demand information of the project to be tested A function point.
Optionally, function point described herein includes new field, modification field, expands in field and adjustment position At least one of, the embodiment of the present application is not construed as limiting this.
For example, the device can be according to the product demand information and function-point method model of the project to be tested, determining should At least one function point that project to be tested includes, the function-point method model for indicate product demand information and function point it Between corresponding relationship.
S230 is raw according at least one described function point, preset first mapping relations and preset second mapping relations At the Test Strategy of the project to be tested, first mapping relations indicate each function point at least one described function point Corresponding relationship between the Test Strategy of each function point, second mapping relations indicate at least one described function The test between other function point in the first function point and the project to be tested in point in addition to first function point Corresponding relationship between strategy.
For example, product demand information of the device according to the project to be tested, determines that the project to be tested includes function point 1 With function point 2, wherein preset first mapping relations are as follows: the corresponding Test Strategy 1 of function point 1 and Test Strategy 2, function point 2 Corresponding Test Strategy 3, second mapping relations are as follows: correspond to Test Strategy 4 between function point 1 and function point 2, function point 1 and this The corresponding Test Strategy 5 of existing function point 4 in project to be tested.The Test Strategy that the project to be tested can be generated in the device is Test Strategy 1, Test Strategy 2, Test Strategy 3, Test Strategy 4 and Test Strategy 5.
The generation method that Test Strategy provided by the embodiments of the present application is described above in conjunction with Fig. 1 and Fig. 2, below in conjunction with Fig. 3 and Fig. 4 introduces the generating means of Test Strategy provided by the embodiments of the present application.
Fig. 3 shows the schematic block diagram of the generating means 300 of Test Strategy provided by the embodiments of the present application.The device 300 include:
Acquiring unit 310, for obtaining the product demand information of project to be tested, the product demand information includes front end Demand and rear end demand;
Determination unit 320, the product demand letter of the project to be tested for being obtained according to the acquiring unit 310 Breath, determines at least one function point that the project to be tested includes;
Generation unit 330, for according to the determination unit 320 determine described at least one function point, described in generation The Test Strategy of project to be tested.
Optionally, the generation unit is specifically used for being closed according at least one described function point and preset first mapping System, generates the Test Strategy of the project to be tested, and first mapping relations indicate each at least one described function point Corresponding relationship between function point and the Test Strategy of each function point.
Optionally, the generation unit is specifically used for being closed according at least one described function point and preset second mapping System, generates the Test Strategy of the project to be tested, and second mapping relations indicate at least one described function point Between the Test Strategy between other function point in one function point and the project to be tested in addition to first function point Corresponding relationship.
Optionally, the generation unit is specifically used for according at least one described function point and Test Strategy analysis model, The Test Strategy of the project to be tested is generated, the Test Strategy analysis model is for indicating between function point and Test Strategy Mapping relations.
Optionally, described device further includes acquiring unit and establishes unit, and the acquiring unit is used for described extremely in basis Lack a function point and Test Strategy analysis model, before the Test Strategy for generating the project to be tested, obtains sample data The survey that the product demand information of each sample items and each sample items use in the multiple sample items for including in library Examination strategy;The determination unit is also used to the product demand information according to each sample items, determines each sample The function point that project includes;The function that unit is established for including according to sample items each in the multiple sample items The Test Strategy that point and each sample items use, establishes the Test Strategy analysis model.
Optionally, described device further includes storage unit, and the storage unit is used for the product of the project to be tested Demand information and the Test Strategy of the project to be tested are stored into sample database.
Optionally, the front end demand includes in the interaction flow between style sheet, page elements and page and page At least one of;The rear end demand includes business rule, operation flow, the interaction between front-end and back-end, batch processing, timing industry At least one of business and Data processing;The function point includes new field, modification field, expands field and adjustment position At least one of in setting;The Test Strategy includes head end test strategy and back end test strategy.
Fig. 4 shows the schematic block diagram of the generating means 400 of Test Strategy provided by the embodiments of the present application.The device 400 can use hardware structure as shown in Figure 4 for device 400 described in Fig. 4, the device 400.The device 400 can To include processor 410, communication interface 420 and memory 430, the processor 410, communication interface 420 and memory 430 pass through Internal connecting path communicates with each other.The correlation function that determination unit 320 and generation unit 330 in Fig. 3 are realized can be by Device 410 is managed to realize, the correlation function that acquiring unit 310 is realized can be controlled communication interface 420 by processor 410 real It is existing.
The processor 410 may include be one or more processors, for example including one or more central processing unit (central processing unit, CPU), in the case where processor is a CPU, which can be monokaryon CPU, It can be multi-core CPU.
Specifically, which is used to obtain the product demand information of project to be tested, the product demand packet Include front end demand and rear end demand;According to the product demand information of the project to be tested, determine that the project to be tested includes At least one function point;According at least one described function point, the Test Strategy of the project to be tested is generated.
The communication interface 420 is for inputting and/or outputting data.The communication interface may include that transmission interface and reception connect Mouthful, transmission interface is used for output data, and receiving interface is used for input data.
The memory 430 include but is not limited to be random access memory (random access memory, RAM), only Read memory (read-only memory, ROM), erasable and programable memory (erasable programmable read Only memory, EPROM), CD-ROM (compact disc read-only memory, CD-ROM), the memory 430 For storing dependent instruction and data.
Memory 430 is used to store the program code and data of the device, for individual device or can be integrated in processing In device 410.
Specifically, the processor 410 is for controlling communication interface 420 and other assemblies, for example, function-point method model It is communicated.For details, reference can be made to the descriptions in embodiment of the method, and details are not described herein.
It is designed it is understood that Fig. 4 illustrate only simplifying for device.In practical applications, device 400 can also divide Not Bao Han necessary other elements, including but not limited to any number of communication interface, processor, controller, memory etc., and All devices that the application may be implemented are all within the scope of protection of this application.
In a kind of possible design, which may alternatively be chip apparatus, such as can be that can be used for the dress Chip in setting, for realizing the correlation function of processor 410 in the device.The chip apparatus can be realization correlation function Field programmable gate array, special integrated chip, System on Chip/SoC, central processing unit, network processing unit, Digital Signal Processing electricity Road, microcontroller can also use programmable controller or other integrated chips.It optionally may include one in the chip Or multiple memories, for storing program code, when the code is performed, so that processor realizes corresponding function.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical 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 In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of generation method of Test Strategy characterized by comprising
The product demand information of project to be tested is obtained, the product demand information includes front end demand and rear end demand;
According to the product demand information, at least one function point that the project to be tested includes is determined;
According at least one described function point, the Test Strategy of the project to be tested is generated.
2. the method according to claim 1, wherein being generated described to be measured according at least one described function point The Test Strategy of examination project, comprising:
According at least one described function point and preset first mapping relations, the Test Strategy of the project to be tested is generated, First mapping relations indicate the Test Strategy of each function point and each function point at least one described function point Between corresponding relationship.
3. the method according to claim 1, wherein being generated described to be measured according at least one described function point The Test Strategy of examination project, comprising:
According at least one described function point and preset second mapping relations, the Test Strategy of the project to be tested is generated, Second mapping relations indicate in the first function point and the project to be tested at least one described function point except described The corresponding relationship between the Test Strategy between other function point except first function point.
4. the method according to claim 1, wherein being generated described to be measured according at least one described function point The Test Strategy of examination project, comprising:
According at least one described function point and Test Strategy analysis model, the Test Strategy of the project to be tested, institute are generated Test Strategy analysis model is stated for indicating the mapping relations between function point and Test Strategy.
5. according to the method described in claim 4, it is characterized in that, according at least one described function point and Test Strategy point Model is analysed, before the Test Strategy for generating the project to be tested, the method also includes:
Obtain in the multiple sample items for including in sample database the product demand information of each sample items and described each The Test Strategy that sample items use;
According to the product demand information of each sample items, the function point that each sample items include is determined;
The survey that the function point and each sample items for including according to sample items each in the multiple sample items use Examination strategy, establishes the Test Strategy analysis model.
6. the method according to any one of claims 1 to 5, which is characterized in that the method also includes:
The Test Strategy of the product demand information of the project to be tested and the project to be tested is stored to sample database In.
7. the method according to any one of claims 1 to 5, which is characterized in that
The front end demand include in the interaction flow between style sheet, page elements and page and page at least one of;
The rear end demand include business rule, operation flow, the interaction between front-end and back-end, batch processing, scheduled service with At least one of and Data processing;
The function point includes new field, modification field, expands field and adjust at least one in position;
The Test Strategy includes head end test strategy and back end test strategy.
8. a kind of generating means of Test Strategy characterized by comprising
Acquiring unit, for obtaining the product demand information of project to be tested, the product demand information include front end demand and Rear end demand;
Determination unit, the product demand information for being obtained according to the acquiring unit, determines the project packet to be tested At least one function point included;
Generation unit generates the project to be tested at least one function point according to determination unit determination Test Strategy.
9. a kind of computer equipment, including memory, processor, communication interface and it is stored on the memory and can be in institute State the computer program run on processor, wherein pass through between the memory, the processor and the communication interface Internal connecting path communicates with each other, which is characterized in that realizes that aforesaid right is wanted when the processor executes the computer program The step of method described in asking any one of 1 to 7.
10. a kind of computer readable storage medium, for storing computer program, which is characterized in that the computer program quilt The step of method described in any one of the claims 1 to 7 is realized when processor executes.
CN201811128894.7A 2018-09-27 2018-09-27 The generation method and device of Test Strategy Pending CN109376081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811128894.7A CN109376081A (en) 2018-09-27 2018-09-27 The generation method and device of Test Strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811128894.7A CN109376081A (en) 2018-09-27 2018-09-27 The generation method and device of Test Strategy

Publications (1)

Publication Number Publication Date
CN109376081A true CN109376081A (en) 2019-02-22

Family

ID=65402787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811128894.7A Pending CN109376081A (en) 2018-09-27 2018-09-27 The generation method and device of Test Strategy

Country Status (1)

Country Link
CN (1) CN109376081A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN104461877A (en) * 2014-11-27 2015-03-25 百度在线网络技术(北京)有限公司 Software testing method and device
CN105320701A (en) * 2014-08-04 2016-02-10 腾讯科技(深圳)有限公司 Method and device for screening function point test implementing ways, and terminal
CN106445799A (en) * 2015-08-05 2017-02-22 阿里巴巴集团控股有限公司 Software testing method and device
US20170161178A1 (en) * 2015-12-07 2017-06-08 Wipro Limited Method and system for generating test strategy for a software application
CN107992409A (en) * 2017-11-21 2018-05-04 平安养老保险股份有限公司 Method for generating test case, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN105320701A (en) * 2014-08-04 2016-02-10 腾讯科技(深圳)有限公司 Method and device for screening function point test implementing ways, and terminal
CN104461877A (en) * 2014-11-27 2015-03-25 百度在线网络技术(北京)有限公司 Software testing method and device
CN106445799A (en) * 2015-08-05 2017-02-22 阿里巴巴集团控股有限公司 Software testing method and device
US20170161178A1 (en) * 2015-12-07 2017-06-08 Wipro Limited Method and system for generating test strategy for a software application
CN107992409A (en) * 2017-11-21 2018-05-04 平安养老保险股份有限公司 Method for generating test case, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
US20210326729A1 (en) Recommendation Model Training Method and Related Apparatus
JP7343568B2 (en) Identifying and applying hyperparameters for machine learning
CN109670267B (en) Data processing method and device
TWI742040B (en) Benchmark test method and device for supervised learning algorithm in distributed environment
CN105488539B (en) The predictor method and device of the generation method and device of disaggregated model, power system capacity
US11237806B2 (en) Multi objective optimization of applications
CN109408375A (en) The generation method and device of interface document
CN111797927A (en) Method and system for determining important features of machine learning samples
CN110083526A (en) Applied program testing method, device, computer installation and storage medium
CN116127899B (en) Chip design system, method, electronic device, and storage medium
US10248462B2 (en) Management server which constructs a request load model for an object system, load estimation method thereof and storage medium for storing program
CN109783361A (en) The method and apparatus for determining code quality
CN114564374A (en) Operator performance evaluation method and device, electronic equipment and storage medium
CN109376081A (en) The generation method and device of Test Strategy
Koltuk et al. A novel method for the synthetic generation of non-iid workloads for cloud data centers
CN113360353A (en) Test server and cloud platform
Bodik Automating datacenter operations using machine learning
EP4080789A1 (en) Enhanced uncertainty management for optical communication systems
CN115952098A (en) Performance test tuning scheme recommendation method and system
CN112860531B (en) Block chain wide consensus performance evaluation method based on deep heterogeneous graph neural network
US11574215B2 (en) Efficiency driven data collection and machine learning modeling recommendation
WO2022046061A1 (en) Generating projected resource consumption levels based on aggregate program source codes
CN110866605A (en) Data model training method and device, electronic equipment and readable medium
CN105630666B (en) Software quality improvement method and device
CN113296870B (en) Method and device for predicting Kubernetes cluster configuration

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190222

WD01 Invention patent application deemed withdrawn after publication