IP Library Granted Patent US 8,839,202
Granted Patent B2
US 8,839,202 · App. 13/650,969 · Granted Sep 16, 2014

Test environment managed within tests

Inventors: Mark Tempel (Minneapolis, MN); David Gibbens (Blaine, MN); Callistus C Schissel (Brooklyn Park, MN)
Assignee: VMware, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,839,202
App. No.
13/650,969
Granted
Sep 16, 2014
Kind
B2
Abstract

In a method of managing a test environment, a test of a software item is initiated, wherein the test manages a test environment that the test executes test cases against during run time. At least one global variable file is accessed. The global variable file describes the test environment and defines references to machine names.

Claims (38)

1. A processor-implemented method of managing a test environment, said method comprising:

initiating a test of a software item on a computing environment comprising a plurality of virtual machines, wherein said test manages a test environment that said test executes test cases against during run time;

modifying said test environment according to said test, such that said plurality of virtual machines begins in a predetermined operational state;

accessing at least one global variable file, wherein said global variable file describes said test environment and is operable to modify said test environment, and wherein said global variable file defines references to machine names such that said global variable file assists in translating said references to machine names to specific virtual machines available in said test environment;

communicating with a custom action layer to execute a custom action of said test, wherein said custom action layer is dynamic; and

invoking said custom action from said custom action layer.

2. The processor-implemented method as recited in claim 1 , further comprising:

reverting virtual machine snapshots.

3. The processor-implemented method as recited in claim 1 , further comprising:

starting at least one virtual machine.

4. The processor-implemented method as recited in claim 1 , further comprising:

stopping at least one virtual machine.

5. The processor-implemented method as recited in claim 1 , wherein said test is performed in a cloud-based computing environment.

6. The processor-implemented method as recited in claim 1 , wherein said test is operable to modify said test environment such that said test begins in a predetermined test environment.

7. The processor-implemented method as recited in claim 1 , wherein said test is written in the same commonly used language as test cases that do not manage testing environments.

8. A non-transitory computer readable storage medium comprising instructions stored thereon which, when executed, cause a computing system to perform a method of managing a test environment, said method comprising:

initiating a test of a software item on a computing environment comprising a plurality of virtual machines, wherein said test manages a test environment that said test executes test cases against during run time;

modifying said test environment according to said test, such that said plurality of virtual machines begins in a predetermined operational state;

accessing at least one global variable file, wherein said global variable file describes said test environment and is operable to modify said test environment, and wherein said global variable file defines references to machine names such that said global variable file assists in translating said references to machine names to specific virtual machines available in said test environment;

communicating with a custom action layer to execute a custom action of said test, wherein said custom action layer is dynamic; and

invoking said custom action from said custom action layer.

9. The non-transitory computer readable storage medium of claim 8 , further comprising instructions for:

reverting virtual machine snapshots.

10. The non-transitory computer readable storage medium of claim 8 , further comprising instructions for:

starting at least one virtual machine.

11. The non-transitory computer readable storage medium of claim 8 , further comprising instructions for;

stopping at least one virtual machine.

12. The non-transitory computer readable storage medium of claim 8 , wherein said instructions cause said test to be performed in a cloud-based computing environment.

13. The non-transitory computer readable storage medium of claim 8 , wherein said instructions cause said test to modify said test environment such that said test begins in a predetermined test environment.

14. The non-transitory computer readable storage medium of claim 8 , wherein said instructions permit said test to be written in the same commonly used language as test cases that do not manage testing environments.

15. At least one non-transitory computer readable storage medium containing a computer program product for a testing framework comprising:

a framework layer which is compiled prior to running a custom action:

a test environment management add-on providing actions to all layers, wherein said test environment management add-on is operable to modify a test environment upon which a software item is being tested, and wherein said test environment management add-on is operable to access at least one global variable file that describes said test environment and is operable to modify said test environment, and wherein said global variable file defines references to machine names such that said global variable file assists in translating said references to machine names to specific virtual machines available in said test environment;

a custom action layer for running custom actions, wherein said custom action layer is dynamic;

at least one fixture layer to communicate with said framework layer and said custom action layer, wherein said fixture layer is compiled prior to running said custom action; and

a test layer to communicate with said custom action layer, wherein said test layer is configured to receive and execute a test, wherein said test manages said test environment that said test executes test cases against during run time using said test environment management add-on. and wherein said test layer is compiled prior to running said custom action and can invoke said custom action from said custom action layer.

16. The computer program product of claim 15 , wherein actions in said test environment management add-on is operable to start at least one virtual machine, revert at least one virtual machine to a snapshot, and wherein said test environment management layer is operable to stop at least one virtual machine.

17. The computer program product of claim 15 , wherein a test alters said testing environment, and wherein said testing environment is a predetermined testing environment.

Assignments (2)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 26, 2012
From: TEMPEL, MARK; GIBBENS, DAVID; SCHISSEL, CALLISTUS C.
To: VMWARE, INC.
Reel/Frame 029202/0489 →
Continuity (1)
Related Publication 20140109052A1 · Apr 17, 2014