tempest/tempest/tests
Jenkins ed8aff5987 Merge "Change v2 identity client methods to return one value" 2015-01-12 17:10:54 +00:00
..
cli Migrate cli test framework to tempest-lib 2014-10-23 11:07:04 -04:00
cmd Change image client methods to return one value 2015-01-06 17:22:24 -05:00
common Remove network debug 2014-12-09 20:26:05 -05:00
files Fix author information 2014-02-24 19:19:22 +09:00
negative Reduce complexity during import phase 2014-09-30 11:20:46 +02:00
stress Migrate cli test framework to tempest-lib 2014-10-23 11:07:04 -04:00
README.rst Add unit test section to the field guide index 2014-07-25 16:13:10 -04:00
__init__.py Add unittest framework + tests for wrapper scripts 2013-08-27 11:55:13 -04:00
base.py Enable H407,H305,H307,E122 ignore E123 2014-08-12 17:39:16 -04:00
fake_auth_provider.py Define V3 Credentials 2014-04-30 13:36:12 +01:00
fake_config.py Drop ComputeAdmin configs, credentials and manager 2014-12-30 09:49:18 +00:00
fake_credentials.py Define V3 Credentials 2014-04-30 13:36:12 +01:00
fake_http.py Enable H407,H305,H307,E122 ignore E123 2014-08-12 17:39:16 -04:00
fake_identity.py Enable H407,H305,H307,E122 ignore E123 2014-08-12 17:39:16 -04:00
test_auth.py Use python abc in auth class 2014-07-23 20:50:49 +02:00
test_credentials.py Drop ComputeAdmin configs, credentials and manager 2014-12-30 09:49:18 +00:00
test_decorators.py Fix use of code name in services decorator 2014-09-25 10:16:08 -04:00
test_glance_http.py Enable E128 ignore E129 2014-08-13 17:50:55 -04:00
test_hacking.py Fix doc for usage of python clients in scenario tests 2014-11-26 17:04:37 +09:00
test_list_tests.py printout testr tests that fail 2015-01-06 17:14:54 -05:00
test_rest_client.py Merge "Separate NegativeRestClient from rest_client" 2015-01-07 06:23:16 +00:00
test_ssh.py Merge "Fix calls to mock.assert_not_called()" 2014-07-01 13:05:21 +00:00
test_tenant_isolation.py Change v2 identity client methods to return one value 2015-01-06 09:10:47 -05:00
test_waiters.py Revert "Add tests for wait_for_server_status" 2014-07-22 18:39:13 +00:00
test_wrappers.py Switch to using subunit-trace from tempest-lib 2014-10-23 15:07:49 +00:00

README.rst

Tempest Field Guide to Unit tests

What are these tests?

Unit tests are the self checks for Tempest. They provide functional verification and regression checking for the internal components of tempest. They should be used to just verify that the individual pieces of tempest are working as expected. They should not require an external service to be running and should be able to run solely from the tempest tree.

Why are these tests in tempest?

These tests exist to make sure that the mechanisms that we use inside of tempest to are valid and remain functional. They are only here for self validation of tempest.

Scope of these tests

Unit tests should not require an external service to be running or any extra configuration to run. Any state that is required for a test should either be mocked out or created in a temporary test directory. (see test_wrappers.py for an example of using a temporary test directory)