Difference: SecondCreamTestsuitesTrial (1 vs. 5)

Revision 52012-02-29 - SaraBertocco

Line: 1 to 1
 
META TOPICPARENT name="IGITestCert"
Changed:
<
<

First CREAM testsuites (regression and functionality) trial

>
>

Second CREAM testsuites (regression and functionality) trial

 

Revision 42012-02-07 - CristinaAiftimiei

Line: 1 to 1
 
META TOPICPARENT name="IGITestCert"

First CREAM testsuites (regression and functionality) trial

Line: 83 to 83
 
  • Too often same error in testsuites run leaves the cream ce in unpredictable status. Need big improve
Deleted:
<
<
-- SaraBertocco - 2012-02-03

 
META FILEATTACHMENT attachment="cream_regression_testing.tar" attr="" comment="" date="1328286476" name="cream_regression_testing.tar" path="cream_regression_testing.tar" size="225280" user="SaraBertocco" version="1"

Revision 32012-02-06 - SaraBertocco

Line: 1 to 1
 
META TOPICPARENT name="IGITestCert"

First CREAM testsuites (regression and functionality) trial

Line: 33 to 33
 
Changed:
<
<
  • Regression testsuite client installation
>
>
  • 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
Added:
>
>

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
Changed:
<
<
vi/gedit cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it
>
>
vi/gedit ${CREAM_TESTSUITE_HOME}/cream_regression_testing/lib/conf/cream_testsuite_conf.ini and customize it
 
Changed:
<
<
At this point the regression testsuite can be run in the same shell where the environment is set.
>
>
  • 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:

Added:
>
>
At this point the regression testsuite can be run in the same shell where the environment is set.
 
cd $CREAM_TESTSUITE_HOME
pybot tests
Line: 57 to 71
 

Functionality testsuite run:

Added:
>
>
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

Revision 22012-02-03 - SaraBertocco

Line: 1 to 1
 
META TOPICPARENT name="IGITestCert"

First CREAM testsuites (regression and functionality) trial

Line: 6 to 6
 

Testsuites installation

Deleted:
<
<
writeble)
 
Changed:
<
<

Client side installation (cream-wn-035 as UI)

>
>

Installation (cream-wn-035 as UI)

  The installation is needed only client-side. It must be done on an emi-ui.
Line: 36 to 35
 
  • Regression testsuite client installation
Added:
>
>
Get here: the file cream_regression_testing.tar containing the cream regression testsuite.
 
Changed:
<
<
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

>
>
cd cp cream_regression_testing.tar 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
 
Added:
>
>
At this point the regression testsuite can be run in the same shell where the environment is set.
 
Deleted:
<
<

Regression testsuite run:

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

Regression testsuite run:

 
Deleted:
<
<
  • On client:
 
cd $CREAM_TESTSUITE_HOME
pybot tests
Line: 62 to 58
 

Functionality testsuite run:

Changed:
<
<
pybot /opt/cream_test
>
>
pybot /opt/cream_test/testsuite/cream_test_suite.html
 

Notes

Line: 73 to 69
 

-- SaraBertocco - 2012-02-03

Added:
>
>

META FILEATTACHMENT attachment="cream_regression_testing.tar" attr="" comment="" date="1328286476" name="cream_regression_testing.tar" path="cream_regression_testing.tar" size="225280" user="SaraBertocco" version="1"

Revision 12012-02-03 - SaraBertocco

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="IGITestCert"

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

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback