Create unit tests in external IDEs


The following sections describe how to develop a unit test within the Microsoft Visual Studio or Eclipse environments. You use the provided add-ins to develop scripts with supported versions of these environments.

For details on supported versions, see Supported Protocols.

There are two IDE add-ins for developers:

  • Visual Studio
  • Eclipse

These add-ins allow you to create and run a unit test directly from within Visual Studio or Eclipse. The run mechanism is the mdrv process. This add-in adds a Devops Vuser menu to the Visual Studio or Eclipse interface. You can configure runtime settings directly from your development environment and run the test. The saved tests, NUnit (Visual Studio) or JUnit (Eclipse), can be referenced directly from your testing environment, for example, a Controller scenario.

These add-ins are provided in Additional Components folder of your installation package. Be sure to select the correct Visual Studio add-in for your version of Visual Studio.

When working in the IDE environment, the complete API is available from the Object browser or editor. For information about each of the Vuser functions that you can use when programming your script, see the Function Reference.

Back to top

See also: