System and method for testing computer components in development environments
First Claim
1. A method for emulating a first device with a second device for use in testing test program code in a computer system having a predetermined bus protocol carrying corresponding commands between said system and said first and second devices, said first and second devices having corresponding differing respective first and second operating characteristics, said method comprising the steps of:
- storing in said second device said test program code;
placing said commands on said bus for said first device in said bus protocol;
translating said commands to adapted commands for said second device comprisinginvoking an emulation module; and
translating, with said emulation module, said commands corresponding to said bus protocol and said first operating characteristic to said second operating characteristic;
transmitting said adapted commands to said second device;
actuating said second device in response to said adapted commands;
storing an emulation library containing a plurality of said emulation modules, each corresponding to a different pair of said first and second operating characteristics;
specifying one of said emulation modules from said emulation library; and
detecting from said commands on said bus said first operating characteristic, wherein said specifying one of said emulation modules is in response to said detecting.
1 Assignment
0 Petitions
Accused Products
Abstract
A device emulator for use in testing pre-release program code emulates and replaces a first storage device such as a SCSI CD ROM drive containing the program code on CD ROM with a second storage device such as a SCSI hard drive. The emulator receives SCSI commands from an SCSI bus from a target system intended for the first drive. Through use of an emulator library, the emulator effects reads from the second device as if they were from the first device, and places the result on the SCSI bus. Testing personnel are thereby enabled to test the code on the second device which essentially behaves as the first device without the necessity of awaiting production and distribution of CD ROMs containing the test program code.
40 Citations
10 Claims
-
1. A method for emulating a first device with a second device for use in testing test program code in a computer system having a predetermined bus protocol carrying corresponding commands between said system and said first and second devices, said first and second devices having corresponding differing respective first and second operating characteristics, said method comprising the steps of:
-
storing in said second device said test program code; placing said commands on said bus for said first device in said bus protocol; translating said commands to adapted commands for said second device comprising invoking an emulation module; and translating, with said emulation module, said commands corresponding to said bus protocol and said first operating characteristic to said second operating characteristic; transmitting said adapted commands to said second device; actuating said second device in response to said adapted commands; storing an emulation library containing a plurality of said emulation modules, each corresponding to a different pair of said first and second operating characteristics; specifying one of said emulation modules from said emulation library; and detecting from said commands on said bus said first operating characteristic, wherein said specifying one of said emulation modules is in response to said detecting. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for emulating a first device with a second device for use in testing program code in a computer system having a predetermined bus protocol carrying corresponding commands between said system and said first and second devices, said first and second devices having corresponding differing respective first and second operating characteristics, said apparatus comprising:
-
means for storing in said second device said test program code; means for placing said commands on said bus for said first device in said bus protocol; means for translating said commands to adapter commands for said second device comprising means for invoking an emulation module; and means for translating, with said emulation module, said commands corresponding to said protocol and bus said first operating characteristic to said second operating characteristic; means for transmitting said adapted commands to said second device; means for actuating said second device in response to said adapted commands; means for storing an emulation library containing a plurality of said emulation modules, each corresponding to a different pair of said first and second operating characteristics; means for specifying one of said emulation modules from said emulation library; and means for detecting from said commands on said bus said first operating characteristic wherein said specifying one of said emulation modules is in response to said detecting. - View Dependent Claims (7, 8, 9, 10)
-
Specification