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 client 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
vi/gedit cream_regression_testing/regression_env.sh and customize CREAM_TESTSUITE_HOME
source cream_regression_testing/regression_env.sh
vi/gedit cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it

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

Regression testsuite run:

cd $CREAM_TESTSUITE_HOME
pybot tests

Functionality testsuite run:

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

-- SaraBertocco - 2012-02-03


This topic: IGIRelease > WebHome > IGIDocumentation > Documentation > IGIRelMan > IGITestCert > SecondCreamTestsuitesTrial
Topic revision: r2 - 2012-02-03 - SaraBertocco
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback