senlin-tempest-plugin/senlin_tempest_plugin
tengqm 3ac3092ffd Skip integration tests for lifecycle hooks
Skipping lifecycle hook integration tests because we are not able
to get message service at CI gate. The reason could be that SDK failed
to register zaqar as a 'messaging' service.

Change-Id: I1d0b251e2a9b80ed48307fbdfc952f909e39edaa
2018-02-12 02:51:13 -05:00
..
common Merge "Add tests for lifecycle hooks" 2018-02-08 07:27:24 +00:00
tests Skip integration tests for lifecycle hooks 2018-02-12 02:51:13 -05:00
__init__.py Tweak for new directory layout 2017-09-06 23:21:19 -04:00
base.py Refactor directory again 2017-09-06 23:24:30 -04:00
config.py Complete refactoring of directory structure 2017-09-06 23:52:08 -04:00
plugin.py Fix senlin tempest plugin to work properly 2018-01-17 20:50:22 -08:00
post_test_hook.sh Refactor directory again 2017-09-06 23:24:30 -04:00
pre_test_hook.sh Refactor directory again 2017-09-06 23:24:30 -04:00
README.rst Refactor directory again 2017-09-06 23:24:30 -04:00

Tempest Integration

This directory contains Tempest tests to cover senlin project.

To list all senlin tempest cases, go to tempest directory, then run:

$ testr list-tests senlin

To run only these tests in tempest, go to tempest directory, then run:

$ ./run_tempest.sh -N -- senlin

To run a single test case, go to tempest directory, then run with test case name, e.g.:

$ ./run_tempest.sh -N -- senlin_tempest_plugin.tempest.api.test_cluster_basic.TestClusterBasic.test_cluster_create_delete

If you can't find run_tempest.sh script in tempest directory, that means the script has been removed in a certain version. Then you can use "nosetests -v" to replace "./run_tempest.sh -N" in above command. More information about running tempest test can be found here: https://docs.openstack.org/tempest/latest/