[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109165158A - The dispatching method of test case, calculates equipment and computer storage medium at device - Google Patents

The dispatching method of test case, calculates equipment and computer storage medium at device Download PDF

Info

Publication number
CN109165158A
CN109165158A CN201810878694.7A CN201810878694A CN109165158A CN 109165158 A CN109165158 A CN 109165158A CN 201810878694 A CN201810878694 A CN 201810878694A CN 109165158 A CN109165158 A CN 109165158A
Authority
CN
China
Prior art keywords
test case
virtual machine
test
mark
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810878694.7A
Other languages
Chinese (zh)
Other versions
CN109165158B (en
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810878694.7A priority Critical patent/CN109165158B/en
Publication of CN109165158A publication Critical patent/CN109165158A/en
Application granted granted Critical
Publication of CN109165158B publication Critical patent/CN109165158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of dispatching method of test case, device, equipment and computer storage medium are calculated, the use-case mark of test case to be scheduled is obtained from the mark queue of at least one test case;According to the task identification of task belonging to the test case and the system banner of test macro needed for executing the test case, inquiry current state are the first virtual machine of available mode;The execution task of the test case is distributed to first virtual machine, so that first virtual machine executes the test case.Using the present invention, for any test case to be scheduled, without first carrying out snapshot operation, and it can directly inquire the machine for executing the test case, and then realize the fast dispatch of test case, so that test case is performed in time, improves software product or the online progress of its new function.

Description

The dispatching method of test case, calculates equipment and computer storage medium at device
Technical field
The present invention relates to software testing technology fields, and in particular to a kind of dispatching method of test case, device, calculating are set Standby and computer storage medium.
Background technique
The arrival of Internet era, people are also increasingly stronger to the dependence of software product;Meanwhile a large amount of software product and Code needed for it runs also endlessly is generating, and in order to ensure that software product is capable of providing normal function, then it needs Carry out software test.The method of more universal software test is to be deposited by implementation of test cases to find out certain section of code The problem of.
However, with the increase of test case quantity, existing test platform can not the machine in rational management platform come These test cases are executed, so that test case can not be timely performed, and then influence software product or its new function It is online.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind It states the dispatching method of the test case of problem, device, calculate equipment and computer storage medium.
According to an aspect of the invention, there is provided the dispatching method of test case, comprising:
The use-case mark of test case to be scheduled is obtained from the mark queue of at least one test case;
According to test macro needed for the task identification of task belonging to the test case and the execution test case System banner, inquiry current state be available mode the first virtual machine;
The execution task of the test case is distributed to first virtual machine, so that first virtual machine executes institute State test case.
According to another aspect of the present invention, a kind of dispatching device of test case is provided, comprising:
Module is obtained, suitable for obtaining the use-case mark of test case to be scheduled from the mark queue of at least one test case Know;
Enquiry module, task identification and the execution test case institute suitable for the task according to belonging to the test case The system banner of the test macro needed, inquiry current state are the first virtual machine of available mode;
Module is distributed, suitable for distributing the execution task of the test case to first virtual machine, for described One virtual machine executes the test case.
According to another aspect of the invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor The corresponding operation of the dispatching method of test case.
In accordance with a further aspect of the present invention, provide a kind of computer storage medium, be stored in the storage medium to A few executable instruction, the executable instruction make processor execute the corresponding operation of dispatching method such as above-mentioned test case.
The dispatching method of test case according to the present invention, calculates equipment and computer storage medium at device, for wait adjust The test case of degree, it is assumed that snapshot operation is performed to the test case, and directly inquiry can execute the survey in platform First virtual machine of example on probation, and the execution task of test case is distributed to first virtual machine, virtually for described first Machine executes the test case.Using the present invention program, for any test case to be scheduled, without first virtual machine being waited to hold Snapshot of having gone processing, recycles the virtual machine implementation of test cases, and directly inquires and can be used for executing the of the test case One virtual machine, and then realize the fast dispatch of test case, so that test case is performed in time, further increases software production Product or the online progress of its new function.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the dispatching method of test case according to an embodiment of the invention;
Fig. 2 shows the flow charts of the dispatching method of test case in accordance with another embodiment of the present invention;
Fig. 3 shows the functional block diagram of the dispatching device of test case according to an embodiment of the invention;
Fig. 4 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The present invention program is used to carry out the scheduling of test case in automation cloud platform, which includes more A node has more virtual machines in each node, and the test macro of each Virtual Machine adaptations may be different.Also, in this hair In bright, a task includes multiple test cases, wherein each test case belongs to the task, also, each test case needs It is tested in fc-specific test FC system, that is, needs to adapt to the virtual machine of fc-specific test FC system to execute corresponding test and use Example.
It for example, is respectively WIN7SP1 64 and XP SP3 64 for virtual machine a and virtual machine the b test macro being adapted to, And test macro needed for implementation of test cases 1 is XP SP3 64, then virtual machine b is needed to carry out implementation of test cases 1.
Fig. 1 shows the flow chart of the dispatching method of test case according to an embodiment of the invention.As shown in Figure 1, This method comprises:
Step S101 obtains the use-case mark of test case to be scheduled from the mark queue of at least one test case.
Test case is added in the mark queue of at least one test case in the form that test case identifies, wherein Test case mark can be added in corresponding test case mark queue according to the attribute of test case, so obtain to A few test case identifies queue.But the present invention does not limit the correspondence being added in different test case mark queues Test case optionally can be added to different test cases and identified by the attribute of test case according to the difference of priority level In queue;Alternatively, test case is added in different test case mark queues according to whether be scheduled.
Then, the test case mark to be scheduled is successively obtained from least one test case mark queue, with Corresponding test case entity is identified for the test case to be scheduled to be tested.
Step S102, test macro needed for the task identification of the task according to belonging to test case and implementation of test cases System banner, inquiry current state be available mode the first virtual machine.
In the present invention, the state of virtual machine includes original state, available mode, use-case operating status and snapshot processing State.Wherein, original state is that can do the state of snapshot;Available mode is to have done snapshot and idle state, at virtual machine When the available mode, implementation of test cases could be used for;Use-case operating status refers to the state just in implementation of test cases;With And snapshot processing status refers to just in the state for doing snapshot.
Also, virtual machine first itself must do snapshot, then could implementation of test cases.And the snapshot that virtual machine is done is and appoints It is engaged in relevant, i.e. the snapshot that does of virtual machine is associated with task identification, and the snapshot between different task cannot be shared.Executing one Before test case in a task, an at least snapshot processing of the task execution, the test that could be executed in the task is used Example.
Specifically, it after getting test case, saves the slightly test case and does the process of snapshot, and assume that existing Virtual machine is that the test case did snapshot, directly inquires the first virtual machine that can be used for implementation of test cases, and then reduce Scheduling time, improve dispatching efficiency.
Step S103 distributes the execution task of test case to the first virtual machine, so that the first virtual machine executes test Use-case.
If inquiring the first virtual machine, show that first virtual machine did snapshot for task belonging to test case, First virtual machine can be directly used for implementation of test cases.
Specifically, after inquiring the first virtual machine, the use-case entity of test case and being associated with for the first virtual machine are established Information, the related information show by first virtual machine come implementation of test cases;Then the execution task of test case is distributed To the first virtual machine, and the test case is executed by the first virtual machine.Optionally, if the quantity of the first virtual machine be it is multiple, According to preset rules, the virtual machine for being used for implementation of test cases is selected from multiple first virtual machines.For example, random selection One the first virtual machine, alternatively, the first earliest virtual machine of Snapshot time is finished in selection.In the present invention, not to for selecting Preset rules be specifically limited.
According to the dispatching method of test case provided in this embodiment, for test case to be scheduled, it is assumed that in platform It is existing to perform the virtual machine of snapshot processing for the test case, and directly inquiry can execute the test case in platform The first virtual machine, and the execution task of test case is distributed to first virtual machine, for first virtual machine execution The test case.Using this embodiment scheme, for any test case to be scheduled, without first virtual machine being waited to execute Snapshot processing, recycles the virtual machine implementation of test cases, and directly inquires the first void that can be used for executing the test case Quasi- machine, and then realize the fast dispatch of test case, enables test case to be performed in time, further increase software product or The online progress of its new function.
Fig. 2 shows the flow charts of the dispatching method of test case in accordance with another embodiment of the present invention.Such as Fig. 2 institute Show, this method comprises:
Step S201 obtains the use-case mark of test case to be scheduled from the mark queue of at least one test case.
Specifically, queue is identified according at least one test case of preset ratio poll, is used in the test being currently polled to Obtains test case to be scheduled mark in example mark queue, with for the test case identify corresponding test case entity into Row test.Optionally, the quantity of the test case mark in queue can be identified according at least one test case, or according to extremely Test case in few test case mark queue identifies the execution priority of corresponding test case, and flexible setting is default Poll ratio, the present invention are not specifically limited in this embodiment.
Step S202, inquiry are available mode comprising the associated and current state with task identification and system banner One or more first nodes of first virtual machine.
Wherein, associated with task identification, that is, it has been that task belonging to test case did snapshot;It is related to system banner Connection is that is, identical as test macro needed for implementation of test cases.
Specifically, inquire it is associated with the task identification of task belonging to test case and with implementation of test cases institute The system banner of the test macro needed is associated and current state is the first virtual machine of available mode;And inquire this Node belonging to one virtual machine determines corresponding one or more first nodes.
Step S203 is determined from one or more first nodes and is executed if inquiring one or more first nodes First virtual machine of test case, with implementation of test cases.
Specifically, if inquiring one or more first nodes, according to the first preset rules from one or more first In the first virtual machine that can be used for implementation of test cases for including in node, determine eventually for the first of implementation of test cases Virtual machine.The present invention does not do specific limit to determining the first preset rules eventually for the first virtual machine of implementation of test cases Fixed, those skilled in the art can according to the actual situation, the first preset rules of flexible setting.
Below only by it is a kind of it is optional in a manner of illustrate present invention determine that virtual eventually for the first of implementation of test cases The process of machine: if inquiring one or more first nodes, according to one or more first nodes included it is first virtual The quantity of machine searches the most first node of the quantity of the first virtual machine;The first node most from the quantity of the first virtual machine It is middle to search any first virtual machine that current state is available mode.
For example, if first node A includes the first virtual machine a1, first node B includes the first virtual machine b1 and the One virtual machine b2, first node C include the first virtual machine c1, the first virtual machine c2 and the first virtual machine c3, first node C packet The quantity of the first virtual machine contained is most, then determines from the first virtual machine c1, the first virtual machine c2 and the first virtual machine c3 One the first virtual machine as implementation of test cases.
After the first virtual machine of implementation of test cases has been determined, the execution task of test case is distributed to the first void Quasi- machine, for the first virtual machine implementation of test cases, the first virtual machine is in use-case operating status at this time;When having executed the test After use-case, the first virtual machine state reverts to available mode.Also, after having executed the test case, by the test case Mark goes out team from the mark queue of corresponding test case, hereafter without being scheduled for the test case.
Step S204, if not inquiring one or more first nodes, inquiry comprising with system banner it is associated and Current state is one or more second nodes of the second virtual machine of original state.
If not inquiring one or more first nodes, i.e., do not inquire associated with task identification and system banner, simultaneously And current state is the first virtual machine of available mode, then shows that there is no did for task belonging to the test case in platform Snapshot, and it is currently at the first virtual machine of available mode.At this point, then inquiring not occupied by other tasks and can be The test case does the virtual machine of snapshot, to determine the second virtual machine for finally doing snapshot for the test case.Wherein, virtually The occupied situation of machine includes the case where that virtual machine is in available mode, use-case operating status or snapshot processing status.
Specifically, identical as the system banner of test macro needed for implementation of test cases, and current state is initial Second virtual machine of state is virtual machine do not occupied by other tasks and that snapshot can be done for the test case.Accordingly , then inquiry meets the second virtual machine of above-mentioned condition;And node belonging to the second virtual machine of inquiry, determine corresponding one Or multiple second nodes.
In addition, in an optional embodiment of the present invention, if not inquiring one or more first nodes, first Whether the resources of virtual machine for determining that task belonging to test case is occupied by following step is reasonable;If rationally, execution is looked into Ask one or more second nodes comprising the second virtual machine that the associated and current state with system banner is original state The step of and its subsequent step, and then avoid the occurrence of because individual task occupies excessive resources of virtual machine cause it is not enough Resources of virtual machine is come the problem of executing the test case in other tasks, specifically determining steps are as follows:
Step 1 calculates the corresponding virtual machine amount threshold of each task.Specifically, according to adapting to fc-specific test FC system Virtual machine total quantity, and need to utilize spy according in quantity and automation cloud platform of the task to scheduling tests use-case Determine the ratio for the total quantity to scheduling tests use-case that test macro is tested, calculating task corresponds to the void of fc-specific test FC system Quasi- machine amount threshold, and then obtain being the quantity of the virtual machine of the correspondence fc-specific test FC system of task distribution.
Step 2, judgement and test macro needed for the task identification of task belonging to test case and implementation of test cases The quantity of the associated virtual machine of system banner whether be more than the corresponding virtual machine amount threshold of the task.Specifically, it is determined that It has been the quantity of the virtual machine of the correspondence fc-specific test FC system of the complete snapshot processing of task execution in automation platform, that is, has determined this The quantity for the virtual machine that business has occupied;Then, judge whether the quantity occupied is more than virtual machine amount threshold.
If not exceeded, then illustrate task belonging to test case occupy resources of virtual machine be in the reasonable scope, then into One step executes one or more of inquiry comprising the second virtual machine that the associated and current state with system banner is original state The step of a second node and its subsequent step.
If being more than or equal, illustrate resources of virtual machine that task belonging to test case occupies beyond zone of reasonableness or The limit is had reached, then the use-case mark of test case is added in the mark queue of third test case.Specifically, if test is used The occupied resources of virtual machine of task belonging to example has been more than the corresponding virtual machine amount threshold of the task, then is no longer the task New virtual machine is distributed, i.e., no longer executes step S204, no longer inquiry can do the second virtual machine of snapshot for the test case, Snapshot is not done for the test case.And current test case mark to be scheduled is identified in queue from corresponding test case Team out, and test case mark is added in the mark queue of third test case, wait until that being polled to third test next time uses Example queue in corresponding position when, can just be scheduled again.Wherein, the queue of third test case mark can be considered by that can not do The queue of the test case mark composition of snapshot.
Step S205 is determined from one or more second nodes and is executed if inquiring one or more second nodes Second virtual machine of the snapshot processing task of test case, to do snapshot for test case.
Specifically, if inquiring one or more second nodes, according to the second preset rules from one or more second In the second virtual machine that can be used for doing snapshot for test case for including in node, determination is done fastly eventually for for test case According to the second virtual machine.The present invention does not do specific limit to the Second Rule for being determined as the second virtual machine that test case does snapshot Fixed, those skilled in the art can according to the actual situation, the second preset rules of flexible setting.
Below only by it is a kind of it is optional in a manner of illustrate present invention determine that for test case do snapshot the second virtual machine mistake Journey: the number if inquiring one or more second nodes, according to the second virtual machine that one or more second nodes are included Amount searches the most second node of the quantity of the second virtual machine;It is searched in the second node most from the quantity of the second virtual machine Current state is any second virtual machine of original state.
After the second virtual machine for doing snapshot for test case has been determined, by the snapshot of test case processing task distribute to Second virtual machine, so that the second virtual machine is that test case does snapshot, the state change of the second virtual machine is snapshot processing status, It is to update the current state of the second virtual machine after test case finishes snapshot for available mode, and establish in the second virtual machine Second virtual machine is associated with task identification, to determine the occupying second resources of virtual machine of the task, and then is convenient for being each Task reasonably distributes resources of virtual machine.
Step S206 judges whether the priority of test case meets if not inquiring one or more second nodes Preset condition.If so, thening follow the steps S207;If it is not, the use-case mark of test case is then added to the second test case team In column.
If not inquiring one or more second nodes, i.e., and current state associated with system banner is not inquired For the second virtual machine of original state, then show that there is no do not occupied and can be used for for test case by other tasks in platform Do the second virtual machine of snapshot.At this point, determining corresponding Operation Measures according to the priority of test case.
Specifically, judge whether the priority of test case meets preset condition, if satisfied, S207 is thened follow the steps, with Continue the scheduling of test case, if not satisfied, then think that can not find virtual machine is that the test case executes snapshot processing, Optionally, test case corresponding test case mark is gone out into team from the mark queue of corresponding test case, and by the test Use-case mark is added in the mark queue of the second test case, carries out test use when test case mark to be polled to next time The scheduling of example, second test case identify queue and identify the queue formed by the test case that can not find virtual machine.Its In, preset condition can be priority threshold value.
Step S207, inquiry are the third virtual machine of available mode comprising the associated and current state with system banner One or more third nodes.
If meeting preset condition, show that the priority level of the test case is higher.At this point, then having been occupied from other tasks Virtual machine in further inquiry can be used for doing the third virtual machine of snapshot for the test case, i.e., other tasks have been occupied Resources of virtual machine is deprived and accounted for be used for oneself, to determine the third virtual machine for finally doing snapshot for the test case.
Specifically, identical as the system banner of test macro needed for implementation of test cases, and current state is available The third virtual machine of state is that other tasks have been having occupied and virtual machine that snapshot can be done for the test case;Obtain After three virtual machines, node belonging to third virtual machine is further inquired, determines corresponding one or more third nodes.
Step S208 is determined from one or more third nodes and is executed if inquiring one or more third nodes The third virtual machine of the snapshot processing task of test case, to do snapshot for test case.
Specifically, if inquiring one or more third nodes, according to third preset rules from one or more thirds In third virtual machine in node, determine eventually for the third virtual machine for doing snapshot for test case.The present invention is to being determined as The third preset rules that test case does the third virtual machine of snapshot are not specifically limited, and those skilled in the art can be according to reality Situation, flexible setting third preset rules.
In one particular embodiment of the present invention, if one or more third nodes are inquired, from one or more It is searched in third node and completes the earliest third virtual machine of Snapshot time, and the third virtual machine is determined as being used to use for test Example does the virtual machine of snapshot.
After the third virtual machine for doing snapshot for test case has been determined, by the snapshot of test case processing task distribute to Third virtual machine, so that third virtual machine is that test case does snapshot, the state change of the second virtual machine is snapshot processing status. Also, it is after test case finishes snapshot in third virtual machine, the current state of update third virtual machine is available mode, and Being associated with for third virtual machine and task identification is established, to determine the occupying the third resources of virtual machine of the task, and then convenient for being Each task reasonably distributes resources of virtual machine.
It needs described herein to be in step S206 and step S208, after having executed snapshot processing task, to be not necessarily to Test case mark is gone out into team from the mark queue of corresponding test case, but it is scheduled next time in test case mark When, just the test is used after being performed the corresponding execution task of test case mark by step S201 to step S203 Example mark goes out team from the mark queue of corresponding test case, hereafter without being scheduled for the test case.
The use-case of test case mark is added to the if not inquiring one or more third nodes by step S209 Two test cases identify in queue.
If so far not inquiring the virtual machine for doing snapshot for test case also, be considered as can not find virtual machine come for Test case does snapshot processing, at this point, test case mark is gone out team from the mark queue of corresponding test case, and by the survey Example mark on probation is added in the mark queue of the second test case.Wherein, the queue of second test case mark can be considered by nothing Method finds the queue of the test case mark composition of virtual machine.
The above-mentioned steps of the present embodiment are executed, available second test case mark queue and third test are used Example mark queue, meanwhile, test case mark queue further includes the mark queue of the first test case, first test case mark Use-case mark comprising not scheduled test case in queue.Correspondingly, in the side for executing the present embodiment by polling mode When case, queue, the second test use can be identified according to the first test case of preset ratio poll by executing step S201 every time specifically Example mark queue and third test case identify queue, and the use-case of test case to be scheduled is obtained from the queue being polled to Mark.
For example, queue is identified according to the first test case of ratio poll mark queue of 3:1:1, the second test case And third test case identifies queue, in the preceding this embodiment scheme of execution three times, is then polled to the first test case mark Queue is known, at this point, successively obtaining a test case mark to be scheduled respectively from the mark queue of the first test case;? When four execution this embodiment schemes, then it is polled to the mark queue of the second test case, at this point, identifying team from the second test case A test case mark to be scheduled is obtained in column;In the 4th execution this embodiment scheme, then third test is polled to Use-case identifies queue, this is identified ... at this point, obtaining a test case to be scheduled from the mark queue of third test case Afterwards, during poll executes this programme, queue, second successively are identified from the first test case according to aforementioned proportion and sequence Test case mark to be scheduled is obtained in test case mark queue and the mark queue of third test case.
It is virtual by inquire executable test case first according to the dispatching method of test case provided in this embodiment Machine, inquiry can be directly used for doing the second virtual machine of snapshot for test case, inquire current occupied but can be that test is used Example, which does the third virtual machine of snapshot these three levels, enables test case to realize the fast dispatch of test case to be scheduled It is enough to be performed in time, further increase software product or the online progress of its new function.
Fig. 3 shows the functional block diagram of the dispatching device of test case according to an embodiment of the invention.Such as Fig. 3 institute Show, which includes: to obtain module 301, enquiry module 302, distribute module 303;It is optional, the device further include: relating module 304, adding module 305, computing module 306, judgment module 307.
Module 301 is obtained, suitable for obtaining the use of test case to be scheduled from the mark queue of at least one test case Example mark;
Enquiry module 302 is used suitable for the task identification of the task according to belonging to the test case and the execution test The system banner of test macro needed for example, inquiry current state are the first virtual machine of available mode;
Module 303 is distributed, suitable for distributing the execution task of the test case to first virtual machine, for described First virtual machine executes the test case.
In an alternative embodiment, enquiry module 302 is further adapted for:
Inquiry is the of available mode comprising the associated and current state with the task identification and the system banner One or more first nodes of one virtual machine;
According to the quantity for first virtual machine that one or more of first nodes are included, the first virtual machine is searched The most first node of quantity;
Any that current state is available mode is searched in the first node most from the quantity of first virtual machine One virtual machine.
In an alternative embodiment, enquiry module 302 is further adapted for:
If not inquiring one or more of first nodes, inquiry comprising with the system banner it is associated and Current state is one or more second nodes of the second virtual machine of original state;
According to the quantity for second virtual machine that one or more of second nodes are included, the second virtual machine is searched The most second node of quantity;
Any that current state is original state is searched in the second node most from the quantity of second virtual machine Two virtual machines;
It distributes module 303 to be further adapted for: the snapshot processing task of the test case is distributed to second virtual machine, with It is that the test case does snapshot for second virtual machine.
In an alternative embodiment, described device further include: relating module 304, suitable for updating the second virtual machine Current state is available mode, and establishes being associated with for second virtual machine and the task identification.
In an alternative embodiment, enquiry module 302 is further adapted for:
If not inquiring one or more of second nodes, it is pre- to judge whether the priority of the test case meets If condition;
If so, inquiry is virtual comprising the third that the associated and current state with the system banner is available mode One or more third nodes of machine;
It is searched from one or more of third nodes and completes the earliest third virtual machine of Snapshot time;
It distributes module 303 to be further adapted for: the snapshot processing task of the test case is distributed to the third virtual machine, with It is that the test case does snapshot for the third virtual machine.
In an alternative embodiment, relating module 304 is further adapted for: it is available for updating the current state of third virtual machine State, and establish being associated with for the third virtual machine and the task identification.
In an alternative embodiment, at least one test case mark queue includes: the first test case mark Know queue and the second test case identifies queue;Wherein, the first test case mark queue includes not scheduled test The use-case of use-case identifies;
Described device further include: adding module 305, if suitable for not inquiring one or more of third nodes, it will The use-case mark of the test case is added in the mark queue of the second test case.
In an alternative embodiment, at least one test case mark queue also includes: third test case Identify queue;
Described device further include: computing module 306 is suitable for calculating the corresponding virtual machine amount threshold of each task;
Judgment module 307, suitable for judging and the task identification of task belonging to the test case and the execution test Whether the quantity of the associated virtual machine of the system banner of test macro needed for use-case is more than that the task is corresponding described virtual Machine amount threshold;
The adding module 305 is further adapted for: if with described in the task identification of task belonging to the test case and execution The quantity of the associated virtual machine of the system banner of test macro needed for test case is more than that the task is corresponding described virtual The use-case mark of the test case is then added in the mark queue of third test case by machine amount threshold.
In an alternative embodiment, module 301 is obtained to be further adapted for:
Queue and second is identified according to the queue of the mark of the first test case described in preset ratio poll, the second test case Test case identifies queue, and the use-case mark of test case to be scheduled is obtained from the queue being polled to.
It can refer to the description of corresponding steps in embodiment of the method about the specific structure and working principle of above-mentioned modules, Details are not described herein again.
The embodiment of the present application provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with The scheduling of the test case in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions Method.
Fig. 4 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention, the specific embodiment of the invention The specific implementation for calculating equipment is not limited.
As shown in figure 4, the calculating equipment may include: processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402 can specifically execute in the dispatching method embodiment of above-mentioned test case for executing program 410 Correlation step.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
The use-case mark of test case to be scheduled is obtained from the mark queue of at least one test case;
According to test macro needed for the task identification of task belonging to the test case and the execution test case System banner, inquiry current state be available mode the first virtual machine;
The execution task of the test case is distributed to first virtual machine, so that first virtual machine executes institute State test case.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation:
Inquiry is the of available mode comprising the associated and current state with the task identification and the system banner One or more first nodes of one virtual machine;
According to the quantity for first virtual machine that one or more of first nodes are included, the first virtual machine is searched The most first node of quantity;
Any that current state is available mode is searched in the first node most from the quantity of first virtual machine One virtual machine.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation:
If not inquiring one or more of first nodes, inquiry comprising with the system banner it is associated and Current state is one or more second nodes of the second virtual machine of original state;
According to the quantity for second virtual machine that one or more of second nodes are included, the second virtual machine is searched The most second node of quantity;
Any that current state is original state is searched in the second node most from the quantity of second virtual machine Two virtual machines;
The snapshot processing task of the test case is distributed to second virtual machine, so that second virtual machine is The test case does snapshot.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation: the current state for updating the second virtual machine is available mode, and establishes second virtual machine and the task identification Association.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation:
If not inquiring one or more of second nodes, it is pre- to judge whether the priority of the test case meets If condition;
If so, inquiry is virtual comprising the third that the associated and current state with the system banner is available mode One or more third nodes of machine;
It is searched from one or more of third nodes and completes the earliest third virtual machine of Snapshot time;
The snapshot processing task of the test case is distributed to the third virtual machine, so that the third virtual machine is The test case does snapshot.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation: the current state for updating third virtual machine is available mode, and establishes the third virtual machine and the task identification Association.
In a kind of optional embodiment, at least one test case mark queue includes: the first test case It identifies queue and the second test case identifies queue;Wherein, the first test case mark queue includes not scheduled survey The use-case mark of example on probation;
Program 410 can specifically be further used for so that processor 402 executes following operation: if not inquiring one Or multiple third nodes, then the use-case mark of the test case is added in the mark queue of the second test case.
In a kind of optional embodiment, at least one test case mark queue also includes: third test is used Example mark queue;
Program 410 can specifically be further used for so that processor 402 executes following operation: it is corresponding to calculate each task Virtual machine amount threshold;
Test system needed for task identification and the execution test case of the judgement with task belonging to the test case Whether the quantity of the associated virtual machine of the system banner of system is more than the corresponding virtual machine amount threshold of the task;
If so, the use-case mark of the test case is added in the mark queue of third test case.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation:
Queue and second is identified according to the queue of the mark of the first test case described in preset ratio poll, the second test case Test case identifies queue, and the use-case mark of test case to be scheduled is obtained from the queue being polled to.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice In the dispatching device of microprocessor or digital signal processor (DSP) to realize test case according to an embodiment of the present invention The some or all functions of some or all components.The present invention is also implemented as executing method as described herein Some or all device or device programs (for example, computer program and computer program product).Such reality Existing program of the invention can store on a computer-readable medium, or may be in the form of one or more signals. Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or in any other forms It provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses: a kind of dispatching method of test case of A1., comprising:
The use-case mark of test case to be scheduled is obtained from the mark queue of at least one test case;
According to test macro needed for the task identification of task belonging to the test case and the execution test case System banner, inquiry current state be available mode the first virtual machine;
The execution task of the test case is distributed to first virtual machine, so that first virtual machine executes institute State test case.
A2. method according to a1, wherein the inquiry current state is that the first virtual machine of available mode is further Include:
Inquiry is the of available mode comprising the associated and current state with the task identification and the system banner One or more first nodes of one virtual machine;
According to the quantity for first virtual machine that one or more of first nodes are included, the first virtual machine is searched The most first node of quantity;
Any that current state is available mode is searched in the first node most from the quantity of first virtual machine One virtual machine.
A3. the method according to A2, wherein the method also includes:
If not inquiring one or more of first nodes, inquiry comprising with the system banner it is associated and Current state is one or more second nodes of the second virtual machine of original state;
According to the quantity for second virtual machine that one or more of second nodes are included, the second virtual machine is searched The most second node of quantity;
Any that current state is original state is searched in the second node most from the quantity of second virtual machine Two virtual machines;
The snapshot processing task of the test case is distributed to second virtual machine, so that second virtual machine is The test case does snapshot.
A4. method according to a3, wherein after the completion of second virtual machine is that the test case does snapshot, The method also includes: update the second virtual machine current state be available mode, and establish second virtual machine with it is described The association of task identification.
A5. method according to a3, wherein the method also includes:
If not inquiring one or more of second nodes, it is pre- to judge whether the priority of the test case meets If condition;
If so, inquiry is virtual comprising the third that the associated and current state with the system banner is available mode One or more third nodes of machine;
It is searched from one or more of third nodes and completes the earliest third virtual machine of Snapshot time;
The snapshot processing task of the test case is distributed to the third virtual machine, so that the third virtual machine is The test case does snapshot.
A6. method according to a5, wherein after the completion of the third virtual machine is that the test case does snapshot, The method also includes: update third virtual machine current state be available mode, and establish the third virtual machine with it is described The association of task identification.
A7. the method according to A5 or A6, wherein at least one test case mark queue includes: first surveys Example mark queue on probation and the second test case identify queue;Wherein, the first test case mark queue includes not adjusted The use-case of the test case of degree identifies;
The method also includes: if one or more of third nodes are not inquired, by the use of the test case Example mark is added in the mark queue of the second test case.
A8. the method according to A7, wherein at least one test case mark queue also includes: third test Use-case identifies queue;
The method also includes: calculate the corresponding virtual machine amount threshold of each task;
Described after obtaining the use-case mark of test case to be scheduled in the mark queue of at least one test case, The method also includes:
Test system needed for task identification and the execution test case of the judgement with task belonging to the test case Whether the quantity of the associated virtual machine of the system banner of system is more than the corresponding virtual machine amount threshold of the task;
If so, the use-case mark of the test case is added in the mark queue of third test case.
A9. the method according to A8, wherein it is described from least one test case mark queue in obtain it is to be scheduled The use-case mark of test case further comprises:
Queue and second is identified according to the queue of the mark of the first test case described in preset ratio poll, the second test case Test case identifies queue, and the use-case mark of test case to be scheduled is obtained from the queue being polled to.
The invention also discloses: a kind of dispatching device of test case of B10., comprising:
Module is obtained, suitable for obtaining the use-case mark of test case to be scheduled from the mark queue of at least one test case Know;
Enquiry module, task identification and the execution test case institute suitable for the task according to belonging to the test case The system banner of the test macro needed, inquiry current state are the first virtual machine of available mode;
Module is distributed, suitable for distributing the execution task of the test case to first virtual machine, for described One virtual machine executes the test case.
B11. device according to b10, wherein the enquiry module is further adapted for:
Inquiry is the of available mode comprising the associated and current state with the task identification and the system banner One or more first nodes of one virtual machine;
According to the quantity for first virtual machine that one or more of first nodes are included, the first virtual machine is searched The most first node of quantity;
Any that current state is available mode is searched in the first node most from the quantity of first virtual machine One virtual machine.
B12. the device according to B11, wherein the enquiry module is further adapted for:
If not inquiring one or more of first nodes, inquiry comprising with the system banner it is associated and Current state is one or more second nodes of the second virtual machine of original state;
According to the quantity for second virtual machine that one or more of second nodes are included, the second virtual machine is searched The most second node of quantity;
Any that current state is original state is searched in the second node most from the quantity of second virtual machine Two virtual machines;
The module that distributes is further adapted for:
The snapshot processing task of the test case is distributed to second virtual machine, so that second virtual machine is The test case does snapshot.
B13. device according to b12, wherein described device further include: relating module is suitable for updating the second virtual machine Current state be available mode, and establish being associated with for second virtual machine and the task identification.
B14. device according to b12, wherein the enquiry module is further adapted for:
If not inquiring one or more of second nodes, it is pre- to judge whether the priority of the test case meets If condition;
If so, inquiry is virtual comprising the third that the associated and current state with the system banner is available mode One or more third nodes of machine;
It is searched from one or more of third nodes and completes the earliest third virtual machine of Snapshot time;
The module that distributes is further adapted for:
The snapshot processing task of the test case is distributed to the third virtual machine, so that the third virtual machine is The test case does snapshot.
B15. device according to b14, wherein the relating module is further adapted for: the current shape of third virtual machine is updated State is available mode, and establishes being associated with for the third virtual machine and the task identification.
B16. the device according to B14 or B15, wherein at least one test case mark queue includes: first Test case identifies queue and the second test case identifies queue;Wherein, the queue of first test case mark include not by The use-case of the test case of scheduling identifies;
Described device further include: adding module, if suitable for not inquiring one or more of third nodes, it will be described The use-case mark of test case is added in the mark queue of the second test case.
B17. the device according to B16, wherein at least one test case mark queue also includes: third is surveyed Example on probation identifies queue;
Described device further include: computing module is suitable for calculating the corresponding virtual machine amount threshold of each task;
Judgment module, suitable for judging and the task identification of task belonging to the test case and the execution test case Whether the quantity of the associated virtual machine of the system banner of required test macro is more than the corresponding virtual machine number of the task Measure threshold value;
The adding module is further adapted for: if task identification and the execution test with task belonging to the test case The quantity of the associated virtual machine of the system banner of test macro needed for use-case is more than the corresponding virtual machine number of the task Threshold value is measured, then the use-case mark of the test case is added in the mark queue of third test case.
B18. the device according to B17, wherein the acquisition module is further adapted for:
Queue and second is identified according to the queue of the mark of the first test case described in preset ratio poll, the second test case Test case identifies queue, and the use-case mark of test case to be scheduled is obtained from the queue being polled to.
The invention also discloses: a kind of calculating equipment of C19., comprising: processor, memory, communication interface and communication are total Line, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory executes the processor such as storing an at least executable instruction, the executable instruction The corresponding operation of the dispatching method of test case described in any one of A1-A9.
The invention also discloses a kind of computer storage medium of D20., being stored at least one in the storage medium can be held Row instruction, the dispatching method that the executable instruction makes processor execute the test case as described in any one of A1-A9 correspond to Operation.

Claims (10)

1. a kind of dispatching method of test case, comprising:
The use-case mark of test case to be scheduled is obtained from the mark queue of at least one test case;
According to the task identification of task belonging to the test case and test macro needed for executing the test case is System mark, inquiry current state are the first virtual machine of available mode;
The execution task of the test case is distributed to first virtual machine, so that first virtual machine executes the survey Example on probation.
2. according to the method described in claim 1, wherein, the inquiry current state is the first virtual machine of available mode into one Step includes:
Inquiry includes the first void that the associated and current state with the task identification and the system banner is available mode One or more first nodes of quasi- machine;
According to the quantity for first virtual machine that one or more of first nodes are included, the number of the first virtual machine is searched Measure most first nodes;
Any first void that current state is available mode is searched in the first node most from the quantity of first virtual machine Quasi- machine.
3. according to the method described in claim 2, wherein, the method also includes:
If not inquiring one or more of first nodes, inquiry is comprising associated with the system banner and current State is one or more second nodes of the second virtual machine of original state;
According to the quantity for second virtual machine that one or more of second nodes are included, the number of the second virtual machine is searched Measure most second nodes;
Any second void that current state is original state is searched in the second node most from the quantity of second virtual machine Quasi- machine;
The snapshot processing task of the test case is distributed to second virtual machine, so that second virtual machine is described Test case does snapshot.
4. according to the method described in claim 3, being that the test case does snapshot completion in second virtual machine wherein Afterwards, the method also includes: the current state for updating the second virtual machine is available mode, and establishes second virtual machine and institute State the association of task identification.
5. according to the method described in claim 3, wherein, the method also includes:
If not inquiring one or more of second nodes, judge whether the priority of the test case meets default item Part;
If so, inquiry includes the third virtual machine that the associated and current state with the system banner is available mode One or more third nodes;
It is searched from one or more of third nodes and completes the earliest third virtual machine of Snapshot time;
The snapshot processing task of the test case is distributed to the third virtual machine, so that the third virtual machine is described Test case does snapshot.
6. according to the method described in claim 5, being that the test case does snapshot completion in the third virtual machine wherein Afterwards, the method also includes: the current state for updating third virtual machine is available mode, and establishes the third virtual machine and institute State the association of task identification.
7. method according to claim 5 or 6, wherein at least one test case mark queue includes: first surveys Example mark queue on probation and the second test case identify queue;Wherein, the first test case mark queue includes not adjusted The use-case of the test case of degree identifies;
The method also includes: if not inquiring one or more of third nodes, by the use-case mark of the test case Knowledge is added in the mark queue of the second test case.
8. a kind of dispatching device of test case, comprising:
Module is obtained, suitable for obtaining the use-case mark of test case to be scheduled from the mark queue of at least one test case;
Enquiry module, suitable for the task according to belonging to the test case task identification and execute needed for the test case The system banner of test macro, inquiry current state are the first virtual machine of available mode;
Module is distributed, suitable for distributing the execution task of the test case to first virtual machine, for first void Quasi- machine executes the test case.
9. a kind of calculating equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of the dispatching method of test case described in any one of 1-7.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute the corresponding operation of dispatching method such as test case of any of claims 1-7.
CN201810878694.7A 2018-08-03 2018-08-03 Method and device for scheduling test cases, computing equipment and computer storage medium Active CN109165158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810878694.7A CN109165158B (en) 2018-08-03 2018-08-03 Method and device for scheduling test cases, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810878694.7A CN109165158B (en) 2018-08-03 2018-08-03 Method and device for scheduling test cases, computing equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN109165158A true CN109165158A (en) 2019-01-08
CN109165158B CN109165158B (en) 2022-11-04

Family

ID=64898857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810878694.7A Active CN109165158B (en) 2018-08-03 2018-08-03 Method and device for scheduling test cases, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109165158B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment
CN110297757A (en) * 2019-05-16 2019-10-01 平安科技(深圳)有限公司 Test cases management method, device, equipment and computer readable storage medium
CN112783788A (en) * 2021-02-05 2021-05-11 北京同邦卓益科技有限公司 Test system, test method, electronic device, and storage medium
CN112835796A (en) * 2021-02-01 2021-05-25 中汽数据(天津)有限公司 Fuzzy test method and device and computer readable storage medium
CN113419954A (en) * 2021-06-25 2021-09-21 陕西浪潮英信科技有限公司 Execution method and system of automation use case of cloud operating system and related components

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050096864A1 (en) * 2003-10-31 2005-05-05 Bonilla Carlos A. Method and system for managing a testing task
CN105117289A (en) * 2015-09-30 2015-12-02 北京奇虎科技有限公司 Task allocation method, device and system based on cloud testing platform
CN105279017A (en) * 2015-09-30 2016-01-27 北京奇虎科技有限公司 Cloud test platform based task distribution method, apparatus and system
CN105511936A (en) * 2014-09-22 2016-04-20 北京奇虎科技有限公司 Test system, method and device
CN105786696A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Test method and device
CN106452830A (en) * 2016-08-22 2017-02-22 平安科技(深圳)有限公司 Test task execution machine distribution method and device
CN107301127A (en) * 2017-06-22 2017-10-27 郑州云海信息技术有限公司 A kind of method and apparatus of the automatic test based on Robot Framework
CN107943686A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of test dispatching method, apparatus, server and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050096864A1 (en) * 2003-10-31 2005-05-05 Bonilla Carlos A. Method and system for managing a testing task
CN105511936A (en) * 2014-09-22 2016-04-20 北京奇虎科技有限公司 Test system, method and device
CN105786696A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Test method and device
CN105117289A (en) * 2015-09-30 2015-12-02 北京奇虎科技有限公司 Task allocation method, device and system based on cloud testing platform
CN105279017A (en) * 2015-09-30 2016-01-27 北京奇虎科技有限公司 Cloud test platform based task distribution method, apparatus and system
CN106452830A (en) * 2016-08-22 2017-02-22 平安科技(深圳)有限公司 Test task execution machine distribution method and device
CN107301127A (en) * 2017-06-22 2017-10-27 郑州云海信息技术有限公司 A kind of method and apparatus of the automatic test based on Robot Framework
CN107943686A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of test dispatching method, apparatus, server and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment
CN110297757A (en) * 2019-05-16 2019-10-01 平安科技(深圳)有限公司 Test cases management method, device, equipment and computer readable storage medium
CN110297757B (en) * 2019-05-16 2024-09-24 平安科技(深圳)有限公司 Test case management method, device, equipment and computer readable storage medium
CN112835796A (en) * 2021-02-01 2021-05-25 中汽数据(天津)有限公司 Fuzzy test method and device and computer readable storage medium
CN112783788A (en) * 2021-02-05 2021-05-11 北京同邦卓益科技有限公司 Test system, test method, electronic device, and storage medium
CN112783788B (en) * 2021-02-05 2023-12-05 北京同邦卓益科技有限公司 Test system, method, electronic device and storage medium
CN113419954A (en) * 2021-06-25 2021-09-21 陕西浪潮英信科技有限公司 Execution method and system of automation use case of cloud operating system and related components

Also Published As

Publication number Publication date
CN109165158B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN109165158A (en) The dispatching method of test case, calculates equipment and computer storage medium at device
CN105117289B (en) Method for allocating tasks, apparatus and system based on cloud test platform
Jia et al. An intelligent cloud workflow scheduling system with time estimation and adaptive ant colony optimization
Tsai et al. A hyper-heuristic scheduling algorithm for cloud
Van den Bossche et al. Cost-optimal scheduling in hybrid iaas clouds for deadline constrained workloads
CN105183564B (en) Equipment scheduling method, apparatus and system based on cloud test platform
CN105279017B (en) Method for allocating tasks, apparatus and system based on cloud test platform
CN104915251B (en) Method for scheduling task and device
US20090282413A1 (en) Scalable Scheduling of Tasks in Heterogeneous Systems
CN109992407A (en) A kind of YARN cluster GPU resource dispatching method, device and medium
CN109614211A (en) Distributed task scheduling pre-scheduling method and device
Nguyen et al. A coevolution genetic programming method to evolve scheduling policies for dynamic multi-objective job shop scheduling problems
CN105874426A (en) Batch processing method and device for system invocation commands
CN116467061B (en) Task execution method and device, storage medium and electronic equipment
Kehrer et al. Equilibrium: an elasticity controller for parallel tree search in the cloud
CN109634714A (en) A kind of method and device of intelligent scheduling
CN103197918B (en) Hyperchannel timeslice group
CN115407990A (en) Method and device for business logic flow development and business logic flow realization
Pan et al. Resource allocation in software-defined vehicles: ILP model formulation and solver evaluation
CN108134851B (en) The method for controlling quality of service and device of data transmission
Sadasivam An efficient approach to task scheduling in computational grids
Degroote et al. Applying algorithm selection–a case study for the generalised assignment problem
Qiao et al. A multiprocessor real-time scheduling embedded testbed based on Linux
CN116302467A (en) Task allocation method, device and storage medium
US20120042208A1 (en) Test optimization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant