Jump to: navigation, search

Difference between revisions of "Mistral/Testing"

(Created page with "On Mistral project we have two separate test suites: * Unit tests - executed by Jenkins CI job in OpenStack gerrit (python-style checks and execution of all unit tests) * Inte...")
 
Line 9: Line 9:
 
     git clone https://github.com/stackforge/mistral
 
     git clone https://github.com/stackforge/mistral
 
     cd mistral
 
     cd mistral
 
 
     # to run unit tests suite
 
     # to run unit tests suite
 
     tox
 
     tox
 
 
     # to run integration test suite
 
     # to run integration test suite
 
     git clone https://github.com/openstack/tempest
 
     git clone https://github.com/openstack/tempest
 
     TEMPEST_DIR=./tempest
 
     TEMPEST_DIR=./tempest
     nosetests
+
     nosetests functionaltests/api/v1/test_mistral_basic.py

Revision as of 15:16, 10 June 2014

On Mistral project we have two separate test suites:

  • Unit tests - executed by Jenkins CI job in OpenStack gerrit (python-style checks and execution of all unit tests)
  • Integration tests - executed by Devstack Gate job in OpenStack gerrit (integration tests for Mistral after the OpenStack deployment with devstack)

Mistral unit tests can be found here: https://github.com/stackforge/mistral/tree/master/mistral/tests Mistral integration tests can be found here: https://github.com/stackforge/mistral/tree/master/functionaltests

All existed automated tests can be executed manually on the developer's desktop. To do this you should clone mistral repository and after that perform the following commands:

   git clone https://github.com/stackforge/mistral
   cd mistral
   # to run unit tests suite
   tox
   # to run integration test suite
   git clone https://github.com/openstack/tempest
   TEMPEST_DIR=./tempest
   nosetests functionaltests/api/v1/test_mistral_basic.py