Tags:
, view all tags

First CREAM testsuites (regression and functionality) trial

Testsuites installation

writeble)

Client side 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

scp regression_testsuite_server_20120126.tar cream-wn-035.pn: -scrivi come prendere il file
tar -xvf regression_testsuite_server_20120126.tar
export CREAM_TESTSUITE_HOME=/home/bertocco/regression_testsuite_server

export PYTHONPATH=/home/bertocco/regression_testsuite_server:/home/bertocco/regression_testsuite_server/conf:/home/bertocco/regression_testsuite_server/utils:/home/bertocco/regression_testsuite_server/lib:/opt/cream_test/lib/
cp $CREAM_TESTSUITE_HOME:conf/cream_testsuite_conf.ini from CE to UI

Regression testsuite run:

  • On server (for first):
/usr/local/bin/python2.7 cream_testsuite_start.py

  • On client:
cd $CREAM_TESTSUITE_HOME
pybot tests

Functionality testsuite run:

pybot /opt/cream_test

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

Edit | Attach | PDF | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 2012-02-03 - SaraBertocco
 
  • Edit
  • Attach
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