CN109859035A - A kind of data processing method of application product functional test, apparatus and system - Google Patents
A kind of data processing method of application product functional test, apparatus and system Download PDFInfo
- Publication number
- CN109859035A CN109859035A CN201910107377.XA CN201910107377A CN109859035A CN 109859035 A CN109859035 A CN 109859035A CN 201910107377 A CN201910107377 A CN 201910107377A CN 109859035 A CN109859035 A CN 109859035A
- Authority
- CN
- China
- Prior art keywords
- function
- test
- case
- function items
- item
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This specification embodiment discloses a kind of data processing method of application product functional test, apparatus and system.The method includes obtaining product function test item, the risk class and function type of each function items in the product function test item are identified;Classified based on the risk class and function type to the function items, obtains the first classification results;According to the corresponding case number of cases of function point every in the function items, case coverage rate base-line data is generated for first classification results;Test assignment test item is obtained, identifies the risk class and function type of each function items in the test assignment test item;According to the corresponding function points of function items each in the case coverage rate base-line data and the test assignment test item, the case number of cases information of each function items in the test assignment test item is determined.Case scale can be effectively controlled using this specification embodiment, reduces testing cost, shortens test period, promotes testing efficiency.
Description
Technical field
This specification example scheme belongs to the technical field more particularly to a kind of application product function of Software function test
The data processing method of test, apparatus and system.
Background technique
The increasingly test job of fierce financial competition and the Information technology technology of iteratively faster formula development to software product
More stringent requirements are proposed, how to allow test more acurrate and efficient, is the direction that software product testing is probed into.
China all uses identical case covering design standard in the functional test stage of software product at present, is not yet formed
The Case Design differences method of software product difference risk class function items, cause testing cost is high, test period compared with
Length, testing efficiency are low.In order to reduce measurement scope, reduce testing cost, short test period, promotion testing efficiency, it is badly in need of exploring
With research for the test method of the different risk class function items of software product, and how to be directed to the function mould of different risk class
Block estimates that reasonable case scale is to carry out the key problem of test grading.
Therefore, needing one kind in the industry can be with the solution of reasonable estimation case scale.
Summary of the invention
This specification embodiment is designed to provide the data processing method of application product functional test a kind of, device and is
System, can reasonably estimate the case number of cases of test based on risk, effective to control case scale, reduce testing cost, shorten and survey
The period is tried, testing efficiency is promoted.
On the one hand this application provides a kind of data processing methods of application product functional test, comprising:
Product function test item is obtained, identifies the risk class and function class of each function items in the product function test item
Type;
Classified based on the risk class and function type to the function items, obtains the first classification results;
According to the corresponding case number of cases of function point every in the function items, case coverage rate is generated for first classification results
Base-line data;
Test assignment test item is obtained, identifies the risk class and function class of each function items in the test assignment test item
Type;
According to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item
Points, determine the case number of cases information of each function items in the test assignment test item.
In another embodiment of the method that this specification provides, further includes:
According to the real case number of each function items in the test assignment test item more new case coverage rate base-line data, obtain
Take updated case coverage rate base-line data;
Correspondingly, obtaining test assignment test item, the risk class of each function items in the test assignment test item is identified
And function type;
According to each function items pair in the updated case coverage rate base-line data and the test assignment test item
The function points answered, determine the case number of cases information of each function items in the test assignment test item.
In another embodiment of the method that this specification provides, the factor for influencing the risk class includes occurring
Influence after a possibility that risk and occurrence risk;
Correspondingly, the acquisition product function test item, identifies the risk of each function items in the product function test item
Grade, comprising:
Function items in product function test item are obtained, test-types and potential risk point are based on, determine the function items hair
A possibility that giving birth to risk grade;
Level of availability, functional test product quality risk class and product function item based on application system are key etc.
Grade, the influence grade after determining the function items occurrence risk;
According to the possibility grade and the influence property grade, the risk class of the function items is identified.
In another embodiment of the method that this specification provides, the function type includes data function and affairs
Function in kind, wherein the data function includes internal logical file, external interface file;The transaction functionality includes outside
Input, external output, external inquiry.
It is described according to function point pair every in the function items in another embodiment of the method that this specification provides
The case number of cases answered generates case coverage rate base-line data for first classification results, comprising:
According to the corresponding case number of cases of function point every in the function items, obtains the corresponding case of first classification results and cover
Lid rate data;
According to the case coverage data, case coverage rate base-line data is generated for first classification results.
This specification provide the method another embodiment in, the case coverage data include average value and
Standard deviation, the average value be the same category in first classification results the corresponding case array of the every function point of function items at
The average value of set, the standard deviation are the corresponding cases of the every function point of function items of the same category in first classification results
Array at set standard deviation;
The case coverage rate base-line data includes baseline mean and value range, and the baseline mean is that the case is covered
Average value in lid rate data, the upper limit of the value range are the baseline mean and the case coverage data Plays
The sum of difference, the lower limit of the value range are the differences of the baseline mean and the case coverage data Plays difference.
In another embodiment of the method that this specification provides, determine that the test assignment is surveyed according to following formula
Try the case number of cases information Num of each function items in item:
Num=FP × BL
Wherein, Num expression case number of cases information, FP indicate the corresponding function points of function items, and BL indicates case coverage rate base
Baseline mean of the line number in.
On the other hand, this specification embodiment also provides a kind of data processing equipment of application product functional test, described
Device includes:
Functional test item identification module identifies each in the product function test item for obtaining product function test item
The risk class and function type of function items;
Function items categorization module is obtained for being classified based on the risk class and function type to the function items
Obtain the first classification results;
Base-line data generation module, for being described first according to the corresponding case number of cases of function point every in the function items
Classification results generate case coverage rate base-line data;
Task test item identification module identifies each in the test assignment test item for obtaining test assignment test item
The risk class and function type of function items;
Case number of cases information determination module, for being tested according to the case coverage rate base-line data and the test assignment
The corresponding function points of each function items, determine the case number of cases information of each function items in the test assignment test item in.
In another embodiment for the described device that this specification provides, further includes:
Base-line data update module, for being updated according to the real case number of each function items in the test assignment test item
Case coverage rate base-line data obtains updated case coverage rate base-line data;
Correspondingly, obtaining test assignment test item, the risk class of each function items in the test assignment test item is identified
And function type;
According to each function items pair in the updated case coverage rate base-line data and the test assignment test item
The function points answered, determine the case number of cases information of each function items in the test assignment test item.
In another embodiment for the described device that this specification provides, the base-line data generation module, comprising:
Case coverage data obtaining unit, for obtaining according to the corresponding case number of cases of function point every in the function items
The corresponding case coverage data of first classification results;
Base-line data generation unit, for being the first classification results generation case according to the case coverage data
Example coverage rate base-line data.
On the other hand, this specification embodiment provides a kind of data processing equipment of application product functional test, including place
Device and the memory for storage processor executable instruction are managed, realizes to include following when described instruction is executed by the processor
Step:
Product function test item is obtained, identifies the risk class and function class of each function items in the product function test item
Type;
Classified based on the risk class and function type to the function items, obtains the first classification results;
According to the corresponding case number of cases of function point every in the function items, case coverage rate is generated for first classification results
Base-line data;
Test assignment test item is obtained, identifies the risk class and function class of each function items in the test assignment test item
Type;
According to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item
Points, determine the case number of cases information of each function items in the test assignment test item.
On the other hand, this specification embodiment provides a kind of data processing system of application product functional test, including extremely
A few processor and the memory for storing computer executable instructions, the processor is realized above-mentioned when executing described instruction
The step of any one embodiment the method.
A kind of data processing method for application product functional test that this specification embodiment provides, apparatus and system are led to
The history case coverage condition for combing the function items under different risk class and function classification is crossed, the case based on risk is formed and covers
Lid rate baseline is estimated and is controlled to the case scale of test assignment based on this, and during test implementation according to
Actual conditions carry out dynamic adjustment, update baseline with actual case number of cases after the completion of test assignment, in this way by constantly accumulating
It updates, provides guidance for the case Quantity customizing of follow-up test task.Using each embodiment of this specification, test can reduce
Case scale shortens test period, promotes testing efficiency.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property
Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of overall flow of the data processing method embodiment for application product functional test that this specification provides
Schematic diagram;
Fig. 2 is a kind of stream of one embodiment of the data processing method for application product functional test that this specification provides
Journey schematic diagram;
Fig. 3 is each function items risk class and function type in a kind of identification product function test item of this specification offer
The schematic diagram of embodiment;
Fig. 4 is each function items risk class and function type in a kind of identification test assignment test item of this specification offer
The schematic diagram of embodiment;
Fig. 5 is a kind of mould of one embodiment of the data processing equipment for application product functional test that this specification provides
Block structure schematic diagram;
Fig. 6 is a kind of mould of one embodiment of the data processing system for application product functional test that this specification provides
Block structure schematic diagram.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only a part of the embodiment in this specification, instead of all the embodiments.Base in this manual one
A or multiple embodiments, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, the range of this specification embodiment protection all should belong to.
China all uses identical case covering design standard in the functional test stage of software product at present, is not yet formed
The Case Design differences method of software product difference risk class function items.In order to reduce measurement scope, testing cost, contracting are reduced
Short test period promotes testing efficiency, is badly in need of exploring the test side for being directed to software product difference risk class function items with research
Method, and promoted.
This specification embodiment provides a kind of data processing method of application product functional test, specifically, such as Fig. 1 institute
Show, Fig. 1 is a kind of overall flow signal of the data processing method embodiment for application product functional test that this specification provides
Figure, overall flow are broadly divided into two parts: risk evaluation module and the case coverage rate base line module based on risk.Wherein,
Risk evaluation module is input with product function test item, passes through the test-types of each function items in analysis product function test item
The failure likelihood of function items is determined with combing potential risk point, the level of availability of combination product application system, function
Can test product quality risk grade and product function item key grade the failure effect of function items is determined, then
Comprehensive function failure likelihood and influence property identify the risk class of product function item, can be in this way product function test
Data processing method provides risk judgment basis.
Then, classified based on the risk class identified and the affiliated function type of function items to function items, it will
Input of the classification results as the case coverage rate base line module based on risk, case coverage rate base line module are different by combing
The history case coverage condition of function items under risk class and function classification forms the case coverage rate baseline based on risk,
Then the case scale of each function items in test assignment test item is estimated and is controlled based on this, obtain test cases
Scale.In addition, in specific task-cycle, case that can according to the actual situation to each function items in test assignment test item
Number carries out dynamic adjustment, updates baseline with real case number after the completion of test assignment.Wherein, when completion test assignment test item
In each function items case Quantity customizing after, test assignment test item can also be used as risk evaluation module input carry out risk
Assessment.In this way, being updated by constantly accumulation, it not only can achieve the test cases scale that reduces, shorten test period, improve test
The purpose of efficiency, and may be follow-up test task case Quantity customizing instructed.
This specification embodiment is illustrated by taking a specific application scenarios as an example below.Although this specification mentions
It has supplied as the following examples or method operating procedure shown in the drawings or apparatus structure, but based on conventional or without creative
Less operating procedure or modular unit after labour may include more in the method or device or part merging.It is patrolling
It collects in the step of there is no necessary causalities in property or structure, the execution sequence of these steps or the modular structure of device are unlimited
In this specification embodiment or execution shown in the drawings sequence or modular structure.The method or modular structure is in practice
Device, server or end product in application, can be carried out according to embodiment or method shown in the drawings or modular structure
Sequence execute or it is parallel execute (such as parallel processor or multiple threads environment, even include distributed treatment, clothes
The implementation environment of business device cluster).
Certainly, the description of following embodiments does not constitute limit to other technical solutions extended to based on this specification
System.
A kind of specific embodiment is as shown in Fig. 2, Fig. 2 is a kind of number for application product functional test that this specification provides
According to the flow diagram of one embodiment of processing method, the method may include:
S1: product function test item is obtained, identifies the risk class and function of each function items in the product function test item
It can type.
Functional test is verified to each function of product, and survey according to product characteristic, operation description and user demand
Try function and design requirement that whether a product meets user's requirement.Product function test item may also be referred to as product function mould
Block.Test item is the unit that can not divide and can independently realize system function again.Wherein, a product function module may include more
A function items, a function items may include multiple function points, and each function point can be corresponding with multiple test cases, function point
It is the process for referring to individually complete some specific business.
In this specification one or more embodiment, the risk class of product function item can be divided into height, in, low three-level,
High risk can indicate that the disabler risk is higher, risk can indicate that the disabler risk class is medium, low-risk
It can indicate that the disabler risk is lower.In some embodiments, the factor for influencing the risk class may include that wind occurs
Influence after a possibility that dangerous and occurrence risk.Wherein, risk can refer to the functional failure risk of software product, can also
To be other risks, risk class can also be divided into other grades, and this specification is without limitation.In this specification embodiment
A possibility that risk refers mainly to failure risk, occurrence risk refers to the probability that a certain disabler of product occurs;The shadow of occurrence risk
Ring property refer to because product function occur the influence that failure generates customer service and reputation or caused by loss.
In this specification one or more embodiment, the risk etc. of each function items in identifying the product function test item
When grade and function type, first the failure risk of each function items in product function test item is assessed, and influence product function
A possibility that factor of energy item failure risk grade can mainly occur from product function item failure risk is lost with product function item
From the aspect of influence degree two after imitating risk generation.It should be noted that influence product function item failure risk grade because
Element influence can also include otherwise factor, this specification to this with no restriction.
Specifically, a possibility that product function item failure risk occurs mainly determine by the point of the potential risk as existing for the function
It is fixed, from the characteristics of each product, in conjunction with dimensions such as operation layer, application layer, technology layers, it is main to assess existing potential risk point
It can consider from the following aspects:
(1) functional module will frequently be used by user;
(2) function that functional module provides is extremely complex;
(3) functional module is often modified or is upgraded;
(4) functional requirement has very high practicability;
(5) functional requirement keeps certain performance class;
(6) realization of function uses new developing instrument and language;
(7) functional module has numerous interfaces;
(8) developer that functional module has experience to be short of is developed;
(9) functional module exploitation lacks associated user and sufficiently intervenes;
(10) exploitation of functional module is implemented by huge development teams;
It (11) is entirely new function;
(12) exploitation of functional module is completed under very short time pressure;
(13) the very important function for stakeholder;
(14) many defects are had found in the old version of functional module.
Influence degree i.e. product function item failure risk influence degree after the generation of product function item failure risk, shadow
Ring product function item failure risk influence degree factor mainly determined by the service attribute of function and its affiliated product, Ke Yicong
Several classes consider below:
(1) product/function business nature: refer to that product/function business belongs to, decision support class, product can be divided into
Class is reported and submitted in management class, channel of disbursement class, internal control class, supervision;
(2) product/function services object: refer to product/function services main population, including internal control personnel, inside
Teller, public customer, key customer, normal client etc.;
(3) product/function service range: referring to product/function services area under one's jurisdiction, territorial scope etc., including single institution,
A certain grade branch, part primary branch, domestic all branches, full linchpin (containing overseas branch) etc.;
(4) product/function customer factors: refer to product/function client scale amounts, enliven customer quantity, Ke Hujiao
Easily amount etc.;
(5) product/function and other systems or functional module are associated with situation: referring to the affiliated product of function and other systems
Association and interaction scenario, downstream product is to its dependency degree, to the support situation of upstream product, the function and system other function
The association situation of module;
(6) criticality of function: refer to whether function belongs to the key modules of affiliated product.
It should be noted that influencing a possibility that product function item failure risk occurs and influencing product function item failure wind
The factor of dangerous influence degree can also in terms of other factor consider, this specification to this with no restriction.
In this specification one or more embodiment, assessed influence product function item failure risk grade influence because
After element, the failure risk grade to function items each in product function test item is needed to assess.Due to influencing product function item
The factor of failure risk grade mainly includes a possibility that product function item failure risk occurs and product function item failure risk
The aspect of influence two after generation, so the assessment of each function items failure risk grade mainly can be in product function test item
Influence grade two after a possibility that occurring from product function item failure risk grade and the generation of product function item failure risk
Aspect determines that that is, described acquisition product function test item identifies the risk class of each function items in the product function test item,
Include: to obtain function items in product function test item, be based on test-types and potential risk point, determines that wind occurs for the function items
A possibility that dangerous grade;Level of availability, functional test product quality risk class and product function item based on application system
Key grade, the influence grade after determining the function items occurrence risk;According to the possibility grade and the influence
Property grade, identifies the risk class of the function items.
Further, in some embodiments, a possibility that occurring from product function item failure risk grade is to product function
Can when the failure risk grade of each function items is assessed in test item, a possibility that product function item failure risk occurs grade
It is all potential risk points that product function failure risk is influenced by collecting, it is in conjunction with software product testing experience that these are potential
A possibility that risk point has an impact is divided into multiple grades, corresponds to different scores according to different brackets respectively and scores, comprehensive
Add up to all scores to obtain product function failure possibility occurrence comprehensive score, realizes and product function item failure risk is occurred
A possibility that grade judgement.
In some embodiments, a possibility that sorting, product function item failure risk being occurred according to comprehensive score
A, B, C three-level are averagely marked off according to score value, A grades can indicate that product function item failure risk possibility occurrence is higher, and B grades can
To indicate that product function item failure risk possibility occurrence is medium, C grades can indicate that product function item failure risk may occur
Property is lower.Specifically, all potential risk points for influencing product function item failure risk are collected, binding test experience dives these
It is divided into 4 grades a possibility that risk point has an impact, scores respectively according to 0,1,3,5, then compares all potential
Risk point carries out the calculating of disabler risk possibility occurrence comprehensive score, finally averagely draws for the score value of all function items
Separate A, B, C three-level.Wherein, indicate that the risk point is not suitable for the module and function for 0 point;1 point indicates the risk point occasional
Occur, but infrequently;3 points indicate that the risk point may occur, and may will affect the module or function;5 points indicate to be somebody's turn to do
Risk point is likely to occur, and can have an impact to module and function.Such as: there are 3 function items a, b, c, comprehensive score
Respectively 23,14,35, then function items a corresponds to B grades, function items b corresponds to C grades, function items c corresponding A grade.
It should be noted that function items and the corresponding relationship of product function item failure risk possibility occurrence grade are opposite
, and it is nisi;In addition, product function item failure risk possibility occurrence grade can also be divided into other grades, this theory
Bright book is without limitation.
In this specification one or more embodiment, in functional test procedures, needs to test team and constantly accumulate and more
New potential risk point, to define the Risk list of suitable testing background, and it is possible in the generation for analyzing these potential risk points
Property when, the participation of Items in order shareholder, with improve determine accuracy.Wherein, Risk list refers mainly to potential risk point
Set.
In some embodiments, from the influence grade after the generation of product function item failure risk in product function test item
When the failure risk grade of each function items is assessed, the influence grade after product function item failure risk occurs is to pass through collection
The factor data of product function failure effect degree evaluates influence of each factor to product function failure risk, then according to influence
Degree is divided into different brackets.In some embodiments, the influence grade after product function item failure risk occurs can divide
For A, B, C three-level, A grades can indicate that the disturbance degree after the generation of product function item failure risk is higher, and B grades can indicate product function
Can item failure risk occur after disturbance degree it is medium, C grade can indicate product function item failure risk generation after disturbance degrees compared with
It is low.It should be noted that the influence grade after product function item failure risk occurs can also be divided into other grades, this explanation
Book is without limitation.
In further embodiments, it is contemplated that product function item failure risk occur after influences grade analytical factor and
The business factor that banking application system level of availability, functional test product quality risk class determine is overlapped, and is commented for simplification
Determine workload, the influence grade after the generation of product function item failure risk can refer to each bank application system availability classification pipe
Reason and functional test product quality classification of risks, with the level of availability of application system, functional test product quality risk class
As benchmark (by taking certain domestic large bank's software product as an example), using application level venture influence degree correspond to table (referring to table 1),
Functional test product quality venture influence degree corresponds to table (referring to table 2), and combination product function items critical impact degree corresponds to table
(referring to table 3), the level of availability of application system, functional test product quality risk class and product function item is key etc.
After grade corresponds to the corresponding score value of disabler venture influence degree, by calculating, according to product function item failure effect degree ranking score
It is worth the influence grade of confirmation form (referring to table 4) final positioning product function items failure risk.Such as: the corresponding production of a function items
Product application level is A4, and quality risk grade is B, on critical link, then it can be 80*40% that it, which corresponds to the score value calculated,
+ 60*40%+100*20%=76 corresponds in table 4 A grades of disturbance degree grade, then the influence after the failure risk of the function items occurs
Grade is A grades.It should be noted that the above-mentioned exemplary illustration carried out just for the sake of understanding, the failure risk of function items
The score value of influence grade after generation can also be calculated by other methods and be obtained, and be not construed as limiting to this.
1 application level venture influence degree of table corresponds to table
Application level | Corresponding disturbance degree score value | Accounting |
A5 | 100 | 40% |
A4 | 80 | 40% |
A3 | 60 | 40% |
A2 | 40 | 40% |
A1 | 20 | 40% |
2 functional test product quality venture influence degree of table corresponds to table
Quality risk grade | Corresponding disturbance degree score value | Accounting |
A | 100 | 40% |
B | 60 | 40% |
C | 20 | 40% |
3 product function item critical impact degree of table corresponds to table
Whether critical link function | Corresponding disturbance degree score value | Accounting |
It is | 100 | 20% |
It is no | 50 | 20% |
4 product function item failure effect degree grade score value confirmation form of table
Disturbance degree grade | Description | It is corresponding to calculate score range |
A grades | Product function item failure effect degree is higher | 68-100 |
B grades | Product function item failure effect degree is medium | 45-70 |
C grades | Product function item failure effect degree is lower | 0-44 |
In this specification one or more embodiment, obtain product function item failure risk occur a possibility that grade and
After influence grade after the generation of product function item failure risk, quantitative risk assessment is used to product function Failure risk evaluation
Method, a possibility that risk is occurred and influence property are according to set value.Such as: value collection is combined into { basic, normal, high }, then uses
Risk class matrix decision table (referring to table 5) determines product function item failure risk grade, completes each in product function test item
The risk class of function items identifies.
5 risk class matrix decision table of table
In this specification one or more embodiment, function type includes data function and affairs material object function, wherein number
It include internal logical file (Internal Logical File, ILF), external interface file (External according to function
Interface File, EIF);Transaction functionality includes external input (External Input, EI), external output (External
Output, EO), external inquiry (External Inquiry, EQ).
In this specification one or more embodiment, the failure risk of each function items in having assessed product function test item
After grade, based on function type belonging to each function items, the risk class and function type of each function items are marked, realized
Identification to the risk class and function type of each function items in product function test item is each function in product function test item
The classification of item provides judgment basis.
S2: classifying to the function items based on the risk class and function type, obtains the first classification results.
First classification results are the classification results under two dimensions of risk class and function type, i.e., different risk class
Result under certain function type or the result under certain risk class of different function type.
In some embodiments, a possibility that factor for influencing the risk class may include occurrence risk and occurrence risk
Influence afterwards.Wherein, risk can refer to the functional failure risk of software product, be also possible to other risks, risk etc.
Grade can be divided into height, in, low three-level can also be divided into other grades, such as: it is higher, it is high, in, low, more low, this specification pair
This is with no restrictions.It should be noted that this specification embodiment risk refers mainly to failure risk, a possibility that occurrence risk, refers to
The probability that a certain disabler of product occurs;The influence of occurrence risk refers to because failure occurs for product function to customer service harmony
Praise generate influence or caused by lose.In addition, function type includes data function in this specification one or more embodiment
With affairs material object function, wherein data function includes internal logical file (ILF), external interface file (EIF);Transaction functionality
Including external input (EI), external output (EO), external inquiry (EQ).
In this specification one or more embodiment, in having identified acquired product function test item according to step S1
It, can the risk class according to belonging to each function items and affiliated function type after the risk class and function type of each function items
All function items are marked, the risk class and function type is then based on and classifies to all function items, obtain risk
Classification results under two dimensions of grade and function type, i.e., same risk class and the identical function items of function type are one
Class.
Specifically, it is assumed that there are a product function modules A, B, C, D, the function items under module are respectively A1, A2, A3, B1, B2,
B3 ..., the risk class of product function item can be divided into high, medium and low three-level, and function type includes ILF (internal logic text
Part), EIF (external interface file), EI (external input), EO (outside output), EQ (external inquiry).Wherein, functional module is real
Existing allomeric function is different, for example can be personal management module, resource management module, financial management module etc. respectively
Deng the function items under module are also different.Classify to above-mentioned function items, firstly, to the risk class of the function items under modules
It is marked, i.e., the risk class and function type of each function items in product function test item is identified with function type,
As shown in figure 3, Fig. 3 is each function items risk class and function class in a kind of identification product function test item of this specification offer
The schematic diagram of type embodiment;Secondly, the risk class according to belonging to each function items and function type classify to all function items, point
Class result may refer to table 6, and as shown in Table 6, A1, B3, C1, D3 belong to same category, i.e. high risk, EI functional category;Accordingly
Ground, A2, B2 belong to risk, EO functional category, and A3, B1, C3, D1 belong to low-risk, EQ functional category, D2 belong to risk,
ILF functional category, C2 belong to risk, EIF functional category, and other classifications are sky.
6 product function item classification results of table
EI | EO | EQ | ILF | EIF | |
High risk | A1,B3,C1,D3 | ||||
Risk | A2,B2 | D2 | C2 | ||
Low-risk | A3,B1,C3,D1 |
S3: according to the corresponding case number of cases of function point every in the function items, case is generated for first classification results and is covered
Lid rate base-line data.
Function point refers to the process for individually completing some specific business.Case number of cases refers to the number of test cases in test assignment
Amount, test cases are exactly the test case in software test, and test case is one group of survey working out for some special objective
Examination input executes condition and expected results, to test some Program path or to verify whether meet some particular demands.One
A function items may include multiple function points, and each function point can be corresponding with multiple test cases, each in same function items
The corresponding case number of cases of function point is equal.
In this specification one or more embodiment, according to the corresponding case number of cases of function point every in the function items, for institute
It states the first classification results and generates case coverage rate base-line data, comprising: according to the corresponding case of function point every in the function items
Number obtains the corresponding case coverage data of first classification results;It is described first according to the case coverage data
Classification results generate case coverage rate base-line data.
The average value be in same category the corresponding case array of each every function point of function items at set in reject it is lonely
Average value after vertical point, wherein case coverage data includes average and standard deviation, and the average value is first classification
As a result the corresponding case array of the every function point of the function items of middle the same category is at the average value of set, i.e. same risk grade, phase
For the corresponding case array of every function point at the average value of set, the standard deviation is described first in the function items of congenerous type
The corresponding case array of the every function point of the function items of the same category is at the standard deviation of set, i.e. same risk etc. in classification results
Grade, identical function type function items in the corresponding case array of every function point at set standard deviation.In some embodiments,
The corresponding case array of the every function point of function items at set in there are some isolated points, when calculating average value or standard deviation
It will lead to calculated result inaccuracy, in order to avoid the influence of isolated point bring, the average value in case coverage data is described
In first classification results the corresponding case array of the every function point of the function items of the same category at set in reject isolated point after
Average value, the standard deviation in case coverage data are the every function points pair of function items of the same category in first classification results
The case array answered at set in reject isolated point after average value, wherein isolated point can refer to be in data acquisition system with
The feature of most of data or inconsistent data.
The case coverage rate base-line data includes baseline mean and value range, and the baseline mean is that the case is covered
Average value in lid rate data, the upper limit of the value range are the baseline mean and the case coverage data Plays
The sum of difference, the lower limit of the value range are the differences of the baseline mean and the case coverage data Plays difference.Specifically
Ground, on the basis of table 6, the case coverage data based on risk and the case coverage rate base-line data based on risk accordingly
It can be found in table 7, table 8.Wherein, N (A1) can indicate the corresponding case number of cases of the every function point of function items A1, and N can indicate average value,
σ can indicate standard deviation, and AVERAGE (X) indicates to calculate the average value of X, and STDEVP (X) indicates to calculate the standard deviation of X, BLij(i
=1,2,3;5) j=1,2 ..., can indicate baseline mean, (BLij-σij,BLij+σij), (i=1,2,3;J=1,2 ...,
5) value range can be indicated, i.e. value range is (baseline mean-standard deviation, baseline mean+standard deviation).
Case coverage data of the table 7 based on risk
Case coverage rate base-line data of the table 8 based on risk
Further, by taking 6 medium or high risk of table, EI functional category as an example, illustrate case coverage data and case coverage rate
The relationship of base-line data.6 medium or high risk of table, EI functional category include tetra- function items of A1, B3, C1, D3, it is assumed that function items A1 is every
The case number of cases of function point is 1, the case number of cases of the every function point of function items B3 is 3, the case number of cases of the every function point of function items C1 is 5, function
The case number of cases of the energy every function point of item D3 is 7, then their average value N is 4, standard deviation sigma 2, then case coverage data is
(4,2), the baseline mean BL in case coverage rate base-line data are 4, and value range is (4-2,4+2).
S4: test assignment test item is obtained, identifies the risk class and function of each function items in the test assignment test item
It can type.
In the test assignment of actual product, product function module can be referred to as test assignment test item.
In this specification one or more embodiment, the risk class of each function items in the test assignment test item is identified
It is referred to identify the wind of each function items in the product function test item in step S1 with the concrete methods of realizing of function type
The description of dangerous grade and function type embodiment of the method, does not repeat one by one herein.It should be noted that the identification test is appointed
The risk class of each function items and function type are also possible to other implementation methods in business test item, and this specification does not limit this
System.
Specifically, it is assumed that in the test assignment of certain product, there is product function modules A ', B ', C ', D ', the function under module
Item is respectively A1 ', A2 ', A3 ', and the risk class of B1 ', B2 ', B3 ' ..., product function item can be divided into high, medium and low three-level,
Function type includes ILF (internal logical file), EIF (external interface file), EI (external input), EO (outside output), EQ
(external inquiry).Classify to above-mentioned function items, firstly, the risk class and function type to the function items under modules carry out
Label, i.e., identify the risk class and function type of each function items in test assignment test item, as shown in figure 4, Fig. 4 is
The signal of each function items risk class and function type embodiment in a kind of identification test assignment test item that this specification provides
Figure.
S5: according to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item
It can count, determine the case number of cases information of each function items in the test assignment test item.
Case number of cases information refers to the corresponding case number of cases of function items.According to the case coverage rate base-line data and the test
The corresponding function points of each function items in task test item, determine the case number of cases letter of each function items in the test assignment test item
Breath, it is, estimating the test cases scale of each function items in specific test assignment according to case coverage rate base-line data.
In this specification one or more embodiment, each function in the test assignment test item is determined according to following formula
The case number of cases information Num of item:
Num=FP × BL (1)
Wherein, Num can indicate case number of cases information, and FP can indicate the corresponding function points of function items, and BL can be indicated
Baseline mean in case coverage rate base-line data.
Specifically, by taking Fig. 4 as an example, then the case number of cases information of each function items can be found in table in specific test assignment described in Fig. 4
9, wherein FP (A1') can indicate the corresponding function points of function items A1 ', BLij(i=1,2,3;J=1,2 ..., 5) it can be with
Indicate the baseline mean in table 8 in case coverage rate base-line data, Num (A1') can indicate the case number of cases of function items A1 '.
The case number of cases information of each function items in the specific test assignment of table 9
It, can also be according to the reality of each function items in the test assignment test item in this specification one or more embodiment
Border case number of cases updates case coverage rate base-line data, obtains updated case coverage rate base-line data;Correspondingly, obtaining test
Task test item identifies the risk class and function type of each function items in the test assignment test item;According to the update
The corresponding function points of each function items in rear case coverage rate base-line data and the test assignment test item, determine described in
The case number of cases information of each function items in test assignment test item.
Specifically, in one embodiment, it is estimated according to case coverage rate base-line data each in specific test assignment
After the test cases scale of function items, during task-cycle, the case number of cases to function items it can carry out according to the actual situation
Dynamic adjusts, as long as being no more than the upper limit of value range in case coverage rate base-line data.For example, in specific test assignment
The real case number of each function items may refer to table 10, wherein CaseNum (A1') can indicate to adjust during task-cycle
The real case number of function items A1' after whole, other meanings are similar.It should be noted that according to the actual situation to case number of cases into
Mobile state adjustment, which can be, needs appropriate increase case number of cases according to test experience or business, and these require to be appointed according to specific
The concrete condition of business determines.
The real case number of each function items in the specific test assignment of table 10
A’ | B’ | C’ | D’ |
CaseNum(A1’) | CaseNum(B1’) | CaseNum(C1’) | CaseNum(D1’) |
CaseNum(A2’) | CaseNum(B2’) | CaseNum(C2’) | CaseNum(D2’) |
CaseNum(A3’) | CaseNum(B3’) | CaseNum(C3’) | CaseNum(D3’) |
It, can be according to this test assignment after the completion of each test assignment in this specification one or more embodiment
In the real case numbers of each function items of the product updated according to step S1-S3 and generate newest case coverage rate base-line data.
In one embodiment, by taking test assignment test item in Fig. 4 as an example, then updated case coverage rate base-line data may refer to table
11, wherein BLij(i=1,2,3;J=1,2 ..., 5) it can indicate baseline in updated case coverage rate base-line data
Mean value, σij(i=1,2,3;5) j=1,2 ..., can indicate standard deviation in updated case coverage data,
AVERAGE (X) indicates to calculate the average value of X, the standard deviation of STDEVP (X) expression calculating X, BL'ij(i=1,2,3;J=1,
2 ..., it 5) can indicate baseline mean in the case coverage rate base-line data before updating, N (A1') can indicate function items
The corresponding case number of cases of the every function point of A1', can be according to the real case number CaseNum of function items A1' during task-cycle
(A1') it calculating and obtains with the corresponding function points of function items A1', i.e. N (A1')=CaseNum (A1')/FP (A1') is similar,
The corresponding case number of cases of other function points is calculated according to same method to be obtained, and CaseNum (A1') can be indicated during task-cycle
The real case number of function items A1', FP (A1') can indicate the corresponding function points of function items A1'.
The updated case coverage rate base-line data of table 11
EI | EO | EQ | ILF | EIF | |
High risk | BL11 | BL12 | BL13 | BL14 | BL15 |
Risk | BL21 | BL22 | BL23 | BL24 | BL25 |
Low-risk | BL31 | BL32 | BL33 | BL34 | BL35 |
Wherein:
BL11=AVERAGE (N (A1'), N (C2'), BL'11), σ11=STDEVP (N (A1'), N (C2'), BL'11);
BL22=AVERAGE (N (A2'), BL'22), σ22=STDEVP (N (A2'), BL'22);
BL25=AVERAGE (N (D1'), BL'25), σ25=STDEVP (N (D1'), BL'25);
BL12=AVERAGE (N (B2'), BL'12), σ12=STDEVP (N (B2'), BL'12);
BL21=AVERAGE (N (B3'), BL'21), σ21=STDEVP (N (B3'), BL'21);
BL14=AVERAGE (N (C1'), BL'14), σ14=STDEVP (N (C1'), BL'14);
BL32=AVERAGE (N (C3'), BL'32), σ32=STDEVP (N (C3'), BL'32);
BL23=AVERAGE (N (A3'), N (B1'), BL'23), σ23=STDEVP (N (A3'), N (B1'), BL'23);
BL13=AVERAGE (N (D2'), BL'13), σ13=STDEVP (N (D2'), BL'13);
BL31=AVERAGE (N (D3'), BL'31), σ31=STDEVP (N (D3'), BL'31)。
The data processing method for a kind of application product functional test that this specification embodiment provides, by combing different wind
The history case coverage condition of function items under dangerous grade and function classification forms the case coverage rate baseline based on risk, with
Case scale of test assignment is estimated and controlled based on this, and is carried out according to the actual situation during test implementation
Dynamic adjusts, and updates baseline with actual case number of cases after the completion of test assignment, is updated, be can reduce by constantly accumulation in this way
Test cases scale shortens test period, promotes testing efficiency, provides guidance for the case Quantity customizing of follow-up test task.
It should be noted that the formula in the various embodiments described above is only a kind of schematical expression formula, it can basis
Actual needs is adjusted and deforms to the separate equations, and the embodiment of the present application does not limit specifically.
Based on a kind of data processing method of application product functional test described above, this specification is one or more real
It applies example and a kind of data processing equipment of application product functional test is also provided.The device may include having used this specification
The system (including distributed system) of embodiment the method, software (application), module, component, server, client etc. are simultaneously tied
Close the necessary device for implementing hardware.Based on same innovation thinking, one or more embodiments of this specification embodiment offer
In device as described in the following examples.Since the implementation that device solves the problems, such as is similar to method, this specification
The implementation of the specific device of embodiment may refer to the implementation of preceding method, and overlaps will not be repeated.It is used below, art
The combination of the software and/or hardware of predetermined function may be implemented in language " unit " or " module ".Although described by following embodiment
Device preferably realize that but the combined realization of hardware or software and hardware is also that may and be contemplated with software
's.
Specifically, Fig. 5 is an a kind of reality of the data processing equipment for application product functional test that this specification provides
The modular structure schematic diagram of example is applied, as shown in figure 5, a kind of data processing dress for application product functional test that this specification provides
Set includes: functional test item identification module 121, function items categorization module 122, base-line data generation module 123, task test item
Identification module 124, case number of cases information determination module 125.
Functional test item identification module 121, can be used for obtaining product function test item, identify the product function test
The risk class and function type of each function items in;
Function items categorization module 122 can be used for carrying out the function items based on the risk class and function type
Classification obtains the first classification results;
Base-line data generation module 123 can be used for according to the corresponding case number of cases of function point every in the function items, for institute
It states the first classification results and generates case coverage rate base-line data;
Task test item identification module 124, can be used for obtaining test assignment test item, identify the test assignment test
The risk class and function type of each function items in;
Case number of cases information determination module 125 can be used for according to the case coverage rate base-line data and the test
The corresponding function points of each function items in task test item, determine the case number of cases letter of each function items in the test assignment test item
Breath.
Wherein, described device further include: base-line data update module can be used for according in the test assignment test item
The real case number of each function items more new case coverage rate base-line data, obtains updated case coverage rate base-line data;
Correspondingly, obtaining test assignment test item, the risk class of each function items in the test assignment test item is identified
And function type;
According to each function items pair in the updated case coverage rate base-line data and the test assignment test item
The function points answered, determine the case number of cases information of each function items in the test assignment test item.
Wherein, the base-line data generation module 123 may include case coverage data obtaining unit and base-line data
Generation unit, wherein
Case coverage data obtaining unit can be used for according to the corresponding case number of cases of function point every in the function items,
Obtain the corresponding case coverage data of first classification results;
Base-line data generation unit can be used for according to the case coverage data, raw for first classification results
At case coverage rate base-line data.
The data processing equipment for a kind of application product functional test that this specification embodiment provides, by historical product
The identification of the risk class and function type of each function items in functional test item, is then based on risk class and function type to function
Energy item is classified, and the case coverage rate baseline based on risk is formed, to the case scale of test assignment based on this baseline
It is estimated and is controlled, and dynamic adjustment, constantly accumulation are carried out more to case number of cases according to the actual situation during test implementation
New case coverage rate baseline, it is significant to shorten test period, promote test effect while so that case scale is effectively controlled
Rate, and may be the case scale offer guidance of subsequent estimation test assignment.
It should be noted that device described above can also include other embodiment party according to the description of embodiment of the method
Formula, concrete implementation mode are referred to the description of related method embodiment, do not repeat one by one herein.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Method or apparatus described in above-described embodiment that this specification provides can realize that business is patrolled by computer program
It collects and records on a storage medium, the storage medium can be read and be executed with computer, realize this specification embodiment institute
The effect of description scheme.Therefore, this specification also provides a kind of data processing equipment of application product functional test, including processing
Device and memory for storage processor executable instruction realize to include following step when described instruction is executed by the processor
It is rapid:
Product function test item is obtained, identifies the risk class and function class of each function items in the product function test item
Type;
Classified based on the risk class and function type to the function items, obtains the first classification results;
According to the corresponding case number of cases of function point every in the function items, case coverage rate is generated for first classification results
Base-line data;
Test assignment test item is obtained, identifies the risk class and function class of each function items in the test assignment test item
Type;
According to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item
Points, determine the case number of cases information of each function items in the test assignment test item.
The storage medium may include the physical unit for storing information, usually by after information digitalization again with benefit
The media of the modes such as electricity consumption, magnetic or optics are stored.It may include: that letter is stored in the way of electric energy that the storage medium, which has,
The device of breath such as, various memory, such as RAM, ROM;The device of information is stored in the way of magnetic energy such as, hard disk, floppy disk, magnetic
Band, core memory, magnetic bubble memory, USB flash disk;Using optical mode storage information device such as, CD or DVD.Certainly, there are also it
Readable storage medium storing program for executing of his mode, such as quantum memory, graphene memory etc..
It should be noted that equipment described above can also include other embodiment party according to the description of embodiment of the method
Formula.Concrete implementation mode is referred to the description of related method embodiment, does not repeat one by one herein.
Above-mentioned a kind of data processing method, device, the equipment of application product functional test that this specification embodiment provides
Corresponding program instruction can be executed by processor in a computer to realize, such as use the c++ language of windows operating system
The end PC realize, Linux system realize or other for example using android, iOS system programming language in intelligent terminal
It realizes, and realization of the processing logic based on quantum computer etc..A kind of application product functional test that this specification provides
In one embodiment of data processing system, Fig. 6 is a kind of data processing for application product functional test that this specification provides
The modular structure schematic diagram of one embodiment of system, as shown in fig. 6, a kind of application product functional test that this specification provides
Data processing system may include processor 131 and the memory 132 for storage processor executable instruction, processor
131 and memory 132 mutual communication completed by bus 133;
The processor 131 is used to call the program instruction in the memory 132, to execute above-mentioned application product function
Method provided by the data processing method embodiment of test, for example, obtain product function test item, identify the product
The risk class and function type of each function items in functional test item;Based on the risk class and function type to the function
Item is classified, and the first classification results are obtained;It is described first point according to the corresponding case number of cases of function point every in the function items
Class result generates case coverage rate base-line data;Test assignment test item is obtained, identifies each function in the test assignment test item
The risk class and function type of energy item;According to each in the case coverage rate base-line data and the test assignment test item
The corresponding function points of function items, determine the case number of cases information of each function items in the test assignment test item.
It should be noted that specification system described above can also include it according to the description of related method embodiment
His embodiment, concrete implementation mode are referred to the description of embodiment of the method, do not repeat one by one herein.In the application
Various embodiments are described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, often
What a embodiment stressed is the difference from other embodiments.For hardware+program class embodiment,
Since it is substantially similar to the method embodiment, so being described relatively simple, related place is said referring to the part of embodiment of the method
It is bright.
This specification embodiment is not limited to meet industry communication standard, standard computer data processing sum number
According to situation described in storage rule or this specification one or more embodiment.The right way of conduct is made in certain professional standards or use by oneself
In formula or the practice processes of embodiment description embodiment modified slightly also may be implemented above-described embodiment it is identical, it is equivalent or
The implementation result being anticipated that after close or deformation.Using these modifications or deformed data acquisition, storage, judgement, processing side
The embodiment of the acquisitions such as formula still may belong within the scope of the optional embodiment of this specification embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual
Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or
The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart,
It but may include more or less operating procedure based on conventional or without creativeness means.The step of being enumerated in embodiment
Sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.Device in practice or
When end product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as it is parallel
The environment of processor or multiple threads, even distributed data processing environment).The terms "include", "comprise" or its
Any other variant is intended to non-exclusive inclusion so that include the process, methods of a series of elements, product or
Equipment not only includes those elements, but also including other elements that are not explicitly listed, or further include for this process,
Method, product or the intrinsic element of equipment.In the absence of more restrictions, being not precluded is including the element
There is also other identical or equivalent elements in process, method, product or equipment.The first, the second equal words are used to indicate name
Claim, and does not indicate any particular order.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each module can be realized in the same or multiple software and or hardware when specification one or more, it can also be with
The module for realizing same function is realized by the combination of multiple submodule or subelement etc..Installation practice described above is only
It is only illustrative, for example, in addition the division of the unit, only a kind of logical function partition can have in actual implementation
Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with
Ignore, or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be logical
Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
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 is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other
Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein
In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation
Signal and carrier wave.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating
Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or
The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or
It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material
Or feature is contained at least one embodiment or example of this specification.In the present specification, to the signal of above-mentioned term
Property statement be necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to book explanation
Book one or more embodiment.To those skilled in the art, this specification one or more embodiment can have various
Change and variation.All any modification, equivalent replacement, improvement and so within the spirit and principles of the present application should all include
Within scope of the claims.
Claims (12)
1. a kind of data processing method of application product functional test characterized by comprising
Product function test item is obtained, identifies the risk class and function type of each function items in the product function test item;
Classified based on the risk class and function type to the function items, obtains the first classification results;
According to the corresponding case number of cases of function point every in the function items, case coverage rate baseline is generated for first classification results
Data;
Test assignment test item is obtained, identifies the risk class and function type of each function items in the test assignment test item;
It is counted according to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item,
Determine the case number of cases information of each function items in the test assignment test item.
2. a kind of data processing method of application product functional test as described in claim 1, which is characterized in that further include:
According to the real case number of each function items in the test assignment test item more new case coverage rate base-line data, obtain more
Case coverage rate base-line data after new;
Correspondingly, obtaining test assignment test item, the risk class and function of each function items in the test assignment test item are identified
It can type;
It is corresponding according to each function items in the updated case coverage rate base-line data and the test assignment test item
Function points, determine the case number of cases information of each function items in the test assignment test item.
3. a kind of data processing method of application product functional test as described in claim 1, which is characterized in that described in influence
Influence after a possibility that factor of risk class includes occurrence risk and occurrence risk;
Correspondingly, the acquisition product function test item, identifies the risk class of each function items in the product function test item,
Include:
Function items in product function test item are obtained, test-types and potential risk point are based on, determine that wind occurs for the function items
A possibility that dangerous grade;
Level of availability, functional test product quality risk class and the key grade of product function item based on application system,
Influence grade after determining the function items occurrence risk;
According to the possibility grade and the influence property grade, the risk class of the function items is identified.
4. a kind of data processing method of application product functional test as described in claim 1, which is characterized in that the function
Type includes data function and affairs material object function, wherein the data function includes internal logical file, external interface text
Part;The transaction functionality includes external input, external output, external inquiry.
5. a kind of data processing method of application product functional test as described in claim 1, which is characterized in that the basis
The corresponding case number of cases of every function point in the function items generates case coverage rate base-line data, packet for first classification results
It includes:
According to the corresponding case number of cases of function point every in the function items, the corresponding case coverage rate of first classification results is obtained
Data;
According to the case coverage data, case coverage rate base-line data is generated for first classification results.
6. a kind of data processing method of application product functional test as claimed in claim 5, which is characterized in that the case
Coverage data includes average and standard deviation, and the average value is that the function items of the same category in first classification results are every
For the corresponding case array of function point at the average value of set, the standard deviation is the function of the same category in first classification results
Can the corresponding case array of the every function point of item at set standard deviation;
The case coverage rate base-line data includes baseline mean and value range, and the baseline mean is the case coverage rate
Average value in data, the upper limit of the value range are the baseline mean and the case coverage data Plays difference
With the lower limit of the value range is the difference of the baseline mean and the case coverage data Plays difference.
7. a kind of data processing method of application product functional test as described in claim 1, which is characterized in that according to following
Formula determines the case number of cases information Num of each function items in the test assignment test item:
Num=FP × BL
Wherein, Num expression case number of cases information, FP indicate the corresponding function points of function items, and BL indicates case coverage rate baseline number
Baseline mean in.
8. a kind of data processing equipment of application product functional test, described device include:
Functional test item identification module identifies each function in the product function test item for obtaining product function test item
The risk class and function type of item;
Function items categorization module obtains for classifying based on the risk class and function type to the function items
One classification results;
Base-line data generation module, for classifying for described first according to the corresponding case number of cases of function point every in the function items
As a result case coverage rate base-line data is generated;
Task test item identification module identifies each function in the test assignment test item for obtaining test assignment test item
The risk class and function type of item;
Case number of cases information determination module, for according in the case coverage rate base-line data and the test assignment test item
The corresponding function points of each function items, determine the case number of cases information of each function items in the test assignment test item.
9. a kind of data processing equipment of application product functional test as claimed in claim 8, which is characterized in that further include:
Base-line data update module, for the real case number more new case according to each function items in the test assignment test item
Coverage rate base-line data obtains updated case coverage rate base-line data;
Correspondingly, obtaining test assignment test item, the risk class and function of each function items in the test assignment test item are identified
It can type;
It is corresponding according to each function items in the updated case coverage rate base-line data and the test assignment test item
Function points, determine the case number of cases information of each function items in the test assignment test item.
10. a kind of data processing equipment of application product functional test as claimed in claim 8, which is characterized in that the base
Line data generation module, comprising:
Case coverage data obtaining unit, for according to the corresponding case number of cases of function point every in the function items, described in acquisition
The corresponding case coverage data of first classification results;
Base-line data generation unit, for generating case for first classification results and covering according to the case coverage data
Lid rate base-line data.
11. a kind of data processing equipment of application product functional test, which is characterized in that handled including processor and for storage
The memory of device executable instruction, when described instruction is executed by the processor realize the following steps are included:
Product function test item is obtained, identifies the risk class and function type of each function items in the product function test item;
Classified based on the risk class and function type to the function items, obtains the first classification results;
According to the corresponding case number of cases of function point every in the function items, case coverage rate baseline is generated for first classification results
Data;
Test assignment test item is obtained, identifies the risk class and function type of each function items in the test assignment test item;
It is counted according to the corresponding function of function items each in the case coverage rate base-line data and the test assignment test item,
Determine the case number of cases information of each function items in the test assignment test item.
12. a kind of data processing system of application product functional test, which is characterized in that including at least one processor and deposit
The memory of computer executable instructions is stored up, the processor realizes any one of claim 1-7 when executing described instruction
The step of the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910107377.XA CN109859035A (en) | 2019-02-02 | 2019-02-02 | A kind of data processing method of application product functional test, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910107377.XA CN109859035A (en) | 2019-02-02 | 2019-02-02 | A kind of data processing method of application product functional test, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109859035A true CN109859035A (en) | 2019-06-07 |
Family
ID=66897588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910107377.XA Pending CN109859035A (en) | 2019-02-02 | 2019-02-02 | A kind of data processing method of application product functional test, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109859035A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888809A (en) * | 2019-11-18 | 2020-03-17 | 中国银行股份有限公司 | Test task risk prediction method and device |
CN111159029A (en) * | 2019-12-24 | 2020-05-15 | 中信银行股份有限公司 | Automatic testing method and device, electronic equipment and computer readable storage medium |
CN111625454A (en) * | 2020-05-22 | 2020-09-04 | 平安普惠企业管理有限公司 | Data processing method based on test case and related equipment |
CN112000543A (en) * | 2020-07-29 | 2020-11-27 | 北京浪潮数据技术有限公司 | Method, device and equipment for detecting time delay performance of storage system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101950271A (en) * | 2010-10-22 | 2011-01-19 | 中国人民解放军理工大学 | Modeling technology-based software security test method |
CN104317725A (en) * | 2014-11-18 | 2015-01-28 | 电信科学技术第十研究所 | Computer implementation method of software testing, computer and system |
CN104346278A (en) * | 2014-09-28 | 2015-02-11 | 上海新炬网络技术有限公司 | Matrix-model-based software testing method |
US8997052B2 (en) * | 2013-06-19 | 2015-03-31 | Successfactors, Inc. | Risk-based test plan construction |
-
2019
- 2019-02-02 CN CN201910107377.XA patent/CN109859035A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101950271A (en) * | 2010-10-22 | 2011-01-19 | 中国人民解放军理工大学 | Modeling technology-based software security test method |
US8997052B2 (en) * | 2013-06-19 | 2015-03-31 | Successfactors, Inc. | Risk-based test plan construction |
CN104346278A (en) * | 2014-09-28 | 2015-02-11 | 上海新炬网络技术有限公司 | Matrix-model-based software testing method |
CN104317725A (en) * | 2014-11-18 | 2015-01-28 | 电信科学技术第十研究所 | Computer implementation method of software testing, computer and system |
Non-Patent Citations (3)
Title |
---|
孟茜: "运用标准构建数据中心风险管理体系", 《金融电子化》 * |
曹纪清: "《CMMI L5高成熟度软件过程实施指南》", 31 January 2016, 电子科技大学出版社 * |
费娜: "功能点分析方法在外包项目管理中的应用研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888809A (en) * | 2019-11-18 | 2020-03-17 | 中国银行股份有限公司 | Test task risk prediction method and device |
CN110888809B (en) * | 2019-11-18 | 2023-09-22 | 中国银行股份有限公司 | Risk prediction method and device for test task |
CN111159029A (en) * | 2019-12-24 | 2020-05-15 | 中信银行股份有限公司 | Automatic testing method and device, electronic equipment and computer readable storage medium |
CN111159029B (en) * | 2019-12-24 | 2023-07-21 | 中信银行股份有限公司 | Automated testing method, apparatus, electronic device and computer readable storage medium |
CN111625454A (en) * | 2020-05-22 | 2020-09-04 | 平安普惠企业管理有限公司 | Data processing method based on test case and related equipment |
CN112000543A (en) * | 2020-07-29 | 2020-11-27 | 北京浪潮数据技术有限公司 | Method, device and equipment for detecting time delay performance of storage system |
CN112000543B (en) * | 2020-07-29 | 2023-03-31 | 北京浪潮数据技术有限公司 | Method, device and equipment for detecting time delay performance of storage system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109859035A (en) | A kind of data processing method of application product functional test, apparatus and system | |
CN108629687B (en) | Anti-money laundering method, device and equipment | |
US11488055B2 (en) | Training corpus refinement and incremental updating | |
US9836301B2 (en) | Component discovery from source code | |
CN109344048A (en) | A kind of test method, storage medium and server | |
CN107894953A (en) | A kind of generation method and device of Bank application test data | |
CN104657194B (en) | Method and system for calculating the influence acted in network | |
JP7125358B2 (en) | Method of presenting information on basis of prediction results for computer system and input data | |
CN107220217A (en) | Characteristic coefficient training method and device that logic-based is returned | |
TW201928841A (en) | Method, apparatus, and device for training risk control model and risk control | |
CN105446988B (en) | The method and apparatus for predicting classification | |
CN109242135A (en) | A kind of model method for running, device and service server | |
JP2020501232A (en) | Risk control event automatic processing method and apparatus | |
US20210374582A1 (en) | Enhanced Techniques For Bias Analysis | |
CN107633030A (en) | Credit estimation method and device based on data model | |
CN108205580A (en) | A kind of image search method, device and computer readable storage medium | |
CN107622326A (en) | User's classification, available resources Forecasting Methodology, device and equipment | |
CN109242220A (en) | Charging station transaction power predicating method, device, electronic equipment and storage medium | |
CN110046633A (en) | A kind of data quality checking method and device | |
CN110069629A (en) | House transaction task processing method, equipment, storage medium and device | |
CN110909775A (en) | Data processing method and device and electronic equipment | |
CN107622413A (en) | A kind of price sensitivity computational methods, device and its equipment | |
CN107977768A (en) | A kind of appraisal procedure and device of resource of rising in value | |
Hirsch et al. | Root cause prediction based on bug reports | |
CN114240101A (en) | Risk identification model verification method, device and equipment |
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 |
Application publication date: 20190607 |
|
RJ01 | Rejection of invention patent application after publication |