CN108874676A - Method and device for distributing test resources - Google Patents
Method and device for distributing test resources Download PDFInfo
- Publication number
- CN108874676A CN108874676A CN201810674588.7A CN201810674588A CN108874676A CN 108874676 A CN108874676 A CN 108874676A CN 201810674588 A CN201810674588 A CN 201810674588A CN 108874676 A CN108874676 A CN 108874676A
- Authority
- CN
- China
- Prior art keywords
- functional module
- ballot
- personnel
- software
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
Abstract
The invention provides a method and a device for distributing test resources, wherein the method comprises the following steps: acquiring software to be tested, wherein the software is divided into a plurality of functional modules according to functions, and each functional module corresponds to at least one voter; aiming at each functional module, acquiring the number of voters corresponding to the functional module, and generating voting addresses with the number and corresponding voting pages, wherein the voting addresses correspond to the voters one by one; providing the voting address for the terminal equipment so that the terminal equipment displays a corresponding voting page according to the voting address to allow a voter to vote and acquire a voting result; determining the importance weight of the functional module according to the voting result; according to the importance weight of each function module, test resources are distributed for each function module, so that the voting results of each voter can be automatically acquired, the test resources are automatically distributed to each function module, the distribution efficiency is high, and the labor cost is low.
Description
Technical field
The present invention relates to field of computer technology more particularly to the distribution methods and device of a kind of test resource.
Background technique
Current software when testing, needs to acquire the opinion of related personnel, for example, product manager, research staff,
Tester, user experience design personnel, business implement personnel to the opinion of each functional module of software, and then are each according to opinion
Functional module allocation for test resource.In above scheme, needing through artificial mode come allocation for test resource, allocative efficiency is low,
And cost of labor is big.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of distribution method of test resource, for solving existing skill
The problem of test resource allocative efficiency difference in art.
Second object of the present invention is to propose a kind of distributor of test resource.
Third object of the present invention is to propose the distributor of another test resource.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
5th purpose of the invention is to propose a kind of computer program product.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of distribution method of test resource, including:
Obtain software to be tested;The software is divided by function as multiple functional modules;Each functional module is corresponding
At least one ballot personnel;
For each functional module, the quantity of the corresponding ballot personnel of the functional module is obtained, generating has the number
The polling address of amount and the corresponding ballot page;The polling address and ballot personnel correspond;
The polling address is supplied to terminal device, so that terminal device is shown corresponding according to the polling address
The ballot page obtains voting results for ballot personnel's ballot;
According to the voting results, the weights of importance of the functional module is determined;
It is each functional module allocation for test resource according to the weights of importance of each functional module.
Further, software template used by the software, for the software template of intelligent contract.
Further, include in the voting results:The ballot quantity of the corresponding ballot personnel of the functional module;
It is described to determine the weights of importance of the functional module according to the voting results, including:
Obtain the ballot ticket value of the corresponding ballot personnel of the functional module and the risk of the functional module;
According to the ballot quantity of the ballot personnel and ballot ticket value, the significance level of the functional module is determined;
According to the significance level and the risk, the weights of importance of the functional module is calculated.
Further, the acquisition modes of the risk of the functional module are,
Obtain bug quantity and problematic amount of the functional module in history test process;
According to the bug quantity and problematic amount, the risk of the functional module is calculated.
Further, the weights of importance according to each functional module, for each functional module distribution
Test resource, including:
According to the weights of importance of each functional module, the ratio of each functional module in the software is determined;
It is each functional module allocation for test resource according to the ratio of each functional module.
The distribution method of the test resource of the embodiment of the present invention, by obtaining software to be tested, software is drawn according to function
It is divided into multiple functional modules, each functional module corresponds at least one ballot personnel;For each functional module, function mould is obtained
The quantity of the corresponding ballot personnel of block generates the polling address and the corresponding ballot page with quantity, polling address and throwing
Ticket personnel correspond;Polling address is supplied to terminal device, so that terminal device shows corresponding throwing according to polling address
The ticket page obtains voting results for ballot personnel's ballot;According to voting results, the weights of importance of functional module is determined;Root
It is each functional module allocation for test resource, so as to obtain each throwing automatically according to the weights of importance of each functional module
The voting results of ticket personnel carry out the distribution of test resource to each functional module automatically, and allocative efficiency is high, and human cost is low.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of distributor of test resource, including:
Module is obtained, for obtaining software to be tested;The software is divided by function as multiple functional modules;Each
Functional module corresponds at least one ballot personnel;
Generation module obtains the quantity of the corresponding ballot personnel of the functional module, life for being directed to each functional module
At polling address and the corresponding ballot page with the quantity;The polling address and ballot personnel correspond;
Module is provided, for the polling address to be supplied to terminal device, so that terminal device is according to the ballot ground
Location shows the corresponding ballot page, for ballot personnel's ballot, obtains voting results;
Determining module, for determining the weights of importance of the functional module according to the voting results;
Distribution module, for the weights of importance according to each functional module, for each functional module distribution
Test resource.
Further, software template used by the software, for the software template of intelligent contract.
Further, include in the voting results:The ballot quantity of the corresponding ballot personnel of the functional module;
Corresponding, the determining module is specifically used for,
Obtain the ballot ticket value of the corresponding ballot personnel of the functional module and the risk of the functional module;
According to the ballot quantity of the ballot personnel and ballot ticket value, the significance level of the functional module is determined;
According to the significance level and the risk, the weights of importance of the functional module is calculated.
Further, the acquisition modes of the risk of the functional module are,
Obtain bug quantity and problematic amount of the functional module in history test process;
According to the bug quantity and problematic amount, the risk of the functional module is calculated.
The distributor of the test resource of the embodiment of the present invention, by obtaining software to be tested, software is drawn according to function
It is divided into multiple functional modules, each functional module corresponds at least one ballot personnel;For each functional module, function mould is obtained
The quantity of the corresponding ballot personnel of block generates the polling address and the corresponding ballot page with quantity, polling address and throwing
Ticket personnel correspond;Polling address is supplied to terminal device, so that terminal device shows corresponding throwing according to polling address
The ticket page obtains voting results for ballot personnel's ballot;According to voting results, the weights of importance of functional module is determined;Root
It is each functional module allocation for test resource, so as to obtain each throwing automatically according to the weights of importance of each functional module
The voting results of ticket personnel carry out the distribution of test resource to each functional module automatically, and allocative efficiency is high, and human cost is low.
In order to achieve the above object, third aspect present invention embodiment proposes the distributor of another test resource, including
Memory, processor and storage on a memory and the computer program that can run on a processor, processor execution institute
The distribution method of test resource as described above is realized when stating program.
To achieve the goals above, fourth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory
Medium realizes method as described above when the instruction in the storage medium is executed by processor.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of computer program product, when the calculating
When instruction processing unit in machine program product executes, method as described above is realized.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is a kind of flow diagram of the distribution method of test resource provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the distributor of test resource provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the distributor of another test resource provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the distribution method and device of the test resource of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of the distribution method of test resource provided in an embodiment of the present invention.As shown in Figure 1,
The distribution method of the test resource includes the following steps:
S101, software to be tested is obtained, software is divided by function as multiple functional modules, each functional module correspondence
At least one ballot personnel.
The executing subject of the distribution method of test resource provided by the invention is the distributor of test resource, test resource
Distributor be specifically as follows the hardware devices such as terminal device, the server that can be communicated with other terminal devices, or
The software installed on person's hardware device, for example, being deployed in the intelligent contract on block chain.
In the present embodiment, software template used by software can be the software template of intelligent contract.That is, soft
Part program can write program in the program frame of intelligent contract directly using the program frame of intelligent contract when writing,
To obtain the software write.Wherein, intelligent contract is that one kind is intended to information-based mode and propagates, and verifies or execute contract
Computer protocol is deployed on block chain.Block chain is a kind of sequentially in time by data block in such a way that sequence is connected
A kind of chain structure being combined into.
In the present embodiment, program is write in the program frame of intelligent contract, in the software got, can be preset
The division methods of good functional module preset ready-portioned functional module, and the corresponding throwing of each functional module of setting
Ticket personnel, the quantity of voting of each ballot personnel.It is pre- in available software when being used as agreement to execute after software programming is good
The above- mentioned information being first arranged execute the pre-set operation of software, such as generation polling address etc..Wherein, ballot personnel example
It such as can be tester, research staff, commercial staff, product personnel.
In the present embodiment, intelligent contract is deployed on block chain, then writes program in the program frame of intelligent contract and obtain
The software arrived is also deployed on block chain.Since software is using the software template of intelligent contract, then intelligent contract can
Pass through software in the case that perhaps server interacts in the present embodiment of address information and multiple terminal devices or test
The distributor of resource can also be interacted by address information and multiple terminal devices or server, such as be set to terminal
It is standby that polling address, ballot page etc. are provided, and obtain the voting results of terminal device.
S102, it is directed to each functional module, obtains the quantity of the corresponding ballot personnel of functional module, generating has the number
The polling address of amount and the corresponding ballot page, polling address and ballot personnel correspond.
In the present embodiment, for the corresponding ballot personnel of each functional module, the distributor of test resource can be every
A ballot personnel generate a polling address and the corresponding ballot page, to provide ballot as ballot personnel by polling address
The page.
S103, polling address is supplied to terminal device, so that terminal device shows corresponding ballot according to polling address
The page obtains voting results for ballot personnel's ballot.
In the present embodiment, may include in the ballot page that the distributor of test resource generates:Ballot personnel title, can
The information such as ballot quantity, ballot ticket value.After polling address is supplied to terminal device by the distributor of test resource, terminal is set
It is standby to transfer the corresponding ballot page, and then show the ballot page.
S104, according to voting results, determine the weights of importance of functional module.
In the present embodiment, may include in voting results:The ballot quantity of the corresponding ballot personnel of functional module.It is corresponding
, the process that the distributor of test resource executes step 104 is specifically as follows, and obtains the corresponding ballot personnel's of functional module
The risk of ticket value of voting and functional module;According to the ballot quantity of ballot personnel and ballot ticket value, functional module is determined
Significance level;According to significance level and risk, the weights of importance of computing function module.
Wherein, ballot ticket value for example can be the numerical value such as 50%, 100%.For example, functional module A is directed to, if research staff
B is the personnel of development function modules A, then research staff B possesses the franchise of functional module A, and ticket value of voting is 100%;Its
He has neither part nor lot in the ballot personnel of functional module A exploitation, and ballot ticket value can wait numerical value for 50%.It, can be in the present embodiment
For different ballot personnel, different quantity of voting is distributed.Such as functional module A, research staff B's can votes
Measure it is more, and other have neither part nor lot in functional module A exploitation ballot personnel negligible amounts of voting.
In the present embodiment, the significance level of functional module can be the ballot quantity and ballot ticket value of each ballot personnel
Weighted sum;The weights of importance of functional module can be the product of significance level and risk.Wherein, the risk of functional module
Degree, can artificially be assessed by tester;Alternatively, functional module the asking in history test process provided according to tester
It inscribes quantity and bug quantity determines.Wherein, bug is the bug in the corresponding program of functional module;Problem is that functional module is corresponding
The program problem in the process of running.
S105, according to the weights of importance of each functional module, be each functional module allocation for test resource.
In the present embodiment, the process that the distributor of test resource executes step 105 is specifically as follows, according to each function
The weights of importance of module determines the ratio of each functional module in software;It is each function according to the ratio of each functional module
It can module assignment test resource.Wherein, the high functional module of weights of importance, the test resource being assigned to are more;Importance power
The low functional module of weight, the test resource being assigned to are less.Test resource can refer to be made in tester or test process
The resources such as the hardware used.
The distribution method of the test resource of the embodiment of the present invention, by obtaining software to be tested, software is drawn according to function
It is divided into multiple functional modules, each functional module corresponds at least one ballot personnel;For each functional module, function mould is obtained
The quantity of the corresponding ballot personnel of block generates the polling address and the corresponding ballot page with quantity, polling address and throwing
Ticket personnel correspond;Polling address is supplied to terminal device, so that terminal device shows corresponding throwing according to polling address
The ticket page obtains voting results for ballot personnel's ballot;According to voting results, the weights of importance of functional module is determined;Root
It is each functional module allocation for test resource, so as to obtain each throwing automatically according to the weights of importance of each functional module
The voting results of ticket personnel carry out the distribution of test resource to each functional module automatically, and allocative efficiency is high, and human cost is low.
Fig. 2 is a kind of structural schematic diagram of the distributor of test resource provided in an embodiment of the present invention.As shown in Fig. 2,
Including:It obtains module 21, generation module 22, provide module 23, determining module 24 and distribution module 25.
Wherein, module 21 is obtained, for obtaining software to be tested, the software is divided by function as multiple function moulds
Block, each functional module correspond at least one ballot personnel;
Generation module 22, for obtaining the quantity of the corresponding ballot personnel of the functional module for each functional module,
The polling address and the corresponding ballot page with the quantity are generated, the polling address and ballot personnel correspond;
Module 23 is provided, for the polling address to be supplied to terminal device, so that terminal device is according to the ballot
Address shows the corresponding ballot page, for ballot personnel's ballot, obtains voting results;
Determining module 24, for determining the weights of importance of the functional module according to the voting results;
Distribution module 25, for the weights of importance according to each functional module, for each functional module point
With test resource.
The distributor of test resource provided by the invention is specifically as follows and can be communicated with other terminal devices
The software installed on the hardware devices such as terminal device, server or hardware device, for example, being deployed in the intelligence on block chain
Contract.
In the present embodiment, software template used by software can be the software template of intelligent contract.That is, soft
Part program can write program in the program frame of intelligent contract directly using the program frame of intelligent contract when writing,
To obtain the software write.Wherein, intelligent contract is that one kind is intended to information-based mode and propagates, and verifies or execute contract
Computer protocol is deployed on block chain.Block chain is a kind of sequentially in time by data block in such a way that sequence is connected
A kind of chain structure being combined into.
In the present embodiment, program is write in the program frame of intelligent contract, in the software got, can be preset
The division methods of good functional module preset ready-portioned functional module, and the corresponding throwing of each functional module of setting
Ticket personnel, the quantity of voting of each ballot personnel.It is pre- in available software when being used as agreement to execute after software programming is good
The above- mentioned information being first arranged execute the pre-set operation of software, such as generation polling address etc..Wherein, ballot personnel example
It such as can be tester, research staff, commercial staff, product personnel.
In the present embodiment, intelligent contract is deployed on block chain, then writes program in the program frame of intelligent contract and obtain
The software arrived is also deployed on block chain.Since software is using the software template of intelligent contract, then intelligent contract can
Pass through software in the case that perhaps server interacts in the present embodiment of address information and multiple terminal devices or test
The distributor of resource can also be interacted by address information and multiple terminal devices or server, such as be set to terminal
It is standby that polling address, ballot page etc. are provided, and obtain the voting results of terminal device.
In the present embodiment, may include in the ballot page that the distributor of test resource generates:Ballot personnel title, can
The information such as ballot quantity, ballot ticket value.After polling address is supplied to terminal device by the distributor of test resource, terminal is set
It is standby to transfer the corresponding ballot page, and then show the ballot page.
Further, on the basis of the above embodiments, include in the voting results:The corresponding throwing of the functional module
The ballot quantity of ticket personnel.Corresponding, the determining module 24 is specifically used for, and obtains the corresponding ballot personnel of the functional module
Ballot ticket value and the functional module risk;According to the ballot quantity of the ballot personnel and ballot ticket value, determine
The significance level of the functional module;According to the significance level and the risk, the importance of the functional module is calculated
Weight.
In the present embodiment, the significance level of functional module can be the ballot quantity and ballot ticket value of each ballot personnel
Weighted sum;The weights of importance of functional module can be the product of significance level and risk.Wherein, the risk of functional module
Degree, can artificially be assessed by tester;Alternatively, functional module the asking in history test process provided according to tester
It inscribes quantity and bug quantity determines.Wherein, bug is the bug in the corresponding program of functional module;Problem is that functional module is corresponding
The program problem in the process of running.
Further, on the basis of the above embodiments, distribution module 25 specifically can be used for, according to each functional module
Weights of importance, determine the ratio of each functional module in software;It is each function mould according to the ratio of each functional module
Block allocation for test resource.Wherein, the high functional module of weights of importance, the test resource being assigned to are more;Weights of importance is low
Functional module, the test resource being assigned to is less.Test resource can refer to be arrived used in tester or test process
The resources such as hardware.
The distributor of the test resource of the embodiment of the present invention, by obtaining software to be tested, software is drawn according to function
It is divided into multiple functional modules, each functional module corresponds at least one ballot personnel;For each functional module, function mould is obtained
The quantity of the corresponding ballot personnel of block generates the polling address and the corresponding ballot page with quantity, polling address and throwing
Ticket personnel correspond;Polling address is supplied to terminal device, so that terminal device shows corresponding throwing according to polling address
The ticket page obtains voting results for ballot personnel's ballot;According to voting results, the weights of importance of functional module is determined;Root
It is each functional module allocation for test resource, so as to obtain each throwing automatically according to the weights of importance of each functional module
The voting results of ticket personnel carry out the distribution of test resource to each functional module automatically, and allocative efficiency is high, and human cost is low.
Fig. 3 is the structural schematic diagram of the distributor of another test resource provided in an embodiment of the present invention.Test money
The distributor in source includes:
Memory 1001, processor 1002 and it is stored in the calculating that can be run on memory 1001 and on processor 1002
Machine program.
Processor 1002 realizes the distribution method of the test resource provided in above-described embodiment when executing described program.
Further, the distributor of test resource further includes:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-
Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes the distribution method of test resource described in above-described embodiment when for executing described program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory
1001 and processor 1002 can be connected with each other by bus and complete mutual communication.The bus can be industrial standard
Architecture (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection
(Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry
Standard Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, control
Bus processed etc..Only to be indicated with a thick line in Fig. 3, it is not intended that an only bus or a type of convenient for indicating
Bus.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one
It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface
Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or
Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt
It is configured to implement one or more integrated circuits of the embodiment of the present invention.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that
The program realizes the distribution method of test resource as described above when being executed by processor.
The present embodiment also provides a kind of computer program product, when the instruction processing unit in the computer program product is held
When row, the distribution method of test resource as described above.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With for data-signal realize logic function logic gates from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of distribution method of test resource, which is characterized in that including:
Obtain software to be tested, the software is divided by function as multiple functional modules, and each functional module is corresponding at least
One ballot personnel;
For each functional module, the quantity of the corresponding ballot personnel of the functional module is obtained, generating has the quantity
Polling address and the corresponding ballot page, the polling address and ballot personnel correspond;
The polling address is supplied to terminal device, so that terminal device shows corresponding ballot according to the polling address
The page obtains voting results for ballot personnel's ballot;
According to the voting results, the weights of importance of the functional module is determined;
It is each functional module allocation for test resource according to the weights of importance of each functional module.
2. the method according to claim 1, wherein software template used by the software, is intelligent contract
Software template.
3. the method according to claim 1, wherein including in the voting results:
The ballot quantity of the corresponding ballot personnel of the functional module;
It is described to determine the weights of importance of the functional module according to the voting results, including:
Obtain the ballot ticket value of the corresponding ballot personnel of the functional module and the risk of the functional module;
According to the ballot quantity of the ballot personnel and ballot ticket value, the significance level of the functional module is determined;
According to the significance level and the risk, the weights of importance of the functional module is calculated.
4. according to the method described in claim 3, it is characterized in that, the acquisition modes of the risk of the functional module are,
Obtain bug quantity and problematic amount of the functional module in history test process;
According to the bug quantity and problematic amount, the risk of the functional module is calculated.
5. the method according to claim 1, wherein described weigh according to the importance of each functional module
Weight is each functional module allocation for test resource, including:
According to the weights of importance of each functional module, the ratio of each functional module in the software is determined;
It is each functional module allocation for test resource according to the ratio of each functional module.
6. a kind of distributor of test resource, which is characterized in that including:
Module is obtained, for obtaining software to be tested, the software is divided by function as multiple functional modules, each function
Module corresponds at least one ballot personnel;
Generation module obtains the quantity of the corresponding ballot personnel of the functional module, generates tool for being directed to each functional module
There are the polling address and the corresponding ballot page of the quantity, the polling address and ballot personnel correspond;
Module is provided, for the polling address to be supplied to terminal device, so that terminal device is shown according to the polling address
Show the corresponding ballot page, for ballot personnel's ballot, obtains voting results;
Determining module, for determining the weights of importance of the functional module according to the voting results;
Distribution module is each functional module allocation for test for the weights of importance according to each functional module
Resource.
7. device according to claim 6, which is characterized in that software template used by the software, for intelligent contract
Software template.
8. device according to claim 6, which is characterized in that include in the voting results:The functional module is corresponding
Ballot personnel ballot quantity;
Corresponding, the determining module is specifically used for,
Obtain the ballot ticket value of the corresponding ballot personnel of the functional module and the risk of the functional module;
According to the ballot quantity of the ballot personnel and ballot ticket value, the significance level of the functional module is determined;
According to the significance level and the risk, the weights of importance of the functional module is calculated.
9. device according to claim 8, which is characterized in that the acquisition modes of the risk of the functional module are,
Obtain bug quantity and problematic amount of the functional module in history test process;
According to the bug quantity and problematic amount, the risk of the functional module is calculated.
10. a kind of distributor of test resource, which is characterized in that including:
Memory, processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that institute
State the distribution method realized when processor executes described program such as test resource as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810674588.7A CN108874676A (en) | 2018-06-27 | 2018-06-27 | Method and device for distributing test resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810674588.7A CN108874676A (en) | 2018-06-27 | 2018-06-27 | Method and device for distributing test resources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108874676A true CN108874676A (en) | 2018-11-23 |
Family
ID=64294958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810674588.7A Pending CN108874676A (en) | 2018-06-27 | 2018-06-27 | Method and device for distributing test resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874676A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617695A (en) * | 2018-12-28 | 2019-04-12 | 无锡井通网络科技有限公司 | Voting method, device, electronic equipment and storage medium based on block chain |
CN110908911A (en) * | 2019-11-26 | 2020-03-24 | 京东数字科技控股有限公司 | Software testing method and device, electronic equipment and computer readable medium |
CN111240959A (en) * | 2019-12-27 | 2020-06-05 | 广东睿江云计算股份有限公司 | Planning method for regression testing range |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350075A (en) * | 2007-07-18 | 2009-01-21 | 中国科学院自动化研究所 | Method and system for implementing synthesis diathesis contrast based on electric questionnaire |
CN102902622A (en) * | 2012-09-14 | 2013-01-30 | 广东电网公司电力调度控制中心 | Multi-computing-based software project test quantitative evaluating method and system |
CN103345794A (en) * | 2013-06-03 | 2013-10-09 | 樊杰 | Weighted voting scoring method |
CN103366123A (en) * | 2013-05-07 | 2013-10-23 | 天津大学 | Software risk assessment method based on defect analysis |
CN104484935A (en) * | 2014-11-17 | 2015-04-01 | 小米科技有限责任公司 | Voting statistics method and voting statistics device based on local area network |
CN106502910A (en) * | 2016-11-09 | 2017-03-15 | 攀枝花学院 | Software quality evaluation system and method |
CN107180476A (en) * | 2017-05-09 | 2017-09-19 | 广州视源电子科技股份有限公司 | The generation method and device for the ballot page voted for strange land |
CN107391363A (en) * | 2017-06-30 | 2017-11-24 | 北京金山安全软件有限公司 | Test resource scheduling method and device and electronic equipment |
CN108052324A (en) * | 2017-12-07 | 2018-05-18 | 上海速邦信息科技有限公司 | A kind of interface managing system based on ITSM platforms |
-
2018
- 2018-06-27 CN CN201810674588.7A patent/CN108874676A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350075A (en) * | 2007-07-18 | 2009-01-21 | 中国科学院自动化研究所 | Method and system for implementing synthesis diathesis contrast based on electric questionnaire |
CN102902622A (en) * | 2012-09-14 | 2013-01-30 | 广东电网公司电力调度控制中心 | Multi-computing-based software project test quantitative evaluating method and system |
CN103366123A (en) * | 2013-05-07 | 2013-10-23 | 天津大学 | Software risk assessment method based on defect analysis |
CN103345794A (en) * | 2013-06-03 | 2013-10-09 | 樊杰 | Weighted voting scoring method |
CN104484935A (en) * | 2014-11-17 | 2015-04-01 | 小米科技有限责任公司 | Voting statistics method and voting statistics device based on local area network |
CN106502910A (en) * | 2016-11-09 | 2017-03-15 | 攀枝花学院 | Software quality evaluation system and method |
CN107180476A (en) * | 2017-05-09 | 2017-09-19 | 广州视源电子科技股份有限公司 | The generation method and device for the ballot page voted for strange land |
CN107391363A (en) * | 2017-06-30 | 2017-11-24 | 北京金山安全软件有限公司 | Test resource scheduling method and device and electronic equipment |
CN108052324A (en) * | 2017-12-07 | 2018-05-18 | 上海速邦信息科技有限公司 | A kind of interface managing system based on ITSM platforms |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617695A (en) * | 2018-12-28 | 2019-04-12 | 无锡井通网络科技有限公司 | Voting method, device, electronic equipment and storage medium based on block chain |
CN110908911A (en) * | 2019-11-26 | 2020-03-24 | 京东数字科技控股有限公司 | Software testing method and device, electronic equipment and computer readable medium |
CN110908911B (en) * | 2019-11-26 | 2023-09-26 | 京东科技控股股份有限公司 | Software testing method, device, electronic equipment and computer readable medium |
CN111240959A (en) * | 2019-12-27 | 2020-06-05 | 广东睿江云计算股份有限公司 | Planning method for regression testing range |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102019106669A1 (en) | METHOD AND ARRANGEMENTS FOR MANAGING STORAGE IN CASCADED NEURONAL NETWORKS | |
CN108959059B (en) | Test method and test platform | |
CN108874676A (en) | Method and device for distributing test resources | |
CN110297766A (en) | Method for testing software and software testing system based on distributed test node cluster | |
CN107784426A (en) | Post distribution method, device and the equipment of a kind of employee | |
DE112017006568T5 (en) | Designing a base clock frequency of a processor based on usage parameters | |
DE112005001371T5 (en) | Method and apparatus for coupling between a test system and an embedded memory for a test mode setting process | |
CN110149360A (en) | Dispatching method, scheduling system, storage medium and computer equipment | |
CN110554958A (en) | Graph database testing method, system, device and storage medium | |
CN107944000A (en) | Flight freight rate update method, device, electronic equipment, storage medium | |
CN110457288A (en) | Data model construction method, device, equipment and computer readable storage medium | |
CN110413512A (en) | AB test method, device, computer equipment and storage medium | |
CN109740760A (en) | Text quality inspection automates training method, electronic device and computer equipment | |
CN106708620A (en) | Data processing method and system | |
CN107180090A (en) | Reading punch card method, electronic equipment and computer-readable storage medium based on e-book | |
CN109086120A (en) | Management method, device and the calculating equipment of resources of virtual machine | |
CN111262753A (en) | Method, system, terminal and storage medium for automatically configuring number of NUMA nodes | |
CN112598135A (en) | Model training processing method and device, computer equipment and medium | |
CN111158335B (en) | Stitch function matching method of multi-ECU system and storage medium | |
US7725806B2 (en) | Method and infrastructure for recognition of the resources of a defective hardware unit | |
CN113032440A (en) | Data processing method and device for training risk model | |
CN107423236A (en) | The processing method of monitoring parameters, read method, device and optical module in optical module | |
CN115202890B (en) | Data element production resource space distribution method, system and equipment | |
CN110362294A (en) | Development task executes method, apparatus, electronic equipment and storage medium | |
CN106484492A (en) | The method and system of configuration interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |