| Installation Guide |
Preconditions
DownloadiValidator download is provided on Sourceforge. You can download a binary version and/or an eclipse plug-in of iValidator:
All test implementations and definitions can naturaly be run either from the commandline or in the plugin without any changes! There are no differences for Unix and Windows implementation. Additionally the iValidotor sources are available in a separate download archive. The download archives contain all necessary jars. It is advisable to download the samples as well because they provide a mini application to evaluate the framework. Tutorial Starting with version 2.3.2 we offer a Getting Started Tutorial (German Version). iValidator Binaries and iValidator SamplesUnzip the archives into a directory of your choice. The sub directories /ivalidator (refered to as IVALIDATOR_HOME) and /ivalidator-samples (refered to as IVALIDATOR_SAMPLE) will be created automatically. Okay, the framework ist now available. Use the sample application to get a first impression. iValidator Sample ApplicationThe directory org.ivalidator.sample.testapp contains a mini application to provide a system under test (SUT). The directory org.ivalidator.sampl.base contains the corresponding iValidator test setup for tests of the SUT. You will find
Starting the TestSo, to start a Test, go to the directory IVALIDATOR_SAMPLE/org.ivalidator.sample.base and type: java -jar IVALIDATOR_HOME/ivalidator.jar configuration.xml
Starting the Test using AntInstead of using an iValidator configuration.xml, you can use the iValidator Ant Task to configure and start a test. To try that, go to the directory IVALIDATOR_SAMPLE/org.ivalidator.sample.base and type: ant -buildfile ant_run_config_simple.xml
Viewing the ResultsThe results of the testrun can be found in the subdirectory '/result', resp. /ant_result, depending on how you started the tests. They are XML-Reports containing a stylesheet that uses a bit of javascript for presentation and navigation within the report.
iValidator Eclipse Plugin and iValidator SamplesUnzip the download archive into the plugin directory of your eclipse installation (min. release 3.0.1). After restarting eclipse the iValidator is available as a plugin with the following features:
iValidator Sample ApplicationYou can use the sample application to evaluate the plugin:
The project org.ivalidator.sample.testapp contains a mini application to provide a system under test (SUT). The project org.ivalidator.sampl.base contains the corresponding iValidator test setup for tests of the SUT. You will find
Starting the TestYou can start using iValidator plug-in in two ways.
Viewing the ResultsIn addition to the output in an XML-Report file as described above, the report is shown in the iValidator view of your eclipse environment. Icons give a quick view of success, warnings and errors and you can click through the test hierarchy levels to find runtime information and error or success messages for every suite and unit.
|
If you are not in the correct directory when issuing the command, the testdescriptions will not be found.
It might be necessary to set the IVALIDATOR_HOME variable in theĀ ant_run_config_simple.xml. 
Some test intenionally produce errors to demonstrate the effect.