CN109766260A - Configure method, apparatus, electronic equipment and the storage medium of test action - Google Patents

Configure method, apparatus, electronic equipment and the storage medium of test action Download PDF

Info

Publication number
CN109766260A
CN109766260A CN201811511268.6A CN201811511268A CN109766260A CN 109766260 A CN109766260 A CN 109766260A CN 201811511268 A CN201811511268 A CN 201811511268A CN 109766260 A CN109766260 A CN 109766260A
Authority
CN
China
Prior art keywords
test
test action
keyword
allocation list
key word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811511268.6A
Other languages
Chinese (zh)
Inventor
刘艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811511268.6A priority Critical patent/CN109766260A/en
Publication of CN109766260A publication Critical patent/CN109766260A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method, apparatus, electronic equipment and storage mediums for configuring test action, this method comprises: obtaining test assignment description corresponding with test assignment;Obtain the task key word in the test assignment description;Based on the matching result of the task key word and preset allocation list, determines test action, the corresponding relationship of keyword and test action is store in the allocation list;Test action based on the determination configures test action.The method increase the efficiency of configuration test action.

Description

Configure method, apparatus, electronic equipment and the storage medium of test action
Technical field
The present invention relates to testing process improvement areas, method, apparatus, electronic equipment more particularly to configuration test action And storage medium.
Background technique
When carrying out system testing, tester needs according to the task description of test assignment, by the experience of itself, To determine to carry out the configuration of which test action.And in many cases, the demand of test assignment is once to repeat, equally Or similar test assignment carried out for several times, tester carries out same test action configuration again, it will leads Cause a large amount of manpowers, waste of time.
Summary of the invention
Based on this, how solution, which more efficiently configures test action from technological layer in the related technology, is faced Technical problem, the present invention provides a kind of method, apparatus, electronic equipment and storage mediums for configuring test action.
In a first aspect, providing a kind of method for configuring test action, comprising:
Obtain test assignment description corresponding with test assignment;
Obtain the task key word in the test assignment description;
Based on the matching result of the task key word and preset allocation list, test action is determined, in the allocation list Store the corresponding relationship of keyword and test action;
Test action based on the determination configures test action.
In an exemplary embodiment of the disclosure, the task key word in the test assignment description is obtained, comprising: will In the test assignment description input machine learning model that training finishes in advance, obtain by the machine learning model to described The task key word of test assignment description output;Wherein, the machine learning model is trained in the following manner: will be predefined The sentence of keyword inputs in machine learning model as sample, if what the machine learning model exported each sample Keyword is not inconsistent with corresponding predetermined keyword, then the parameter of machine learning model is adjusted, until the machine learning Model can correctly export the keyword of sample.
In an exemplary embodiment of the disclosure, the task key word in the test assignment description is obtained, comprising:
Test assignment description is segmented;
Based on the participle to test assignment description, the task key word in the test assignment description is obtained.
In an exemplary embodiment of the disclosure, the matching knot based on the task key word Yu preset allocation list Fruit determines test action, comprising:
Determine the matching degree of each group of keyword in the task key word and the allocation list;
If in the allocation list there are the corresponding matching degree of one group of keyword, be greater than or equal to predetermined threshold, The first operation is carried out, if the corresponding matching degree of each group of keyword is respectively less than predetermined threshold in the allocation list, into Row second operates.
In an exemplary embodiment of the disclosure, each group of key in the task key word and the allocation list is determined The matching degree of word, comprising:
Determine the intersection and union of each group of keyword in the task key word and the allocation list;
To each group of keyword in the allocation list, by the number of members of the corresponding intersection divided by it is corresponding it is described simultaneously The obtained value of the number of members of collection, as the corresponding matching degree.
In an exemplary embodiment of the disclosure, if corresponding described there are one group of keyword in the allocation list With degree, it is greater than or equal to predetermined threshold, then carries out the first operation, comprising:
The matching degree is greater than or equal to the keyword of predetermined threshold, corresponding test action is placed in test to be determined and moves It concentrates;
The test action to be determined is concentrated, the corresponding maximum test action of matching degree is determined as, to described The test action that test assignment is configured.
In an exemplary embodiment of the disclosure, if the corresponding matching of each group of keyword in the allocation list Degree is respectively less than predetermined threshold, then carries out the second operation, comprising: requires tester to carry out test action manually to client return The instruction of configuration.
According to the second aspect of the disclosure, a kind of device for configuring test action is provided, comprising:
First obtains module, for obtaining test assignment description corresponding with test assignment;
Second obtains module, for obtaining the task key word in the test assignment description;
Determining module determines test action for the matching result based on the task key word and preset allocation list, Store the corresponding relationship of keyword and test action in the allocation list;
Configuration module configures test action for test action based on the determination.
According to the third aspect of the disclosure, a kind of electronic equipment for configuring test action is provided, comprising:
Memory is configured to storage executable instruction.
Processor is configured to execute the executable instruction stored in the memory, to execute the process described above.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored with and refers to It enables, when the computer instruction is computer-executed, computer is made to execute the process described above.
Just need tester according to the experience of itself to institute whenever a new test assignment reaches with traditional technology State test assignment analyzed, and then determination which specific test action, which is compared, to be executed to the test assignment, the disclosure Embodiment carried out by describing to carry out the extraction of task key word to test assignment, then by task key word and allocation list Match, the configuration of test action is carried out according to matching result, improves the efficiency of configuration test action.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
Fig. 1 shows the flow chart of the configuration test action according to one example embodiment of the disclosure.
Fig. 2 shows according to one example embodiment of the disclosure configuration test action device block diagram.
Fig. 3 shows the task key word in the acquisition test assignment description according to one example embodiment of the disclosure Detail flowchart.
Fig. 4 shows based on the task key word and preset allocation list according to one example embodiment of the disclosure With as a result, determining the detail flowchart of test action.
Fig. 5 show according to the determination task key word of one example embodiment of the disclosure with it is each in the allocation list The detail flowchart of the matching degree of group keyword.
If Fig. 6 is shown in the allocation list according to one example embodiment of the disclosure, there are one group of keyword is corresponding The matching degree is greater than or equal to predetermined threshold, then carries out the detail flowchart of the first operation.
Fig. 7 shows the system architecture diagram of the configuration test action according to one example embodiment of the disclosure.
Fig. 8 shows the electronic equipment figure of the configuration test action according to one example embodiment of the disclosure.
Fig. 9 shows the computer readable storage medium figure of the configuration test action according to one example embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
The purpose of the disclosure is to improve the efficiency of configuration test action from technical aspect.According to an embodiment of the present disclosure Configuration test action method, comprising: obtain corresponding with test assignment test assignment and describe;The test assignment is obtained to retouch Task key word in stating;Based on the matching result of the task key word and preset allocation list, test action is determined, it is described Store the corresponding relationship of keyword and test action in allocation list;Test action based on the determination configures test action. The test is appointed whenever a new test assignment reaches the experience for just needing tester according to itself with traditional technology Business is analyzed and then determination will execute which specific test action is compared to the test assignment, embodiment of the disclosure By describing to carry out the extraction of task key word to test assignment, then task key word matched with allocation list, according to The configuration that test action is carried out with result improves the efficiency of configuration test action.
Fig. 1 shows the flow chart of the configuration test action according to one example embodiment of the disclosure:
Step S100: test assignment description corresponding with test assignment is obtained;
Step S110: the task key word in the test assignment description is obtained;
Step S120: the matching result based on the task key word and preset allocation list determines test action, described Store the corresponding relationship of keyword and test action in allocation list;
Step S130: test action based on the determination configures test action.
In the following, by detailed solution is carried out in conjunction with each step of the attached drawing to configuration test action above-mentioned in this example embodiment It releases and illustrates.
In the step s 100, test assignment description corresponding with test assignment is obtained.
Test assignment description refers to that one section to the test assignment progress statement of requirements illustrates text.
By obtaining the test assignment description to test assignment, server is carried out to test assignment description into one The data of step are analyzed, to complete the configuration of test action.
In one embodiment, the test assignment to test assignment that server obtains that management end is sent to server describes.
In step s 110, the task key word in the test assignment description is obtained.
Task key word refers to the keyword to test assignment, extracted from the description of corresponding test assignment.
By this method, so that server describes test assignment to be decomposed into vocabulary one by one from whole section of text, just In the analysis described to test assignment.
In one embodiment, the task key word in the test assignment description is obtained, comprising: retouch the test assignment It states in the input machine learning model that training finishes in advance, acquisition describes the test assignment by the machine learning model defeated Task key word out, the machine learning model are trained in the following manner: will be previously determined the sentence of keyword as Sample inputs in machine learning model, if the machine learning model each sample export keyword, with it is corresponding preparatory Determining keyword is not inconsistent, then adjusts the parameter of machine learning model, until the machine learning model can correctly export sample This keyword.
In one embodiment, as shown in figure 3, step S110 includes:
Step S1101: test assignment description is segmented;
Step S1102: based on the participle to test assignment description, appointing in the test assignment description is obtained Business keyword.
In one embodiment, test assignment description is segmented based on dictionary segmentation methods, test assignment is described Each vocabulary it is separated from each other.For example, a segment description are as follows: " block chain is a kind of distributed account book structure.It is by one group of friendship It easily is packaged into block, is quoted block organization by Hash into a chain structure." it is segmented after, obtain: (" block Chain ", "Yes", "an", " distribution ", " ", " account book ", " structure ", " it ", " general ", " one group ", " transaction ", " packing ", " at ", " block ", " passing through ", " Hash ", " reference ", " general ", " block ", " tissue ", " at ", "one", " chain type ", " knot Structure ").Further according to the preset function word table of comparisons, it will be deleted with identical word in the function word table of comparisons, and retain remaining vocabulary, Obtain: (" block chain ", "an", " distribution ", " account book ", " structure ", " it ", " general ", " one group ", " transaction ", " packing ", " at ", " block ", " Hash ", " reference ", " general ", " block ", " tissue ", " at ", "one", " chain type ", " structure ").
In one embodiment, after to test assignment description participle, it is more than the notional word of predetermined threshold by frequency of occurrence, is determined as Task key word.For example, predetermined threshold is 5, in the vocabulary segmented, frequency of occurrence is more than that 5 words have " block ", " breathe out It is uncommon ", " encryption ", then the task key word that the test assignment describes are as follows: (" block ", " Hash ", " encryption ").
In the step s 120, the matching result based on the task key word and preset allocation list, determines test action, Store the corresponding relationship of keyword and test action in the allocation list.
By this method, achieved the purpose that determine the test action to test assignment.
In one embodiment, as shown in figure 4, step S120 includes:
Step S1201: the matching degree of each group of keyword in the task key word and the allocation list is determined;
Step S1202: if there are the corresponding matching degree of one group of keyword, more than or equal to pre- in the allocation list Determine threshold value, then carry out the first operation, if the corresponding matching degree of each group of keyword is respectively less than predetermined in the allocation list Threshold value then carries out the second operation.
In one embodiment, as shown in figure 5, step S1201 includes:
Step S12011: the intersection and union of each group of keyword in the task key word and the allocation list are determined;
Step S12012: to each group of keyword in the allocation list, by the number of members of the corresponding intersection divided by The obtained value of number of members of the corresponding union, as the corresponding matching degree.
By this method, it is determined that the matching degree of keyword in task key word and allocation list.
In one embodiment, task key word are as follows: (" block ", " Hash ", " encryption ") stores three groups of passes in allocation list Keyword: (" Hash ", " character string ", " threshold value "), (" block ", " encryption ", " key ", " certification "), (" Hash ", " encryption ", "Merkel").Task key word is obtained with the intersection number of members of each group of keyword divided by corresponding union number of members Corresponding matching degree is respectively as follows: 0.2,0.4,0.5.
In one embodiment, as shown in fig. 6, step S1202 includes:
Step S12021: the matching degree is greater than or equal to the keyword of predetermined threshold, corresponding test action is placed in Test action to be determined is concentrated;
Step S12022: the test action to be determined is concentrated, the corresponding maximum test action of matching degree it is true It is set to, the test action that the test assignment is configured.
It in one embodiment, is 0.4 to the predetermined threshold of matching degree, allocation list is greater than or waits with task key word matching degree Have in 0.4: (" block ", " encryption ", " key ", " certification "), (" Hash ", " encryption ", " Merkel ") this two groups of keywords. Keyword (" block ", " encryption ", " key ", " certification ") correspondence test action A, keyword (" Hash ", " encryption ", " Merkel ") correspond to test action B, then test action A, B are placed in test action to be determined and concentrated.In test action to be determined It concentrates, maximum corresponding Keywords matching degree is (" Hash ", " encryption ", " Merkel "), and therefore, test action B is determined as The test action that test assignment is configured.
In one embodiment, if the corresponding matching degree of each group of keyword is respectively less than predetermined threshold in the allocation list Value then carries out the second operation, comprising: the instruction for requiring tester to carry out test action configuration manually is returned to client.
In the case that the corresponding matching degree of each group of keyword is respectively less than predetermined threshold in allocation list, illustrate in allocation list The corresponding test assignment description of each group of keyword, it is excessive that test assignment corresponding with task key word describes difference, it may be assumed that this time It is primary completely new test assignment that test assignment, which describes corresponding test assignment, and it is enough matching degree can not to be found from allocation list With reference to.In this case, it is therefore necessary to which tester is required to carry out the configuration of test action manually.
In step s 130, test action based on the determination configures test action.
In one embodiment, test action is decomposed into unit testing movement, each unit testing movement is write as in advance Script is simultaneously stored.When configuring test action, the timing in the test action is acted according to unit testing, is sequentially found The store path of the script of each unit test action, and each script execution permission is assigned, each script is successively executed, with Complete the configuration of test action.
The disclosure additionally provides a kind of device for configuring test action.Refering to what is shown in Fig. 2, the dress of the configuration test action Set includes: that the first acquisition module 210, second obtains module 220, determining module 230, configuration module 240.Wherein:
First obtains module 210, for obtaining test assignment description corresponding with test assignment;
Second obtains module 220, for obtaining the task key word in the test assignment description;
Determining module 230 determines that test is dynamic for the matching result based on the task key word and preset allocation list Make, the corresponding relationship of keyword and test action is store in the allocation list;
Configuration module 240 configures test action for test action based on the determination.
The detail of each module has carried out in corresponding method in detail in the device of above-mentioned configuration test action Description, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want These steps must be executed according to the particular order by asking or implying, could be real or have to carry out step shown in whole Existing desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, with And/or a step is decomposed into execution of multiple steps etc. by person.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, and the software product can store non-easy at one In the property lost storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a meter Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is calculated to execute according to disclosure embodiment Method.
Fig. 7 shows the system architecture block diagram of the configuration test action according to one example embodiment of the disclosure.The system Framework includes: test system 310 to be measured, server 320, management end 330, database 340.
In one embodiment, management end 330 issues the instruction treating test macro 310 and being tested to server 320, together When will to the test assignment of test assignment describe be sent to server 320.Server 320 receives the test assignment description Afterwards, the test assignment is described to carry out the extraction of task key word, and is obtained from database 340 and is stored in advance in database Allocation list in 340 matches the task key word with allocation list, so that it is determined that the test action that need to be configured.Service Device 320 treats the configuration that test macro 310 carries out test action according to the test action of the determination.
By the way that above to the description of system architecture, those skilled in the art is it can be readily appreciated that system architecture described herein It can be realized the function of modules in the device of configuration test action shown in Fig. 2.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 400 of this embodiment according to the present invention is described referring to Fig. 8.The electronics that Fig. 8 is shown Equipment 400 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 8, electronic equipment 400 is showed in the form of universal computing device.The component of electronic equipment 400 can wrap It includes but is not limited to: at least one above-mentioned processing unit 410, at least one above-mentioned storage unit 420, the different system components of connection The bus 430 of (including storage unit 420 and processing unit 410).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 410 Row, so that various according to the present invention described in the execution of the processing unit 410 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 410 can execute step S100 as shown in fig. 1: obtaining and survey The corresponding test assignment description of trial business;Step S110: the task key word in the test assignment description is obtained;Step S120: the matching result based on the task key word and preset allocation list determines test action, stores in the allocation list The corresponding relationship of keyword and test action;Step S130: test action based on the determination configures test action.
Storage unit 420 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 4201 and/or cache memory unit 4202, it can further include read-only memory unit (ROM) 4203.
Storage unit 420 can also include program/utility with one group of (at least one) program module 4205 4204, such program module 4205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 430 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 400 can also be with one or more external equipments 500 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 400 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 400 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 450.Also, electronic equipment 400 can be with By network adapter 460 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 460 is communicated by bus 430 with other modules of electronic equipment 400. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 400, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 9, describing the program product for realizing the above method of embodiment according to the present invention 600, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.

Claims (10)

1. a kind of method for configuring test action, which is characterized in that the described method includes:
Obtain test assignment description corresponding with test assignment;
Obtain the task key word in the test assignment description;
Based on the matching result of the task key word and preset allocation list, determines test action, stored in the allocation list The corresponding relationship of keyword and test action;
Test action based on the determination configures test action.
2. the method according to claim 1, wherein the task key obtained in the test assignment description Word, comprising:
By in the test assignment description input machine learning model that training finishes in advance, obtain by the machine learning model To the task key word of test assignment description output;
Wherein, the machine learning model is trained in the following manner:
Using the sentence for being previously determined keyword as sample, input in machine learning model, if the machine learning model It is not inconsistent to the keyword of each sample output, with corresponding predetermined keyword, then adjusts the parameter of machine learning model, directly The keyword of sample can be correctly exported to the machine learning model.
3. the method according to claim 1, wherein the task key obtained in the test assignment description Word, comprising:
Test assignment description is segmented;
Based on the participle to test assignment description, the task key word in the test assignment description is obtained.
4. the method according to claim 1, wherein described be based on the task key word and preset allocation list Matching result, determine test action, comprising:
Determine the matching degree of each group of keyword in the task key word and the allocation list;
If carried out in the allocation list there are the corresponding matching degree of one group of keyword, more than or equal to predetermined threshold First operation carries out the if the corresponding matching degree of each group of keyword is respectively less than predetermined threshold in the allocation list Two operations.
5. according to the method described in claim 4, it is characterized in that, in the determination task key word and the allocation list The matching degree of each group of keyword, comprising:
Determine the intersection and union of each group of keyword in the task key word and the allocation list;
To each group of keyword in the allocation list, by the number of members of the corresponding intersection divided by the corresponding union The obtained value of number of members, as the corresponding matching degree.
6. if according to the method described in claim 4, it is characterized in that, there are one group of keywords pair in the allocation list The matching degree answered is greater than or equal to predetermined threshold, then carries out the first operation, comprising:
The matching degree is greater than or equal to the keyword of predetermined threshold, corresponding test action is placed in test action collection to be determined In;
The test action to be determined is concentrated, the corresponding maximum test action of matching degree is determined as, to the test The test action that task is configured.
7. if according to the method described in claim 4, it is characterized in that, each group of keyword is corresponding in the allocation list The matching degree be respectively less than predetermined threshold, then carry out second operation, comprising: to client return require tester manually into The instruction of row test action configuration.
8. a kind of device for configuring test action characterized by comprising
First obtains module, for obtaining test assignment description corresponding with test assignment;
Second obtains module, for obtaining the task key word in the test assignment description;
Determining module determines test action for the matching result based on the task key word and preset allocation list, described Store the corresponding relationship of keyword and test action in allocation list;
Configuration module configures test action for test action based on the determination.
9. a kind of electronic equipment for configuring test action characterized by comprising
Memory is configured to storage executable instruction;
Processor is configured to execute the executable instruction stored in memory, to realize any of -7 institute according to claim 1 The method stated.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer program instructions, when the computer When instruction is computer-executed, computer is made to execute method described in any of -7 according to claim 1.
CN201811511268.6A 2018-12-11 2018-12-11 Configure method, apparatus, electronic equipment and the storage medium of test action Pending CN109766260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811511268.6A CN109766260A (en) 2018-12-11 2018-12-11 Configure method, apparatus, electronic equipment and the storage medium of test action

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811511268.6A CN109766260A (en) 2018-12-11 2018-12-11 Configure method, apparatus, electronic equipment and the storage medium of test action

Publications (1)

Publication Number Publication Date
CN109766260A true CN109766260A (en) 2019-05-17

Family

ID=66451294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811511268.6A Pending CN109766260A (en) 2018-12-11 2018-12-11 Configure method, apparatus, electronic equipment and the storage medium of test action

Country Status (1)

Country Link
CN (1) CN109766260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209214A (en) * 2020-02-17 2020-05-29 网易(杭州)网络有限公司 Code test processing method and device, electronic equipment and medium
CN117931609A (en) * 2024-03-22 2024-04-26 深圳市浩瀚卓越科技有限公司 Performance analysis method, device and equipment for cradle head and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326483A1 (en) * 2012-05-31 2013-12-05 Vmware, Inc. Unit test of multi-threaded object-oriented applications using mocks
CN104932980A (en) * 2015-06-30 2015-09-23 北京奇虎科技有限公司 Automatic software test method and device
CN106844331A (en) * 2016-12-13 2017-06-13 苏州大学 Sentence similarity calculation method and system
CN107908566A (en) * 2017-11-27 2018-04-13 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326483A1 (en) * 2012-05-31 2013-12-05 Vmware, Inc. Unit test of multi-threaded object-oriented applications using mocks
CN104932980A (en) * 2015-06-30 2015-09-23 北京奇虎科技有限公司 Automatic software test method and device
CN106844331A (en) * 2016-12-13 2017-06-13 苏州大学 Sentence similarity calculation method and system
CN107908566A (en) * 2017-11-27 2018-04-13 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209214A (en) * 2020-02-17 2020-05-29 网易(杭州)网络有限公司 Code test processing method and device, electronic equipment and medium
CN111209214B (en) * 2020-02-17 2023-04-25 网易(杭州)网络有限公司 Code test processing method and device, electronic equipment and medium
CN117931609A (en) * 2024-03-22 2024-04-26 深圳市浩瀚卓越科技有限公司 Performance analysis method, device and equipment for cradle head and storage medium
CN117931609B (en) * 2024-03-22 2024-06-07 深圳市浩瀚卓越科技有限公司 Performance analysis method, device and equipment for cradle head and storage medium

Similar Documents

Publication Publication Date Title
US20200327196A1 (en) Chatbot generator platform
US20160292593A1 (en) Question answering system-based generation of distractors using machine learning
US9672279B1 (en) Cluster labeling system for documents comprising unstructured text data
US20200142959A1 (en) Driving intent expansion via anomaly detection in a modular conversational system
CN111814951B (en) Debugging deep neural network
US11144607B2 (en) Network search mapping and execution
CN108733703A (en) The answer prediction technique and device of question answering system, electronic equipment, storage medium
CN109871311A (en) A kind of method and apparatus for recommending test case
CN109522395A (en) Automatic question-answering method and device
CN113590776A (en) Text processing method and device based on knowledge graph, electronic equipment and medium
CN109858045A (en) Machine translation method and device
US10592304B2 (en) Suggesting application programming interfaces based on feature and context analysis
CN110109824A (en) Big data automatic regression test method, apparatus, computer equipment and storage medium
US20220414331A1 (en) Automatically generated question suggestions
CN109783359A (en) The method, apparatus and computer equipment that automatic detection interface effectively identifies
CN109766260A (en) Configure method, apparatus, electronic equipment and the storage medium of test action
US10482162B2 (en) Automatic equation transformation from text
CN109615312A (en) Business abnormal investigation method, apparatus, electronic equipment and storage medium in execution
CN109635184A (en) Financial product recommended method, device and computer equipment based on data analysis
US11361031B2 (en) Dynamic linguistic assessment and measurement
US20180196795A1 (en) Process for identifying completion of domain adaptation dictionary activities
CN109558600A (en) Translation processing method and device
CN109684207A (en) Method, apparatus, electronic equipment and the storage medium of sequence of operation encapsulation
CN110348581B (en) User feature optimizing method, device, medium and electronic equipment in user feature group
US20230005466A1 (en) Speech synthesis method, and electronic device

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