Vladimir N. Ryabinin, Intel Corporation
Version 0.1 December 7, 2007
This document describes how to use the automated testing package to test the installed GPE4GTK clients.
This test package uses ant version 1.6.5 or higher.
This package is distributed as .zip or .tar.gz file. To install this test package you should:
<installation_dir> directory.
New directory named gpe4gtk-test-package-1.5.2 will be created.
This directory will contain following files and directories:
abbot-1.0.0.rc5 with Abbot frameworkant-lib with ant 1.6.5applications with Abbot toolstemplates with set of templates for the test scriptssources with some source files which used in test processbuild.xml - ant build script for testingtester.properties - configuration file for testing scriptant165.bat and ant165.sh - scripts to run ant (version 1.6.5)tester.properties.
Set values of following properties:
server.url - URL of your server (e.g. myhost.mydomain.org)target.system.name - name of the available target systemclients.dir - path to clients installation directory on your local hostplugins.dir - path to your local directory with .jar files for the GridBeanspath.to.trusted.certificate - local path to file with certificate to access the servervo.account - your personal Virtual Organization accountvo.passwd - your personal Virtual Organization passwordgpe4gtk-test-package-1.5.2 directory:
ant init
The templates of test scripts will be modified according to your settings and will be stored into directoryscripts. New files keystore.jks
and userPreferemces.properties will be created in your
gpe4gtk-test-package-1.5.2/.gpe4gtkconfig directory.
A special Test0 will be executed. Success of this test will indicate that
the test package is ready for the automated testing.
Execute following command to run all tests:
ant test
All tests will be run. The report will be printed to the standard output. The final results will be placed at end of the protocol.
NB: do not use keyboard or mouse during the automated testing process.
You can execute the tests in arbitrary order and edit the tests with the Costello script editor. Execute following command:
ant costello
The script editor Costello will be loaded and its window will appear on screen.
You can load, analyze, execute and edit a test script using this editor.
Refer to documentation at http://abbot.sourceforge.net/doc/overview.shtml for details.
After editing test scripts with Costello, you must execute the following command to adapt them to your testing environment (with the testing configuration prepared on the stage of testing packages installation):
ant save
Test scripts saved to scripts directory will be post-processed
and saved into templates directory.
You can use scripts ant165.bat or ant165.sh if you
do not have the required ant version (1.6.5+) on your computer.
These scripts accept the same parameters as ant. E.g.:
./ant165.sh costello