Skip to content

Plugins mechanism

bogdanpopescu edited this page Jul 25, 2012 · 3 revisions

Twister can be configured to load in GUI a plugin developed for specific functions that are needed for different test scenarios.

The user can configure the list of plugins that should be loaded in GUI, using the following GUI:

Plugins

All the available plugins are located on the server where Twister is installed. These plugins are listed in the Remote box. The user has the possibility to download the plugins from the remote server to it's local PC.

Once the plugin is downloaded to the local PC, the plugin becomes available in the Local box. The user can activate the plugin by selecting Activate checkbox. When a plugin is activated, it's GUI becomes visible as a new tab in Twister's GUI. If a plugin is activated, the user can de-activate the plugin by deselecting the Activate checkbox. When this is done, the plugin is not displayed anymore in Twister GUI. The plugin is kept locally on user's PC. If the user wants to delete the plugin from it's local PC, he can use the Remove button and the plugin will be deleted. If the plugin is activated and the Remove is pressed, the plugin is deactivated automatically.

The setting that shows if a plugin is activated or not, is kept between the sessions from the same machine. If the user leaves the Twister GUI and returns back with another session accessing the framework from the same machine, the setting is kept. If the user returns to the framework from a different machine, the setting is not kept.

Note - the plugings are developed using Java programming language. New plugings can be developed by the user, and here are some details about [the how to develop a plugin](https://github.com/Luxoft/Twister/wiki/Plugin development).

Clone this wiki locally