Second 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

tar -xvf robotframework-2.7a1.tar.gz
cd robotframework-2.7a1
python install

  • Functionality testsuite installation


wget -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/ and customize CREAM_TESTSUITE_HOME
source cream_regression_testing/
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/
    • 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/  /opt/cream_test/lib/

Regression testsuite run:

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

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/

pybot /opt/cream_test/testsuite/cream_test_suite.html


  • 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: r5 - 2012-02-29 - SaraBertocco
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