Home Getting Started Eclipse Plugin
Eclipse Plugin

Installation

For installation of the iValidator Eclipse Plugin pls. refer to the installation guide. There you also find some information about the samples provided for a quick look at the features of the plugin.

Features

The iValidator Eclipse Plugin offers the following features:

  • A launch configuration shortcut-run by right mouse click on configuration.xml.
  • A launch configuration dialog
    • to launch an existing configuration.xml
    • to create and launch a default configuration file if one does not exist.
    • to be able to filter the tests specified in the configuration file
  • An extensive Report Viewer.

Launching an iValidator Test

You can start an iValidator test using the plug-in in two ways.

  1. First one is by clicking the "Run..." button and the Launch Configuration Dialog will pop up. There you can enter all the necessary information to launch your test.
  2. Second one is by right-clicking directly on the file configuration.xml and a launch shortcut "run as" - "iValidator run" can be performed.

Starting by using Launch Configuration Dialog

Open the window Launch Configuration Dialog by clicking button "Run...". A configuration category named iValidator with its logo will appear and you can create a new configuration. The Launch Configuration Dialog consists of three fields: project, configuration and xml-input field.

The behavior of the dialog can be summarized as follows:

  • If no project selected, configuration and xml-input fields appear inactive and an error message tells you to select a project.
  • If a configuration.xml exists in the root directory of the current project, the configuration field is filled in automatically and you can start running the tests.
  • If no configuration.xml exists in the root directory of the current project, but a a test.xml, the xml-input field is filled in and configuration field remains empty. You can start running tests and the report will simply be written on the root directory of current project.
  • A Descriptor Repository XML-file (i.e. another configuration.xml) is selectable within the current project, when the checkbox "Durchsuchen aller Projekte" is not checked.
  • A Descriptor Repository XML-file (i.e. another configuration.xml) is selectable within the whole workspace, when the checkbox "Durchsuchen aller Projekte" is checked.
  • A XML-Input-File (test descriptiuon) is selectable within the whole workspace, when the configuration field is left empty. A temporary configuration.xml is generated by the system, from which the selected XML-Input-File is referenced.

On the second tab you have the chance to filter the tests configured in your configuration.xml. You can check here which scenario you actually want to execute, maybe you want to repeat the one of many tests that failed in the automated run during the night before....

Starting by using Launch Shortcut

Start the test run by clicking on the file configuration.xml with the right mouse button and selecting "Run" -> "iValidator Run".

For the shortcut to work you must have a configuration file (e.g. configuration.xml) available. It is not possible to use the shortcut on a test description file like the launch dialog.

The Report Viewer

The report shown in the iValidator view is indicated by colorful icons to give a quick view of test results, i.e. success, errors, not executed by user and empty (not yet finished). Futhermore, you can browse through the test hierarchy levels to find runtime information and error or success messages for every suite and unit.

  • Double click on exception stack trace messages brings you to the source code where the exception occurs.
  • Action buttons to perform expansion or collapse of all tree nodes.
  • If the viewer acts as a minimized fast view and the failure/error occurs, the viewer is immediately maximized and brought to the top; thus you can notice something wrong has happened.