System and method for performing batch synchronization for a test sequence
First Claim
1. A method for executing multiple instances of a test sequence, the method comprising:
- creating a test sequence in response to user input, wherein the test sequence includes a batch synchronization section;
simultaneously executing a plurality of threads, wherein each thread executes an instance of the test sequence;
the batch synchronization section synchronizing the execution of the plurality of threads.
5 Assignments
0 Petitions
Accused Products
Abstract
A method for creating a computer program to be executed by a plurality of threads, in which the method utilizes a technique for execution synchronization referred to herein as a batch synchronization section. According to this technique, a plurality of threads may be associated with one another as a “batch” of threads. Each thread in the plurality (batch) of threads may execute the computer program simultaneously. The batch synchronization section may specify a portion of the computer program for which the execution of the portion by the plurality of threads is to be synchronized. In one embodiment different types of batch synchronization sections may be specified, wherein each type of batch synchronization section performs a different type of execution synchronization. In one embodiment the method may enable execution synchronization behavior for multiple concurrent executions of a test executive test sequence to be specified. The test sequence may include one or more batch synchronization sections. Multiple threads may each execute an instance of the test sequence to concurrently to test a group of units under test, and the batch synchronization sections may coordinate the execution of the multiple threads where necessary.
-
Citations
32 Claims
-
1. A method for executing multiple instances of a test sequence, the method comprising:
-
creating a test sequence in response to user input, wherein the test sequence includes a batch synchronization section;
simultaneously executing a plurality of threads, wherein each thread executes an instance of the test sequence;
the batch synchronization section synchronizing the execution of the plurality of threads. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30)
-
-
15. A computer-implemented method for simultaneously testing a group of two or more units, the method comprising:
-
receiving user input indicating a desire to test the group of units;
simultaneously executing a plurality of threads to test the group of units in response to the user input;
wherein each thread executes an instance of a test sequence to test a corresponding unit from the group.
-
-
29. A method for executing multiple instances of a test sequence, the method comprising:
-
including a plurality of steps in a test sequence;
defining an enter point and an exit point in the test sequence, wherein the enter point and the exit point surround a subset of the plurality of steps;
simultaneously executing a plurality of threads, wherein each thread executes an instance of the test sequence;
wherein said executing the plurality of threads comprises;
each thread blocking at the enter point until all other threads have arrived at the enter point;
one or more threads executing the subset of the plurality of steps;
each thread blocking at the exit point until all other threads have arrived at the exit point.
-
-
31. A memory medium for executing multiple instances of a test sequence, the memory medium comprising program instructions executable to:
-
include a plurality of steps in a test sequence;
define an enter point and an exit point in the test sequence, wherein the enter point and the exit point surround a subset of the plurality of steps;
simultaneously execute a plurality of threads, wherein each thread executes an instance of the test sequence;
wherein said executing the plurality of threads comprises;
each thread executing steps of the test sequence until arriving at the enter point and then blocking at the enter point until all other threads have arrived at the enter point;
one or more threads executing the subset of the plurality of steps;
each thread that arrives at the exit point blocking at the exit point until all other threads have arrived at the exit point.
-
-
32. A system for testing multiple units, the system comprising:
-
a computer system including;
a processor;
a memory storing program instructions;
a plurality of units under test coupled to the computer system;
wherein the processor is operable to execute the program instructions to;
receive user input indicating a desire to test the group of units;
simultaneously execute a plurality of threads to test the plurality of units in response to the user input;
wherein each thread executes an instance of a test sequence to test a corresponding unit from the plurality of units.
-
Specification