Difference: BlahRobotframeworkTestsuiteUsage (1 vs. 2)

Revision 22012-06-25 - SaraBertocco

Line: 1 to 1
 

Blah Functionality and regression Test Suite Documentation

Line: 32 to 32
 
  • BLAH functionality and CREAM-BLAH Regression testsuite installation
Changed:
<
<
Get here: the file cream_regression_testing.tar containing the cream regression testsuite.
>
>
Get the more recent version of the testsuite from GitHub repository connecting here and clicking on the button labeled "Download as .tar.gz"
 
cd <where you want>
Changed:
<
<
cp cream_regression_testing.tar tar -xvf cream_regression_testing.tar
>
>
cp cream_blah_testsuite.tar tar -xvf cream_blah_testsuite.tar
 

Revision 12012-06-25 - SaraBertocco

Line: 1 to 1
Added:
>
>

Blah Functionality and regression Test Suite Documentation

Blah functionality tests introduction

The blah functionality testsuite covers the blparser tests described in the blah test plan.

Testsuite installation

The installation is needed only client-side. It must be done on an emi-ui. The blah functionality testsuite is included in the same package of cream regression testsuite and blah regression testsuite.

Be careful to maintain the installation order below because cream functionality testsuite installs all dependencies needed also by blah functionality and cream and blah 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

  • CREAM 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

  • BLAH functionality and CREAM-BLAH 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 Functionality testsuite configuration.

Customize the file /opt/cream_test/lib/vars.py

  • BLAH Functionality and BLAH-CREAM Regression testsuites configuration

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

Notes on cream-blah testsuites configuration

  • When change the blparser configuration from new to old or vice versa do not forget to chenge the "parser_log_file" parameter value in ${CREAM_TESTSUITE_HOME}/lib/conf/cream_testsuite_conf.ini file

  • The test check_notifications_for_suspended_resumed_jobs.html is done supposing the jobs are suspended when in IDLE state. To satisfy this hypothesis it is used the configuration parameter "tot_cpu_num" in ${CREAM_TESTSUITE_HOME}/lib/conf/cream_testsuite_conf.ini file
It is the number of jobs submitted to saturate the submission queue in use during the test (queue configured in the same file in "cream_queue" parameter).

BLAH Functionality testsuite run:

At this point the regression testsuite must be run in the same shell where the environment is set. There are two options:

  • Run all the functionality tests in one command:

cd $CREAM_TESTSUITE_HOME/blah_testing/
pybot tests

  • Run the functionality tests one by one (preferred to save time in case of failure of one of the tests).
cd $CREAM_TESTSUITE_HOME/blah_testing/tests

pybot check_notifications_for_normally_finished_jobs.html 
pybot check_notifications_for_cancelled_jobs.html 
pybot check_notifications_for_suspended_resumed_jobs.html 

BLAH Regression testsuite run:

  • Run tests of bugs of old blparser:
cd $CREAM_TESTSUITE_HOME/blah_regression/tests
pybot only_new_parser

  • Run tests of bugs of new blparser:
cd $CREAM_TESTSUITE_HOME/blah_regression/tests
pybot only_old_parser

  • Run generic bugs presents in both situations (old and new blparsers):
cd $CREAM_TESTSUITE_HOME/blah_regression/tests
pybot bug*.html

-- SaraBertocco - 2012-06-25

 
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