Files
python-glanceclient/glanceclient/tests/functional
Takashi NATSUME 90b7dc4141 Update path to subunit2html in post_test_hook
Per:

http://lists.openstack.org/pipermail/openstack-dev/2015-August/072982.html

The location of subunit2html changed on the images in the gate
so update the path used in the post_test_hook.

Long-term we should just use what's in devstack-gate.

Change-Id: I142b3c0590ba2fa880973b0ee306ebd1db27fd03
Closes-Bug: #1491646
2015-09-04 10:29:01 +09:00
..
2015-04-18 17:43:01 +00:00
2015-07-21 17:08:27 +03:00
2015-04-18 17:43:01 +00:00

=====================================
python-glanceclient functional testing
=====================================

Idea
------

Run real client/server requests in the gate to catch issues which
are difficult to catch with a purely unit test approach.

Many projects (nova, keystone...) already have this form of testing in
the gate.


Testing Theory
----------------

Since python-glanceclient has two uses, CLI and python API, we should
have two sets of functional tests. CLI and python API. The python API
tests should never use the CLI. But the CLI tests can use the python API
where adding native support to the CLI for the required functionality
would involve a non trivial amount of work.


Functional Test Guidelines
---------------------------

* Consume credentials via standard client environmental variables::

    OS_USERNAME
    OS_PASSWORD
    OS_TENANT_NAME
    OS_AUTH_URL

* Try not to require an additional configuration file