Tags:
, view all tags

First CREAM testsuites (regression and functionality) trial

Testsuites installation

Installation (cream-wn-035 as UI)

The installation is needed only client-side. It must be done on an emi-ui.

Be careful to maintain the installation order below because functionality testsuite installs all dependencies needed also bu regression testsuite.

  • Robot framework installation

wget http://robotframework.googlecode.com/files/robotframework-2.7a1.tar.gz
tar -xvf robotframework-2.7a1.tar.gz
cd robotframework-2.7a1
python setup.py install

  • Functionality testsuite installation

Instructions

wget http://yum.gridctb.uoa.gr/repository/robot_testing.repo -O /etc/yum.repos.d/robot_testing.repo
yum groupinstall cream_testing_group
yum install cream_test

  • Regression testsuite installation

Get here: the file cream_regression_testing.tar containing the cream regression testsuite.

cd <where you want>
cp  cream_regression_testing.tar <where you want>
tar -xvf cream_regression_testing.tar

Configuration (cream-wn-035 as UI)

  • Regression testsuite configuration

vi/gedit cream_regression_testing/regression_env.sh and customize CREAM_TESTSUITE_HOME
source cream_regression_testing/regression_env.sh
vi/gedit ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it

  • Functionality testsuite configuration. To configure the testsuite you have two options:
    • Customize the file /opt/cream_test/lib/vars.py
    • Customize the file ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.ini after regression testsuite installation (see next point) and
       cp ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.py  /opt/cream_test/lib/vars.py

Regression testsuite run:

At this point the regression testsuite can be run in the same shell where the environment is set.

cd $CREAM_TESTSUITE_HOME
pybot tests

Functionality testsuite run:

If you used the second configuration option for functionality testsuite, you must run it on a shell where the environment is set sourcing cream_regression_testing/regression_env.sh

pybot /opt/cream_test/testsuite/cream_test_suite.html

Notes

  • The regression testsuite suffer a lack in packaging. Must be improved
  • There is a bit of confusion on testsuites configuration
  • Too often same error in testsuites run leaves the cream ce in unpredictable status. Need big improve

Edit | Attach | PDF | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r4 - 2012-02-07 - CristinaAiftimiei
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback