Systems and methods to test programs

US9626284B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9626284-B2
Application numberUS-201313762938-A
CountryUS
Kind codeB2
Filing dateFeb 8, 2013
Priority dateFeb 9, 2012
Publication dateApr 18, 2017
Grant dateApr 18, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The embodiments described herein include a host that includes an operating system and a storage simulation module in communication with the host. The storage simulation module includes a pseudo-adapter configured to emulate a storage adapter and a pseudo-storage device coupled to the pseudo-adapter, wherein the pseudo-storage device is configured to emulate a storage device. The storage simulation module is configured to simulate an error event for the pseudo-adapter and/or the pseudo-storage device upon receipt of an operation from the operating system.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a host comprising: an operating system; at least one computing device; a creation module configured to: receive a request from a user to test a program on said at least one computing device, and in response to the request, create a pseudo-device configured to emulate said at least one computing device, said pseudo-device in communication with said operating system, and a processor programmed to: simulate a staged error event on said pseudo-device based on an operation from the program to allow an analysis of a response of the program to the simulation of the staged error event, wherein the processor is further programmed to simulate the staged error event on said pseudo-device upon determining that the staged error event is appropriate for manifestation by checking for a particular type of I/O operation or a particular condition. 2. The system of claim 1 , further comprising an interface module that is configured to provide a program to the operating system. 3. The system of claim 1 , wherein said pseudo-device is further configured to emulate a plurality of computing devices. 4. The system of claim 1 , wherein said computing device is a storage-adapter. 5. The system of claim 2 , wherein the program is loaded into a kernel of said operating system. 6. The system of claim 2 , wherein the program provides one or more of the following to said pseudo-device: an input operation and an output operation. 7. A method of testing a program using a computer system including an operating system, the method comprising: receiving a request from a user to test the program on a computing device; in response to the request, creating a pseudo-device configured to emulate the computing device; and simulating a staged error event on the pseudo-device based on an operation from the program to allow an analysis of a response of the program to the simulation of the staged error event, including simulating the staged error event on the pseudo-device upon determining that the staged error event is appropriate for manifestation by checking for a particular type of I/O operation or a particular condition. 8. The method of claim 7 , wherein the program provides one or more of the following to the pseudo-device: an input operation and an output operation. 9. The method of claim 7 , further comprising loading the program into a kernel of the operating system. 10. The method of claim 7 , further comprising: receiving a request to test the program on a second computing device; and in response to the request, creating an additional pseudo-device within the operation system, wherein the additional pseudo-device is a child of the pseudo-device. 11. The method of claim 7 , wherein the pseudo device is a pseudo-adapter configured to emulate a fiber channel adapter. 12. The method of claim 7 , further comprising receiving, from the pseudo, a response to the error event. 13. The method of claim 7 , further comprising initiating, by the program, an operation to the pseudo device, wherein simulating the error event further comprises simulating the error event contemporaneously with the operation. 14. A non-transitory computer-readable storage medium having computer-executable instructions embodied thereon, wherein, when executed by at least one processor, the computer-executable instructions cause the at least one processor to: receive a request from a user to test a program on a computing device; in response to the request, create a pseudo device configured to emulate the computing device; and simulate a staged error event on the pseudo device based on an operation from the program to allow an analysis of a response of the program to the simulation of the staged error event, wherein the computer-executable instructions further cause the at least one processor to simulate the staged error event on the pseudo-device upon determining that the staged error event is appropriate for manifestation by checking for a particular type of I/O operation or a particular condition. 15. The non-transitory computer-readable storage medium of claim 14 , wherein the program provides one or more of the following to the pseudo-device: an input operation and an output operation. 16. The non-transitory computer-readable storage medium of claim 14 , wherein the computer-executable instructions further cause the at least one processor to receive a request to simulate the error event on the pseudo device. 17. The non-transitory at least one computer-readable storage medium of claim 14 , wherein the operating system does not distinguish between the computing device and the pseudo-device. 18. The system of claim 1 , wherein the received operation is error free. 19. The system of claim 1 , further comprising a second computing device communicatively coupled to said at least one computing device, and wherein said creation module is further configured to: receive a request to test the program on said second computing device; in response to the request, create a second pseudo-device within said operation system; and wherein the processor is further programmed to simulate an additional error event on said second pseudo-device. 20. The method of claim 7 , further comprising: receiving a request to test the program on a second computing device; in response to the request, creating a second pseudo-device configured to emulate the second computing device; and simulating an additional error event on the second pseudo-device. 21. The non-transitory computer-readable storage medium of claim 14 , wherein the computer-executable instructions further cause the at least one processor to: receive a request to test the program on a second computing device; in response to the request, create a second pseudo-device configured to emulate the second computing device; and simulate an additional error event on the second pseudo-device.

Assignees

Inventors

Classifications

  • Methods or tools to render software testable · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

  • Test management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9626284B2 cover?
The embodiments described herein include a host that includes an operating system and a storage simulation module in communication with the host. The storage simulation module includes a pseudo-adapter configured to emulate a storage adapter and a pseudo-storage device coupled to the pseudo-adapter, wherein the pseudo-storage device is configured to emulate a storage device. The storage simulat…
Who is the assignee on this patent?
Vmware Inc
What technology area does this patent fall under?
Primary CPC classification G06F11/3688. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 18 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).