CN110244934A - Product demand document, the generation method and device for testing information - Google Patents
Product demand document, the generation method and device for testing information Download PDFInfo
- Publication number
- CN110244934A CN110244934A CN201810217550.7A CN201810217550A CN110244934A CN 110244934 A CN110244934 A CN 110244934A CN 201810217550 A CN201810217550 A CN 201810217550A CN 110244934 A CN110244934 A CN 110244934A
- Authority
- CN
- China
- Prior art keywords
- product
- option
- component
- test
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 220
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000005516 engineering process Methods 0.000 claims description 14
- 238000004519 manufacturing process Methods 0.000 claims description 13
- 238000000429 assembly Methods 0.000 claims description 5
- 230000000712 assembly Effects 0.000 claims description 5
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 230000006399 behavior Effects 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims 2
- 238000012827 research and development Methods 0.000 abstract description 6
- 239000000047 product Substances 0.000 description 207
- 238000011161 development Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 238000012356 Product development Methods 0.000 description 7
- 238000011017 operating method Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000011160 research Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 238000003860 storage Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012956 testing procedure Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000006116 polymerization reaction Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000009885 systemic effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241000282326 Felis catus Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- -1 page Face Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000002910 structure generation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The generation method and device that the embodiment of the present application discloses product demand document, tests information, wherein the described method includes: providing the option of operation for being configured to product demand;Product demand configuration information is received by the option of operation, includes the business rule collection under product demand document template, component set and each component needed for product in the configuration information;Product demand document is generated according to the configuration information.By the embodiment of the present application, the research and development time can be shortened, raising efficiency, and effectively can develop document by precipitated products, improve data resource utilization rate.
Description
Technical field
This application involves product development technical field, in particular to product demand document, test information generation method and
Device.
Background technique
In Software Development, a software product is related to many product functions, and different product managers needs to be directed to
Specific products function is researched and developed, and product demand document is generated, and product manager relies on completely when generating product demand document
Oneself writes habit to the understanding of product and oneself exclusive text, writes generate product demand document manually, to test
Personnel make further Software Development according to the product demand document and handle.
During actual development, since Enterprises ' Personnel Flowing is larger, when new-product manager carries out secondary open to product
When hair, it is necessary to which reading understands original product requirement documents, secondary development is done again on this basis, due to everyone mode of thinking
Difference, writes that habit is not also identical, and therefore, this pure mode for relying on personal understandability greatly limits product development
Efficiency.
In addition, different product managers needs to communicate with each other since the product of same enterprise has certain technology correlation
Understand product function demand, can research and develop generate a qualified product demand document later, a this pure dependence human speech
The mode for saying communication capability, also limits product development efficiency to a certain extent.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application provide product demand document, test information generation method,
And device, can be realized standardized product demand document, so can be automatically generated on the basis of the document test case or
Test script.
For this purpose, the embodiment of the present application provides following technical solution:
A kind of product demand document structure tree method, comprising:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product needed for product in the configuration information
Business rule collection under requirement documents template, component set and each component;
Product demand document is generated according to the configuration information.
A kind of product test information generating method, comprising:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes component needed for product in the configuration information
Business rule collection under collection and each component;
According to the configuration information, and the topological relationship information between the business that is obtained ahead of time, it generates for being produced
The test case of product test.
A kind of product demand document structure tree device, comprising:
Option of operation provides unit, for providing the option of operation for being configured to product demand;
Configuration information receiving unit, it is described to match confidence for receiving product demand configuration information by the option of operation
It include the business rule collection under product demand document template, component set and each component needed for product in breath;
Requirement documents generation unit, for generating product demand document according to the configuration information.
A kind of product test information generation device, comprising:
Option of operation provides unit, for providing the option of operation for being configured to product demand;
Configuration information receiving unit, it is described to match confidence for receiving product demand configuration information by the option of operation
It include component set needed for product and the business rule collection under each component in breath;
Test cases technology unit is used for according to the configuration information, and the topology between the business being obtained ahead of time is closed
It is information, generates the test case for carrying out product test.
A kind of computer system, comprising:
One or more processors;And
With the memory of one or more of relational processors, the memory is for storing program instruction, the journey
Sequence instruction is performed the following operations when reading execution by one or more of processors:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product needed for product in the configuration information
Business rule collection under requirement documents template, component set and each component;
Product demand document is generated according to the configuration information.
A kind of computer system, comprising:
One or more processors;And
With the memory of one or more of relational processors, the memory is for storing program instruction, the journey
Sequence instruction is performed the following operations when reading execution by one or more of processors:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product needed for product in the configuration information
Business rule collection under requirement documents template, component set and each component;
According to the configuration information, and the topological relationship information between the business that is obtained ahead of time, it generates for being produced
The test case of product test.
Compared with prior art, the embodiment of the present application has the advantage that
The embodiment of the present application provides the implementation that product demand document is generated by way of configuring, in the program
In, product demand can be automatically generated by configuring to document model, component set needed for product and business rule collection
Therefore document can be realized the standardization and standardization of product demand document, meanwhile, it is capable to shorten the research and development time, promote effect
Rate, and effectively can develop document by precipitated products, improve data resource utilization rate.
In addition, configuration information, including specific component, business rule etc. due to being able to record specific product, it therefore, can
To automatically generate test case for specific business rule by pre-saving the service topology relation information in product, thus
So that testing efficiency also gets a promotion.
Furthermore the structuring due to can be realized business rule is expressed, believe including the corresponding characteristic value of business rule
Breath, it is thus possible to enough filter out test data on the basis of realizing test case from true business datum automatically, and
Test script is generated, efficiency of research and development is further improved.
Certainly, any product for implementing the application does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts,
It is also possible to obtain other drawings based on these drawings.
Fig. 1 is the Sample Scenario figure of the application in practical applications;
Fig. 2 is the flow chart of first method provided by the embodiments of the present application;
Fig. 3-1 to 3-4 is the schematic diagram of configuration interface provided by the embodiments of the present application;
Fig. 4 is the flow chart of second method provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of first device provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of second device provided by the embodiments of the present application;
Fig. 7 is the schematic diagram of computer system provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without making creative work
Range.
In order to make it easy to understand, the relevant concept of product is introduced first below.In the embodiment of the present application, a production
Product can usually be related to a multiple pages, and multiple components can be associated in a page, may include again more in a component
Business rule.
For example, the page being related to may include details page, lower single-page etc. for " Tian Mao is international " this product,
It may include " shipping address component ", " discount coupon component ", etc. in lower single-page.Wherein, component can be regarded as a series of
Be mutually related the set of business rule, is the page elements for generating the function polymerization of associated business rule;Component one
As may include component display example figure, component introduction and business rule.For example, by taking invoice component as an example, invoice component
It may include many business rules, as electronic invoice is issued in the fresh goods support that places an order, but do not support to issue paper invoice, figure
The electric page may choose whether to issue invoice under bookman's product, single-page pressure issues invoice under electronic articles;For another example, will with receive
Address module relevant business rule polymerization is summarized as " shipping address " component, such as " the place of acceptance in single-page under " Taobao "
Location " component may include many business rules, such as: 1, buyer did not save shipping address, then descended single-page that can guide and buy
Family improves shipping address information;2, shipping address module at most allows to save the business such as 20 shipping address information in lower single-page
Rule;In the embodiment of the present application, by the business rule of this related with shipping address module page logic and Lower level logical
Definition by induction is at " shipping address " component.
Based on above-mentioned analysis, it in research/development platform provided by the embodiments of the present application, can be used first for product manager (PD)
The function that the mode that family provides a mean for configuration generates product demand document (PRD) can be provided by the function for user
Configuration interface, PD can be by configuration interfaces, to the page involved in product, and the business in required component and component is advised
It then etc. is configured, in addition it can provide document template, PD selects specific template by configuring above- mentioned information, can
Automatically generate PRD document.The PRD document generated in this way has the characteristics that standard standardization.In addition, due to specific
The information such as module information, business rule can be saved in the form of configuration information, and hence it is also possible on this basis from
It is dynamic to generate test information, for example, test case or test script etc., without passing through reading by relevant tester again
The mode of PRD document manually generates test case or test script.
In addition, in a preferred embodiment of the present application, can also be propped up to preferably support automatically generating for test information
Holding can be defined business rule using structured form.For example, a specific business rule may include: feature
Value, operating procedure and expected results three parts.For example, a business rule, natural language is expressed as the " figure of books class website
Whether lower single Page user in book class commodity issues invoice ", it is handled by structuring, corresponding structured expression language pack
Include: the characteristic value in precondition is books class commodity, and operating procedure places an order for user, it is contemplated that result is that invoice option can select
It selects and whether issues invoice, etc..In this way, for a business rule, it can be according to the definition of characteristic value, from full link function
It can generate specific test data in platform, and according to information such as topological relation figures between preset business, generate test foot
This.Test script can be the execution code generated according to specific operating procedure, later, be executed by test platform specific
Test script is then the equal of executing operating procedure that also business rule is included, by script execution result and expected results into
Row compares, then may determine whether to pass through test.
It writes and the realization of the application is introduced below in conjunction with practical application scene.
It is the Sample Scenario figure of the application in practical applications referring to Fig. 1, Fig. 1, as shown in Figure 1, production provided by the present application
Product requirement documents generation method is applied in terminal and server in the form of client and server-side respectively, as shown in Figure 1
Terminal 101 and server 102 in, terminal 101 and server 102, which are in communication with each other, provides development platform for developer so that
Product demand document developer is developed based on the development platform of unified standardization, so as to effective precipitated products demand
Document improves data resource utilization rate.As shown in Figure 1, PD user A accesses server 102 using terminal 101, terminal 101 can be with
Configuration interface is provided for PD user, the configuration information that user inputs on the configuration interface is sent to server 102, server
102 according to the PRD document template of user's selection and the configuration information of user's input, combination producing PRD document.Later, server
102 can save the PRD document, in addition it can which the PRD document is sent to terminal 101, be used from terminal 101 to PD
Family A shows the product demand document.It should be noted that server 102 can be the terminal of multiple PD users by network, together
When provide automatically generate product demand document services.
In addition, server 102 can also store designed product demand document, then other PD users or tester
Member etc. can check designed product demand document, and as shown in fig. 1, PD user B can pass through terminal 103 and server
102 network communication, so as to quickly understand the product demand document, facilitates carry out product to check product demand document
Upgrading.It should be noted that server 102 can be the terminal of multiple PD users by network, while providing product demand text
Shelves query service, simultaneously and concurrently handles the query process of multiple product demand documents.
What needs to be explained here is that terminal 101 can be the terminal devices such as desktop computer, laptop, plate;Eventually
End 103 is similar with terminal 101;Server 102 is to provide the equipment of data service, such as web server, APP server etc.,
In practical application, it can be the server apparatus of independent part administration, the server of clustered deploy(ment) can also be used.
Based on above-mentioned application scenarios, describe in detail below to specific implementation provided by the embodiments of the present application.
Embodiment one
The embodiment of the present application one provides firstly a kind of product demand document structure tree method, and referring to fig. 2, this method specifically may be used
To include:
The option of operation of S201, offer for being configured to product demand;;
In the embodiment of the present application, can be by server-side-client or server-browser network architecture
PD user provides standardized development platform, and PD user passes through network communication using client, it will be able to carry out product demand text
The generation of shelves.
Specifically, PD user when needing development requirement documents, then can star the client configured in terminal, example
Client is such as clicked, or by the network address at browser login configurations interface, developer implements these operations, and client is monitored
When implementing these operations to PD user, the render request of configuration interface is sent to server-side.
It, can be to client after server-side receives the render request about product demand document configuration interface that client is sent
The interface data at feedback configuration interface is held, which is the data for referring to generate configuration interface by rendering;For clothes
It is engaged in for end, data can be provided simultaneously by network communication for multiple client and supported, then when server-side receives simultaneously
When multiple render requests, server-side can initiate multiple task parallelisms to multiple client feedback interface data simultaneously.
Specifically, in order to provide standardized configuration interface, the embodiment of the present application is mentioned based on the actual demand of research and development of products
The configuration mode of layering is gone out, the configuration mode of the layering is more specifically presented with the configuration interface of layering;Wherein, main point
Layer logic can be determined according to the relationship between element each in previously described product.For example, since a product at least wraps
A page is included, and a page includes at least a component, and a component includes at least a business rule;Based on this,
Further provide the layering configuration interface include: according to this four parts of product, the page, component and business rule it
Between hierarchical relationship building different configuration interfaces.
More specifically, the configuration interface includes: the first layer configuration interface generated according to products configuration control, and described the
One layer of configuration interface is used to carry the configuration control of configuring product essential information;
According to the second layer configuration interface that page configuration control generates, the second layer configuration interface is for carrying configuration page
The configuration control of face relevant information;
According to the third layer configuration interface that component Configuration control generates, the third layer configuration interface is for carrying configuration group
The configuration control of part relevant information;The component is generated according to business rule., wherein component is raw according to business rule
At.
Then server-side is specifically included to the interface data of client feedback: the interface data of above-mentioned first layer configuration interface,
The interface data of above-mentioned second layer configuration interface, the interface data of above-mentioned third layer configuration interface and above-mentioned 4th layer of configuration circle
The interface data in face.
It should be noted that above layers interface may not be all to need during specifically exploitation PRD document
Use, but can demand as the case may be and determine the configuration interface using which layer.
S202: product demand configuration information is received by the option of operation, includes needed for product in the configuration information
Product demand document template, the business rule collection under component set and each component;
Wherein, when specific implementation, PD user initiate PRD document structure tree mode can there are many.For example, in a kind of mode
Under, since after generating PRD document every time, server can save specific product information, wherein the production
Product information includes specific PRD document and associated component set information, test case, test script, etc..And it is subsequent
Product may be continual exploitation on the basis of some product before, alternatively, very strong with the relevance of some product before, then when
The PD user of preceding product can be by being customized on the basis of the relevant configuration information of existing procucts.Alternatively, in another kind
Under mode, it is also possible to customize completely new product, that is, the relevance of current production and existing procucts before may be little, because
This, can customize completely new product.
Wherein, for first way, the option of operation for carrying out selection from existing procucts can be provided, passes through institute
The target existing procucts information that option of operation receives selection is stated, the associated configuration information of target existing procucts is provided, and
Option of operation for being edited on the basis of the target existing procucts associated configuration information, it is existing in target will pass through
The mode edited on the basis of the associated configuration information of product, determines the configuration information of current production.For example, specific implementation
When, optional Product labelling can be shown for PD user in first layer configuration interface, wherein both may include current PD user
The product of oneself exploitation can also include that the product of other PD User Exploitations can divide into " I when being specifically shown
Product " with " all over products " two catalogues, in order to which current PD user selects.Selecting specific Product labelling
Afterwards, the PRD document template that the corresponding PRD document template of the existing procucts can be selected as current production, furthermore it is possible to
In third layer configuration interface, the corresponding component set information of the existing procucts is shown.In this way, the PD user can be existing at this
Continue to customize on the basis of the associated component set of product, including increasing new component, business rule is carried out to existing component
Customization, etc. again, to generate the component tree of current production.Wherein, in newly-increased component or existing component is customized
During, it can realize and the editor of business rule or typing etc. are operated by the 4th layer of configuration interface.
For the second way, due to being the completely new product of customization, it is, therefore, possible to provide completely newly fixed for being carried out to product
The option of operation of system, and optional product demand document template and page info can pass through the option of operation later
Receive selection target product requirement documents template and related target pages.In turn, the target pages can be provided
Associated infrastructure component information aggregate, and the option of operation for being edited to the infrastructure component, will pass through to institute
The mode that the associated infrastructure component information of target pages is edited is stated, determines the component set and business rule of current production
Collection.For example, after the request for receiving current PD user, can be provided for name of product, PRD text when specific implementation
The interface that the file structure block etc. for including in shelves is configured, wherein file structure block can carry out table with tree
It reaches, can support multistage tree.For example, first nodes may include general introduction and function, summarizing can also be wrapped under node
The two-level nodes such as background, target, planning, risk are included, can also include the second levels sections such as function summary table, demand details under functional node
Point, etc..By this customization to document block, a new PRD document template, also, current exploitation can be generated
Carry out the generation of PRD document using the template with regard to defaulting in the process.
Furthermore it is also possible to provide optional page info, PD user opens according to needed for oneself by second layer configuration interface
The page involved in product is sent out, the selection of target pages is carried out by the second layer configuration interface.After target pages are selected,
The associated infrastructure component set of the target pages can be shown by third layer configuration interface.In turn, PD user can be with
The selection that component is carried out in the third layer configuration interface, alternatively, the third can also be passed through when needing using new component
Layer configuration interface increases new component;When needing to be customized existing infrastructure component, can also be configured by the third time
Initiate the customization, etc. to the infrastructure component in interface.It later, can be by the 4th layer of configuration interface, to industry specific in component
Business rule carries out the operation such as typing or editor.
That is, either above-mentioned first way or the second way, can be provided for carrying out component set
The option of operation of editor in turn can also be according to component set edited result formation component tree;Wherein, described for carrying out component
The option of operation of collection editor may include: that the option of operation of selection is carried out from known tip assemblies, for increasing the operation of New Parent
Option, and the option of operation, etc. for being customized to original component.For example, configuring boundary in third layer when specific implementation
In face, the component of PD user's selection can be shown in the form of component tree, also, this component tree supports newly-increased and modification, protects
Storage is into document template information after depositing.In click-to-call service component tree node, displayed page basic information mainly includes the page
(system operatio that current page entry criteria and the page provide, system operatio can pass through often leading information for identification
A component operation), while current page module information is shown according to rule.Wherein, if it is completely new customization, default shows current
All infrastructure component titles of the page, component details and other Service Component are supported to click expansion.Upgrade if it is original product,
Default shows product customization component Name, component details and other assemblies, supports to click displaying.
Wherein, there are two types of dimension of classifying, the first polymerize component according to function, is mainly used for the maintenance of component liaison logic;
It is mainly used for for second safeguarding the identification of the position page UI, can be customized by each page, following single-page can be divided into: commodity area
Block, shop block, package block, the overall situation, system level etc., block classification is directly displayed at user demand customized web page.
In component (when demand is prior to code development) for needing newly-increased system to be not present, component operation, checkpoint etc. are all
It is possibly unknown, at this point it is possible to extraction operation, checkpoint logical model, identification when for increasing newly.For example, specifically increasing component newly
Configuration interface can be as shown in figure 3-1, wherein component Name can be customized by PD user, can length to title, character
Type etc. is limited, for example, being limited within 10 characters, does not support spcial character.In addition, component Name can also be with survey
Code in examination platform assembly is mapped.About component recommended information, user can be supported to input, it is main for introducing component
Business and on the front status and other need the information of remarks.Leading information is the first nodes of essential characteristic, for example,
To the product in Mr. Yu's online sale platform, essential characteristic can be divided into: buyer, seller, commodity, order etc. are matched for rule
Scene is drawn a circle to approve when setting.Test platform offer option selection, is only used for identification operation, after code function is online, practical can will move
It is configured on corresponding option.Business rule is divided into two classes: component itself, associated component are related, wherein associated component is used for
Identification change range is estimated, and whether association influence is true finally to be determined by user.
Refer to when needing and being customized to original component, platform has realized Service Component, has completed in initial production
Component customization still needs to be modified business rule in current production.In this regard, can be by being configured in third layer
Click expansion module details after component Name in interface, each component can be divided into preposition component introduction, component, component operation,
Business rule (component services rule, associated services rule), associated component.Wherein, in order to avoid being caused to other existing procucts
It influences, can require original business rule that can not change, only support newly-increased rule and delete regular.After completing customization,
Component version, component snapshot can be saved, also, can be aobvious with setting information when record product references component and component differences
Show.In addition, nest can also be prompted to change when component version changes in product, change details are checked in support, including
The old and new's module configuration information and affiliated product.
Either newly-increased component, or increase new business rule newly in original component, it can specifically match at the 4th layer
Set the newly-increased operation that business rule is carried out in interface.Wherein, switching different mode can be supported by increasing regular interface newly, for example, from
Right language template and expression formula language template, by taking " Tian Mao supermarket " item detail page freight charges are shown as an example, natural language: day
Cat supermarket item detail page freight charges are shown as " full 88 yuan of packet postals ";Expression language is precondition: commodity-Tian Mao supermarket,
Operating procedure: rendering commodity details, it is contemplated that result: freight charges modules exhibit " full 88 yuan of packet postals ".Block in different templates can be with
It is identical, for example, may include condition, operation and result, regular preview and operation button area etc..
By taking expression formula language template as an example, configuration interface can be as shown in figure 3-2.Wherein may include terminal selection,
Multiple config options such as precondition, mode of operation setting, the setting of component liaison relation information, regular preview.
Wherein, about the configuration of precondition, as shown in Fig. 3-3, can provide the essential characteristic dimension of systemic presupposition into
Row customization.For example, essential characteristic may include buyer, commodity, seller, order etc. in network sale system product.Wherein,
The essential characteristic default chosen can be without expression formula, but system can provide under current component already present service feature for ginseng
It examines, fast custom.And the service feature generated on the basis of essential characteristic is (for example, buyer's feature 1 shown in Fig. 3-3, buyer
Feature 2, product features 1, product features 2, etc.) it can store in full chain channel platform, essential characteristic, the business of systemic presupposition
Feature provides interface by full chain channel platform and supports, while full chain channel platform can also provide interface and support to increase new business spy newly
Sign.Feature expression can then be carried out by the research/development platform that is provided in the embodiment of the present application it is assembled and pass to full chain channel platform into
Row parses, and may include in assembled result: whether desired character value, operator, expression formula sequence, data lock, etc..In short,
It is configured by " precondition ", the configuration to business rule characteristic value relevant information may be implemented.
About operative configuration, specific configuration interface can be as shown in Figure 3-4, wherein specific operation and result are realized
It can be provided by test platform (for example, Matrix platform etc.), the research/development platform in the embodiment of the present application only needs to complete operation, knot
The parsing identification and the customization of result checkpoint of fruit.When specific implementation, can bring into automatically the affiliated page basic operation of component,
Component basic operation has default to choose value (system offer), and following single-page default, which is chosen, to confirm an order.One operation can prop up
Multiple result verifications are held, a rule can support multiple operations, and the server in the embodiment of the present application can be with attended operation
Sequence simultaneously passes to test platform.Checkpoint can provide inquiry with component dimension, and system has checkpoint can be to enumerate shape
Formula is selected for user, the checkpoint of quantization supports input.
It should be noted that the usage scenario of mode of operation can be mainly divided into following three scene:
1. it is arranged without mode of operation, such as: under single commodity under single scene, integrated component selection " using integral " operation,
System default is full dose use, is selected without user;
2. it needs to be configured mode of operation, such as: under single commodity under single scene, invoice component selects " making out an invoice " behaviour
Make, user needs to select the invoice new line of invoice component, invoice type, invoice content;
3. need to be configured mode of operation, such as: under more commodity under single scene, " flower by stages " component selection " is repaired
Change flower by stages " operation, user need select modify to which commodity.
By it is above-mentioned to characteristic value and mode of operation information configuration after the completion of, can be by the two block content automatic sealing packages
Dress generates business rule, and it is possible to provide the preview to rule.
After completing above-mentioned configuration, the content of configuration can be protected by clicking " preservation " button in Fig. 3-2
It deposits.The option for " generating test case " in addition, can also provide in the expression formula page, user can by clicking the option,
Generate specific test case.
S203: product demand document is generated according to the configuration information.
Complete it is above-mentioned to component set and rule set and PRD document template with postponing, tool can be automatically generated
The PRD document of body.As it can be seen that by the embodiment of the present application the generation of PRD document can be carried out by way of configuring, to have
Conducive to the standardization and standardization for realizing PDR document.
In addition, function of search can also be provided in research/development platform provided by the embodiments of the present application, support according to component class
Not (infrastructure component, Service Component), component Name, the terminal (PC, native, H5 etc.) of support, platform (shopping guide, positive transaction,
Reverse a swap), the page (placing an order, shopping cart, reimbursement application etc.), the inquiry such as component states (in newly-increased, use, filing, deleting).
Furthermore it is also possible to provide various operations, including the overall situation increases component newly, component, batch is chosen to delete component, batch archive sets in batches
Part etc.;Have for single component and deletes component, archiving component, business rule details etc..
In actual product development process, after developer completes the exploitation of product demand document, tester needs
According to the product demand document preparation test case, test case be for some test target and formulate one group of test input,
Execution condition and expected results.Test case is the test core of product, and the quality and quantity of test case directly determines should
The development quality of product, therefore the exploitation of test case is also an important link of product development.Traditional approach is by testing
Personnel write test case according to personal development's experience manually, irregular due to personal experience, and the test of exploitation is caused to be used
The quality and quantity of example can be unsatisfactory for product demand, furthermore the efficiency for writing test case manually can not meet exploitation demand.
And in the embodiment of the present application, since PRD document is automatically generated by way of configuring, saving PRD document
When, the configuration information in Documents can also be saved, including the information such as the component set specifically included and rule set.Therefore, also
Test case can be automatically generated on the basis of above-mentioned configuration information.Specifically, can be obtained ahead of time in server business it
Between topological relationship information, also, relevant algorithm can also be preset, in this way, can be according to the product demand document
Associated configuration information generates the test case for carrying out product test.
Specifically, server-side can be according to preset product service topology relational graph, the determining business rule phase with product
The business information of pass;In turn, can according in the business information and product demand document configuration information and business close
It is topological relationship information, generates test case corresponding with the business rule.
It, can be a variety of for initiating test case/test script generation option of operation from providing when specific implementation.Example
Such as, under a kind of mode, one key of product can be pressed and generate use-case, specifically, can provide for generating test for appointed product
First option of operation of use-case when receiving corresponding request by first option of operation, is closed according to the appointed product
Each business rule of connection, generates corresponding test case respectively.For example, specifically, can " management of product " page each
It is corresponding with the link of one " case management " behind PRD, clicks [case management] and triggers use-case generation afterwards.Specifically, can be by
Every business rule generates a use-case set, and case management list is jumped to after generating successfully.It can also be according to product, page
Face, component set, rule set tree structure generate use-case catalogue, each rule can all correspond to the leaf mesh an of bottom
Record.For the rule of the structuring containing characteristic value, corresponding test script can also be generated while generating use-case, tested
Use-case can be associated with corresponding one by one with test script.Certainly, it for the unstructured rule of not characteristic value, can be only generated without right
Answer the test case of script.Later, can be by users such as relevant testers by way of manual association's test data
This test case is associated with test data, and then obtains corresponding test script, then is produced by executing this test script
Product test.
Under another implementation, use can also be provided respectively for each business rule under the associated each component of appointed product
In the second option of operation for generating test case, in this way, being received by second option of operation for specified services rule
When generating the request of test case, test case is generated for the specified services rule.When specific implementation, each component in product
Every rule can have corresponding [generating use-case] option of operation.It, can also be according to product, the page, component when specific implementation
The tree structure generation use-case catalogue of collection, rule set, the use-case of generation are stored under the catalogue of the rule of correspondence.
Wherein, the test case either generated for entire one key of product, still rule generates for the specific business
Test case, every rule can generate multiple test cases.
Test case in order to facilitate understanding is exemplified below, and by taking the business rule of " system login " as an example, is generated
A test case it is as follows:
Use-case title: system login;
Precondition: user name exists, password is correct;
Test data: already present user and password: test/hello1234;
Testing procedure 1: opening IE browser, respective objects address is inputted in address field, into the system login page;
Testing procedure 2: user name test, input password hello1234 are inputted;
Testing procedure 3: it clicks " login ";
Expected results: it logins successfully.
In an optional implementation manner, server-side can generate the test of different number according to different business rules
Use-case.For example, server-side can generate a test for the business rule when certain business rule is not related to product business
Use-case, such as system login test case;When certain business rule is related to specific product business, server-side can be directed to should
Business rule generates a plurality of test case, so as to which covering product business comprehensively, guarantees the validity and stability of product.
Wherein, when certain business rule is related to specific product business, server-side can be according to the product pre-established
The configuration information of business rule included by service topology relational graph and the product is that each business rule of product generates survey
Example on probation;The product service topology relational graph can be the relationship of the generation of the incidence relation between the business according to actual product
Figure;The product service topology relational graph reflects true business association situation, and server-side utilizes the product service topology relationship
Figure can expand multiple test cases out automatically for a business rule.
Specifically, in the embodiment of the present application, being expressed as precondition, operation step since every business rule is structured
Suddenly and expected results this three parts, server-side encapsulate corresponding characteristic value and verification in bottom for the above three parts
The code of method, precondition is corresponding with characteristic value, and operating procedure and expected results respectively correspond the code of method of calibration,
Therefore, multiple test cases out can be expanded for the relationship between product business involved in a business rule.
For example, by taking " electric appliances store's commodity, which place an order, to be issued invoice " this business rule as an example, due to electric appliances store quotient
The specific business such as the big household electrical appliances of product business association, small household appliances, 3C number, therefore when generating test case, 3 tests can be generated
Use-case: 1, big electrical household appliance, which places an order, to issue invoice;2, small household appliances commodity, which place an order, to issue invoice;3, under 3C digital product
List must issue invoice.
It should be noted that a business rule can correspond to multiple test cases, still, a test case can only be right
Answer a business rule.For example, the associated component of item detail page can have freight charges group by taking commodity details page as an example
Part, commodity master map component, commodity price component etc. multiple components, wherein freight charges component may include multiple business rules: 1,
Tian Mao supermarket commodity details page freight charges show " full 88 packet postals ";2, common day cat commodity, freight charges show corresponding price, such as transport
To Hangzhou be the postal of freight charges packet, to be transported to Guangzhou be 5 yuan of freight charges etc.;Server-side is directed to business according to product service topology relational graph
Multiple test cases can be generated in rule 1;Multiple test cases also can be generated for business rule 2 simultaneously.
It should be noted that not needing to generate test again when generating test case for not doing the business rule changed
Test case before can directly be imported into existing product test case list by use-case.Meanwhile server-side can be supported
User checks the test case of generation.
By the above method, server-side can be given birth to automatically by product service topology relational graph and structuring business rule
At multiple test cases, these test cases are enough comprehensively and specific, can reach good test effect.And traditional survey
Example generation on probation needs tester empirically to write manually, and efficiency is lower and due to being influenced by human factor, tests
Effect is undesirable.Therefore, it in the embodiment of the present application, while automatically generating PRD document in a manner of configuration, can also utilize
This configuration information and the service topology relation information pre-saved, automatically generate test case, therefore, are able to ascend entirety
Efficiency of research and development ensures product quality.
It should be noted that in practical applications, in addition to test case, during carrying out product test, it is also necessary to use
To test script, wherein test script generally refers to the series of instructions of a fc-specific test FC, these instructions can be tested trial work
Tool execute, for test product quality whether meet demand.Traditional approach is by tester according to personal development's experience hand
It is dynamic to write test script, also need to write false test data when writing test script, it is irregular due to personal experience,
Cause the test script of exploitation improper or test data is improper, causes test being unable to operate normally, furthermore write manually
The efficiency of test script can not meet exploitation demand.
And in the embodiment of the present application, due to supporting the structuring to business rule to express, including precondition, behaviour
Make step and expected results, and encapsulated corresponding code in bottom, server-side is opened up by the incidence relation of business and business
Figure is flutterred, generates one or more test cases for a business rule;Further, for the test case of structuring, benefit
Use the corresponding characteristic value of its precondition that can filter out true business datum as test data, in turn, according to the test
Data and the Code automatic build test script encapsulated.
It certainly, is the business rule of natural language for Unstructured Supplementary Service rule, the business rule is not due to tying
Structure then can not carry out test data screening by characteristic value, and the generation of test script needs corresponding test data, because
This Unstructured Supplementary Service rule can automatically generate test case but cannot generate corresponding test script.
As it can be seen that in the embodiment of the present application, for having carried out the business rule of structuring expression, server-side can be automatically
It calls the truthful data run on line as test data, automatically generates test script, while improving script formation efficiency,
It can also guarantee the validity of test.After test script executes completion, corresponding test report can be generated, in test report
In can read successfully the quantity of test case, the quantity of failure testing use-case.Meanwhile user can be in failure testing use-case day
The concrete reason of failure is searched in will, in order to which user can quickly position mistake, time update guarantees the quality of product.
Using the above method, server-side can generate corresponding test script while automatically generating test case, and
And the data run on line can be called as test data, it ensure that the authenticity and validity of test, so that user can be with
Quickly carry out test job, improves testing efficiency.
The method of above-mentioned product demand document structure tree provided by the embodiments of the present application provides unified mark for product development personnel
The product demand document development scheme of quasi- structuring guides developer to quickly understand business by the configuration interface of structuring,
Quickly generate product demand document, and according in product demand document business rule and business relations topological diagram automatically generate
Corresponding test case and test script, this standardized development scheme can shorten the research and development time, and can effectively sink
Product development document in shallow lake makes entire processes of research & development integration, automation and intelligent, guarantee product quality.
Embodiment two
As it was noted above, after completing to the configuration of product demand according to mode provided by the embodiments of the present application, it can also
Directly to generate test case according to this configuration information, without regenerating survey after generating specific PRD document
Example on probation.Therefore, which mainly provides a kind of product test information generating method, and referring to fig. 4, this method specifically may be used
To include:
S401: the option of operation for being configured to product demand is provided;
S402: product demand configuration information is received by the option of operation, includes needed for product in the configuration information
Component set and each component under business rule collection;
S403: according to the configuration information, and the topological relationship information between the business that is obtained ahead of time, generate for into
The test case of row product test.
It, can also be according to if the business rule is the structuring rule comprising characteristic value when specific implementation
Characteristic value filters out test data from true business datum, and according to the test data, corresponding for the business rule
Test cases technology test script.
About the specific implementation of each step in the embodiment two, the record in previous embodiment one may refer to, here not
It repeats again.
It corresponds to the above method, the embodiment of the present application also provides a kind of product demand document structure tree device, referring to
Fig. 5, the device can specifically include:
Option of operation provides unit 501, for providing the option of operation for being configured to product demand;
Configuration information receiving unit 502, for receiving product demand configuration information, the configuration by the option of operation
It include the business rule collection under product demand document template, component set and each component needed for product in information;
Requirement documents generation unit 503, for generating product demand document according to the configuration information.
When specific implementation, which can also include:
Test cases technology unit for the configuration information according to the product demand document associations, and is obtained ahead of time
Business between topological relationship information, generate the test case for carrying out product test.
Specifically, the Test cases technology unit can specifically include:
First option of operation provides subelement, for providing the first operation for being used for generating test case for appointed product
Option;
First generates subelement, when for receiving corresponding request by first option of operation, according to the finger
The associated each business rule of fixed output quota product, generates corresponding test case respectively.
Alternatively, the Test cases technology unit specifically also may include:
Second option of operation provides subelement, for mentioning respectively for each business rule under the associated each component of appointed product
For the second option of operation for generating test case;
Second generates subelement, tests for receiving to generate for specified services rule by second option of operation
When the request of use-case, test case is generated for the specified services rule.
In addition, the device can also include:
Regular judging unit, for determining whether the business rule is the structuring rule comprising characteristic value;
First test script generation unit, for if it is, being sieved from true business datum according to the characteristic value
Test data is selected, and is the corresponding Test cases technology test script of the business rule according to the test data.
Alternatively, can also include:
Second test script generation unit, for if it is be received as Unstructured Supplementary Service rule correspond to test case submit
Test data, and according to the test data be the corresponding test script of the Test cases technology
Furthermore can also include:
Test script execution unit, for being tested by executing the test script in preset test platform
As a result.
When specific implementation, the option of operation, which provides unit, specifically can be used for:
Option of operation for carrying out selection from existing procucts is provided;
The configuration information receiving unit specifically can be used for:
The target existing procucts information of selection is received by the option of operation;
The associated configuration information of target existing procucts is provided, and in the associated configuration of target existing procucts
The option of operation of the enterprising edlin of Information base is compiled on the basis of target existing procucts associated configuration information with will pass through
The mode collected, determines the configuration information of current production.
Specifically it can be used for alternatively, the option of operation provides unit:
Option of operation for completely newly being customized to product, and optional product demand document template and page are provided
Face information;
The configuration information receiving unit specifically can be used for:
By the option of operation receive selection target product requirement documents template and related target pages;
There is provided the target pages associated infrastructure component information aggregate, and for editing to the infrastructure component
Option of operation determine current produce in a manner of it will pass through and edit to the associated infrastructure component information of the target pages
The component set and business rule collection of product.
For another angle, the option of operation, which provides unit, specifically can be used for:
The option of operation for carrying out component set editor is provided, so as to according to component set edited result formation component tree;Its
In, it is described to be used to carry out the option of operation of component set editor to include: to carry out the option of operation of selection from known tip assemblies, for increasing
Add the option of operation of New Parent, and the option of operation for being customized to original component.
It specifically can be also used in addition, the option of operation provides unit:
After receiving the operation executed to the target element in the component tree, provide for being carried out to the target element
The interface of business rule editor, to determine the corresponding business rule collection of the target element.
It wherein, include: for preposition to component in the interface for carrying out business rule editor to the target element
The option of operation that condition, component mode of operation and/or component liaison relation information are configured, so as to preposition according to the component
Condition, mode of operation information generate the business rule information of structuring, wherein the precondition is used for the spy to business rule
Value indicative information is configured.
In addition, the device can also include:
Search unit, for providing the option of operation for scanning for, the dimension of described search include: component category,
Component Name, the terminal of support, platform, the page, component states.
Corresponding with embodiment two, the embodiment of the present application also provides a kind of product test information generation devices, referring to figure
6, the apparatus may include:
Option of operation provides unit 601, for providing the option of operation for being configured to product demand;
Configuration information receiving unit 602, for receiving product demand configuration information, the configuration by the option of operation
It include component set needed for product and the business rule collection under each component in information;
Test cases technology unit 603 is used for according to the configuration information, and the topology between the business being obtained ahead of time
Relation information generates the test case for carrying out product test.
When specific implementation, which can also include:
Regular judging unit, for determining whether the business rule is the structuring rule comprising characteristic value;
Test script generation unit, for if it is, being filtered out from true business datum according to the characteristic value
Test data, and according to the test data, it is the corresponding Test cases technology test script of the business rule.
In addition, corresponding with embodiment one, the embodiment of the present application also provides a kind of computer systems, comprising:
One or more processors;And
With the memory of one or more of relational processors, the memory is for storing program instruction, the journey
Sequence instruction is performed the following operations when reading execution by one or more of processors:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product needed for product in the configuration information
Business rule collection under requirement documents template, component set and each component;
Product demand document is generated according to the configuration information.
Corresponding with embodiment two, the embodiment of the present application also provides a kind of computer systems, comprising:
One or more processors;And
With the memory of one or more of relational processors, the memory is for storing program instruction, the journey
Sequence instruction is performed the following operations when reading execution by one or more of processors:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product needed for product in the configuration information
Business rule collection under requirement documents template, component set and each component;
According to the configuration information, and the topological relationship information between the business that is obtained ahead of time, it generates for being produced
The test case of product test.
Wherein, Fig. 7 illustratively illustrates the framework of computer system, can specifically include processor 710, and video is aobvious
Show adapter 711, disc driver 712, input/output interface 713, network interface 714 and memory 720.Above-mentioned processing
Device 710, video display adapter 711, disc driver 712, input/output interface 713, network interface 714, with memory
It can be communicatively coupled by communication bus 730 between 720.
Wherein, processor 710 can using general CPU (Central Processing Unit, central processing unit),
Microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or
The modes such as one or more integrated circuits are realized, for executing relative program, to realize technical solution provided herein.
Memory 720 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 720 can store
For controlling the operating system 721 of the operation of computer system 700, the base of the low-level operation for controlling computer system 700
This input-output system (BIOS).Furthermore it is also possible to web browser 723 is stored, data storage management system 724, and produce
Product requirement documents processing system 725 etc..The said goods requirement documents processing system 725 can be had in the embodiment of the present application
Body realizes the application program of These steps operation.In short, realizing skill provided herein by software or firmware
When art scheme, relevant program code is stored in memory 720, and execution is called by processor 710.
Input/output interface 713 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Network interface 714 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 730 includes an access, in various components (such as the processor 710, video display adapter 711, magnetic of equipment
Disk drive 712, input/output interface 713, network interface 714, with memory 720) between transmit information.
Had in addition, the computer system 700 can also be got in condition information database 741 from virtual resource object
Body gets the information of condition, for carrying out condition judgement, etc..
It should be noted that although above equipment illustrates only processor 710, video display adapter 711, disk drive
Device 712, input/output interface 713, network interface 714, memory 720, bus 730 etc., but in the specific implementation process,
The equipment can also include realizing to operate normally necessary other assemblies.In addition, it will be appreciated by those skilled in the art that
It is, it can also be only comprising realizing component necessary to application scheme, without including whole shown in figure in above equipment
Component.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.The application can be by calculating
The general described in the text, such as program module up and down for the computer executable instructions that machine executes.Generally, program module includes holding
The routine of row particular task or realization particular abstract data type, programs, objects, component, data structure etc..It can also divide
Cloth calculates in environment and practices the application, in these distributed computing environments, by connected long-range by communication network
Processing equipment executes task.In a distributed computing environment, program module can be located at the local including storage equipment
In remote computer storage medium.
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.In actual application
In, can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs, ability
Domain those of ordinary skill can understand and implement without creative efforts.
The above is only the specific embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (19)
1. a kind of product demand document structure tree method characterized by comprising
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product demand needed for product in the configuration information
Business rule collection under document template, component set and each component;
Product demand document is generated according to the configuration information.
2. the method according to claim 1, wherein further include:
According to the configuration information of the product demand document associations, and the topological relationship information between the business that is obtained ahead of time,
Generate the test case for carrying out product test.
3. according to the method described in claim 2, it is characterized in that,
The test case generated for carrying out product test, comprising:
The first option of operation for generating test case for appointed product is provided;
When receiving corresponding request by first option of operation, according to the associated each business rule of the appointed product,
Corresponding test case is generated respectively.
4. according to the method described in claim 2, it is characterized in that,
The test case generated for carrying out product test, comprising:
It is respectively provide for generating the second operation choosing of test case for each business rule under the associated each component of appointed product
?;
When receiving the request for specified services rule generation test case by second option of operation, industry is specified for this
Business rule generates test case.
5. according to the described in any item methods of claim 2 to 4, which is characterized in that further include:
Determine whether the business rule is the structuring rule comprising characteristic value;
If it is, filtering out test data from true business datum according to the characteristic value, and according to the test number
According to for the corresponding Test cases technology test script of the business rule.
6. according to the described in any item methods of claim 2 to 4, which is characterized in that
It is received as the test data that Unstructured Supplementary Service rule corresponds to test case submission, and is described according to the test data
The corresponding test script of Test cases technology
7. method according to claim 5 or 6, which is characterized in that further include:
By executing the test script in preset test platform, test result is obtained.
8. method according to any one of claims 1 to 7, which is characterized in that
Option of operation of the offer for being configured to product demand, comprising:
Option of operation for carrying out selection from existing procucts is provided;
It is described that product demand configuration information is received by the option of operation, comprising:
The target existing procucts information of selection is received by the option of operation;
The associated configuration information of target existing procucts is provided, and in the associated configuration information of target existing procucts
On the basis of the option of operation edited, edited on the basis of target existing procucts associated configuration information with will pass through
Mode determines the configuration information of current production.
9. method according to any one of claims 1 to 7, which is characterized in that
Option of operation of the offer for being configured to product demand, comprising:
Option of operation for completely newly being customized to product, and optional product demand document template and page letter are provided
Breath;
It is described that product demand configuration information is received by the option of operation, comprising:
By the option of operation receive selection target product requirement documents template and related target pages;
There is provided the target pages associated infrastructure component information aggregate, and the behaviour for being edited to the infrastructure component
Make option, in a manner of it will pass through and edit to the associated infrastructure component information of the target pages, determines current production
Component set and business rule collection.
10. method according to any one of claims 1 to 7, which is characterized in that
Option of operation of the offer for being configured to product demand, comprising:
The option of operation for carrying out component set editor is provided, so as to according to component set edited result formation component tree;Wherein, institute
Stating the option of operation for carrying out component set editor includes: that the option of operation of selection is carried out from known tip assemblies, new for increasing
The option of operation of component, and the option of operation for being customized to original component.
11. according to the method described in claim 10, it is characterized in that,
Option of operation of the offer for being configured to product demand, further includes:
After receiving the operation executed to the target element in the component tree, provide for carrying out business to the target element
The interface of rule editing, to determine the corresponding business rule collection of the target element.
12. according to the method for claim 11, which is characterized in that
It include: for component precondition, component in the interface for carrying out business rule editor to the target element
The option of operation that mode of operation and/or component liaison relation information are configured, so as to according to the component precondition, operation
The business rule information of mode information generation structuring, wherein the precondition is used for the characteristic value information to business rule
It is configured.
13. method according to any one of claims 1 to 7, which is characterized in that further include:
Option of operation for scanning for is provided, the dimension of described search include: component category, component Name, support end
End, platform, the page, component states.
14. a kind of product test information generating method characterized by comprising
Option of operation for being configured to product demand is provided;
Receive product demand configuration information by the option of operation, include component set needed for product in the configuration information with
And the business rule collection under each component;
According to the configuration information, and the topological relationship information between the business that is obtained ahead of time, it generates for carrying out product survey
The test case of examination.
15. according to the method for claim 14, which is characterized in that further include:
Determine whether the business rule is the structuring rule comprising characteristic value;
If it is, filtering out test data from true business datum according to the characteristic value, and according to the test number
According to for the corresponding Test cases technology test script of the business rule.
16. a kind of product demand document structure tree device characterized by comprising
Option of operation provides unit, for providing the option of operation for being configured to product demand;
Configuration information receiving unit, for by option of operation reception product demand configuration information, in the configuration information
Including product demand document template, component set needed for product and the business rule collection under each component;
Requirement documents generation unit, for generating product demand document according to the configuration information.
17. a kind of product test information generation device characterized by comprising
Option of operation provides unit, for providing the option of operation for being configured to product demand;
Configuration information receiving unit, for by option of operation reception product demand configuration information, in the configuration information
Business rule collection including component set needed for product and under each component;
Test cases technology unit is used for according to the configuration information, and the topological relation letter between the business being obtained ahead of time
Breath, generates the test case for carrying out product test.
18. a kind of computer system characterized by comprising
One or more processors;And
With the memory of one or more of relational processors, for storing program instruction, described program refers to the memory
It enables when reading execution by one or more of processors, performs the following operations:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product demand needed for product in the configuration information
Business rule collection under document template, component set and each component;
Product demand document is generated according to the configuration information.
19. a kind of computer system characterized by comprising
One or more processors;And
With the memory of one or more of relational processors, for storing program instruction, described program refers to the memory
It enables when reading execution by one or more of processors, performs the following operations:
Option of operation for being configured to product demand is provided;
Product demand configuration information is received by the option of operation, includes product demand needed for product in the configuration information
Business rule collection under document template, component set and each component;
According to the configuration information, and the topological relationship information between the business that is obtained ahead of time, it generates for carrying out product survey
The test case of examination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810217550.7A CN110244934B (en) | 2018-03-09 | 2018-03-09 | Method and device for generating product demand document and test information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810217550.7A CN110244934B (en) | 2018-03-09 | 2018-03-09 | Method and device for generating product demand document and test information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110244934A true CN110244934A (en) | 2019-09-17 |
CN110244934B CN110244934B (en) | 2024-01-19 |
Family
ID=67882375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810217550.7A Active CN110244934B (en) | 2018-03-09 | 2018-03-09 | Method and device for generating product demand document and test information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110244934B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112818628A (en) * | 2020-12-30 | 2021-05-18 | 黄国勳 | Automatic development method and system for integrated circuit manufacturing process design rule |
CN113051868A (en) * | 2021-04-02 | 2021-06-29 | 黄国勳 | DRC automatic interface realization method for integrated circuit manufacturing process rule verification |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080184206A1 (en) * | 2007-01-31 | 2008-07-31 | Oracle International Corporation | Computer-implemented methods and systems for generating software testing documentation and test results management system using same |
CN101361088A (en) * | 2005-11-23 | 2009-02-04 | 瑞士银行股份有限公司 | Computer implemented system for creating, processing and managing structured data sets |
CN101377737A (en) * | 2007-08-28 | 2009-03-04 | 上海宝信软件股份有限公司 | Resource management apparatus of application system |
US20120311426A1 (en) * | 2011-05-31 | 2012-12-06 | Oracle International Corporation | Analysis of documents using rules |
CN103412853A (en) * | 2013-08-05 | 2013-11-27 | 北京信息科技大学 | Method for automatically generating test cases aiming at document converters |
CN103488482A (en) * | 2013-09-16 | 2014-01-01 | 深圳市龙视传媒有限公司 | Method and device for generating test cases |
JP2014171053A (en) * | 2013-03-01 | 2014-09-18 | Sky Com:Kk | Electronic document container data file, electronic document container data file generating apparatus, electronic document container data file generating program, server apparatus, and electronic document container data file generating method |
CN104572449A (en) * | 2014-12-23 | 2015-04-29 | 中国移动通信集团广东有限公司 | Automatic test method based on case library |
CN104699608A (en) * | 2015-03-10 | 2015-06-10 | 于秀山 | Automatic test method and device for graphic user interface software |
CN106250164A (en) * | 2016-08-16 | 2016-12-21 | 广州仕邦人力资源有限公司 | A kind of code generating method based on requirement documents and device |
CN106294150A (en) * | 2016-08-09 | 2017-01-04 | 北京神州绿盟信息安全科技股份有限公司 | A kind of test loading method and device |
CN106570189A (en) * | 2016-11-14 | 2017-04-19 | 广东电网有限责任公司 | Convenient management method for computer application systems and documents |
CN107729047A (en) * | 2017-10-11 | 2018-02-23 | 锐捷网络股份有限公司 | Document structure tree method and device |
-
2018
- 2018-03-09 CN CN201810217550.7A patent/CN110244934B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361088A (en) * | 2005-11-23 | 2009-02-04 | 瑞士银行股份有限公司 | Computer implemented system for creating, processing and managing structured data sets |
US20080184206A1 (en) * | 2007-01-31 | 2008-07-31 | Oracle International Corporation | Computer-implemented methods and systems for generating software testing documentation and test results management system using same |
CN101377737A (en) * | 2007-08-28 | 2009-03-04 | 上海宝信软件股份有限公司 | Resource management apparatus of application system |
US20120311426A1 (en) * | 2011-05-31 | 2012-12-06 | Oracle International Corporation | Analysis of documents using rules |
JP2014171053A (en) * | 2013-03-01 | 2014-09-18 | Sky Com:Kk | Electronic document container data file, electronic document container data file generating apparatus, electronic document container data file generating program, server apparatus, and electronic document container data file generating method |
CN103412853A (en) * | 2013-08-05 | 2013-11-27 | 北京信息科技大学 | Method for automatically generating test cases aiming at document converters |
CN103488482A (en) * | 2013-09-16 | 2014-01-01 | 深圳市龙视传媒有限公司 | Method and device for generating test cases |
CN104572449A (en) * | 2014-12-23 | 2015-04-29 | 中国移动通信集团广东有限公司 | Automatic test method based on case library |
CN104699608A (en) * | 2015-03-10 | 2015-06-10 | 于秀山 | Automatic test method and device for graphic user interface software |
CN106294150A (en) * | 2016-08-09 | 2017-01-04 | 北京神州绿盟信息安全科技股份有限公司 | A kind of test loading method and device |
CN106250164A (en) * | 2016-08-16 | 2016-12-21 | 广州仕邦人力资源有限公司 | A kind of code generating method based on requirement documents and device |
CN106570189A (en) * | 2016-11-14 | 2017-04-19 | 广东电网有限责任公司 | Convenient management method for computer application systems and documents |
CN107729047A (en) * | 2017-10-11 | 2018-02-23 | 锐捷网络股份有限公司 | Document structure tree method and device |
Non-Patent Citations (4)
Title |
---|
IRINA KARAKOZOVA ET.AL: "Requirements for the data transfer during the examination of design documentation", 《MATEC WEB CONF.》, vol. 106, pages 1 - 9 * |
侯剑;: "浅谈基于B/S的电力系统业务传递审批软件设计", 电子世界, no. 18, pages 147 - 149 * |
刘正琼等: "产品开发过程与数据集成管理模型的研究", 《工程图学学报》 * |
刘正琼等: "产品开发过程与数据集成管理模型的研究", 《工程图学学报》, no. 06, 15 December 2009 (2009-12-15), pages 187 - 191 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112818628A (en) * | 2020-12-30 | 2021-05-18 | 黄国勳 | Automatic development method and system for integrated circuit manufacturing process design rule |
CN112818628B (en) * | 2020-12-30 | 2024-08-06 | 黄国勳 | Automatic developing method and system for design rule of integrated circuit manufacturing process |
CN113051868A (en) * | 2021-04-02 | 2021-06-29 | 黄国勳 | DRC automatic interface realization method for integrated circuit manufacturing process rule verification |
Also Published As
Publication number | Publication date |
---|---|
CN110244934B (en) | 2024-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10929116B2 (en) | Generation of dynamic software models using input mapping with feature definitions | |
US9460415B2 (en) | Determining semantic information of business applications | |
US8904342B2 (en) | System and method for rapid development of software applications | |
KR101862235B1 (en) | Specifying user interface elements | |
US8799854B2 (en) | Reusing software development assets | |
US10423675B2 (en) | System and method for automated domain-extensible web scraping | |
US20140114822A1 (en) | Method and system for creating tax configuration templates | |
US20030233631A1 (en) | Web services development method | |
CN107357593A (en) | Source code file construction method, device, electric terminal and readable storage medium storing program for executing | |
US20120324116A1 (en) | Enabling Service Virtualization in a Cloud | |
US10885087B2 (en) | Cognitive automation tool | |
CN107644286A (en) | Workflow processing method and device | |
CN107678943B (en) | Page automatic testing method of abstract page object | |
CN106886406A (en) | The generation method and device of exploitation code or document | |
US20100312592A1 (en) | Confirming enforcement of business rules specified in a data access tier of a multi-tier application | |
CN109460663A (en) | A kind of intelligence contract auditing method, device and its storage medium | |
CN111784108B (en) | Modeling method and device of main data management platform | |
CN110109893A (en) | The method and apparatus of data modeling and operation | |
CN109360092A (en) | Transaction node configuration method, device and computer equipment | |
CN110244934A (en) | Product demand document, the generation method and device for testing information | |
CN104182226A (en) | General mobile information system adaptation method and device | |
CN105824684B (en) | A kind of implementation method of multi-mode big data software simulator | |
CN115543428A (en) | Simulated data generation method and device based on strategy template | |
CN111916164B (en) | Method and device for realizing center-started investigation system in clinical research | |
US20150088773A1 (en) | Method and system for in-memory policy analytics |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |