1. A method for generating programming code for a device under test (DUT), the method comprising: a. receiving a command selection including a command for which the programming code being generated; b. retrieving a device library for the command, wherein the device library includes a command syntax that is suitable for an execution of the command by the DUT; c. retrieving response template parameters for the command, the response template parameters being retrieved from a response template of the command, the response template including definitions of fields in a command response, expected command responses and verification rules associated with one or more fields; and d. generating the programming code to execute the command when the programming code is executed by the DUT, wherein the programming code being generated in a high level language using the command syntax defined in the device library and incorporating verification of the command response of the command when the programming code is executed.