EDOS test assistant README
François Déchelle <fdechelle_chez_mandriva.com>Content
This module contains the EDOS test assistant. The EDOS test assistant helps testers roll check lists and report the result of the check list. The test assistant uses the EDOS test runner to report test results.Prerequisites
You need the following packages:- python
- python-pyxml: Python XML
- python-qt: Python QT bindings
- python-kde: Python KDE bindings
Building
As the test assistant is written in Python, building is not mandatory, unless the GUI files have been modified. If the .ui files have been modified using QT-Designer, the Python sources must be re-generated using pyuic. This can be done easily by running:python setup.py sdist
Installation
The test assistant must be installed in order to be able to run it. This module uses Python distutils tools. To install it:python setup.py install <<install-options>>
- --prefix=DIRECTORY to specify the installation prefix
- --help to display other options
Running
To run the test assistant, you must first install it and then make sure that the Python package 'edostestrunner' can be found by the Python interpreter. If you have installed the EDOS test runner in a standard directory, for instance by using a package (RPM or Debian) version of the EDOS test runner, setting PYTHONPATH is not mandatory and you can skip paragraphe 5.1.Setting PYTHONPATH
If you have installed the package in a non-standard directory, you must set the PYTHONPATH environment variable. The value to give to PYTHONPATH is different if you are using directly the source tree or if you have installed the EDOS test runner.Running using test runner from its source tree
Setting PYTHONPATH can be done by:export PYTHONPATH=PATH_TO_SOURCE_TREE
export PYTHONPATH=/var/tmp/edos-testrunner-1.0.3betaRunning after installing test runner
Refer to test runner README for test runner installation instructions. Setting PYTHONPATH can be done by:export PYTHONPATH=PREFIX/lib/python2.4/site-packages
python setup.py install --prefix=$HOME/projects/EDOS/install
export PYTHONPATH=$HOME/projects/EDOS/install/lib/python2.4/site-packages
Running test assistant
After setting PYTHONPATH if needed, you can run the test assistant with:edos-testassistant --file=<<test XML file>>
python setup.py install --prefix=/home/fdechelle/tmp/foo
/home/fdechelle/tmp/foo/usr/bin/edos-testassistant
edos-testassistant --help
Version 1.5 last modified by FrancoisDechelle on 28/05/2007 at 16:11
Document data
Attachments:
No attachments for this document
Comments: 0