poppy/tests/endtoend
Malini Kamalambal 9370ac5898 Update test requirements.
This removes the python-heatclient dependency, which is no longer
needed by the tests. This also removes a heat template which is no
longer used by the end to end tests.

Change-Id: I8b7640614bd2f49847cdef7232c3677591f6c7e8
2016-04-11 15:21:07 -04:00
..
utils Add ability to authenticate with an account password 2016-03-28 17:01:42 -05:00
README.rst End To End Test Updates 2015-04-01 10:54:05 -04:00
__init__.py Adds End To End Tests 2014-12-12 12:19:02 -05:00
base.py Add ability to authenticate with an account password 2016-03-28 17:01:42 -05:00
test_caching.py Update E2E tests. 2015-09-14 12:40:18 -04:00
test_cdn_website.py Updates to make end to end tests green. 2016-01-18 14:03:08 -05:00
test_geo_restrictions.py E2E tests for geo restrictions. 2015-09-10 10:49:44 -04:00
test_host_headers.py Stabilize E2E Tests. 2015-09-10 10:35:55 -04:00
test_ip_restrictions.py Adds ipv6 & cidr to ip restrictions end to end tests. 2015-10-07 10:15:34 -04:00
test_multiple_origin.py End To End tests for multiple origin 2015-11-10 12:43:29 -05:00
test_origin_headers.py Stabilize E2E Tests. 2015-09-10 10:35:55 -04:00
test_purge.py Adds troubleshooting info 2015-09-23 11:47:46 -04:00
test_referrer_restriction.py Add E2E test for blacklisting referers. 2015-08-26 12:32:50 -04:00
test_ssl_enabled.py Stabilize E2E Tests. 2015-09-10 10:35:55 -04:00

README.rst

API Tests

The end to end tests are black box tests, aimed to simulate real world user scenarios.

To run the tests

  1. Install the dependencies:

    pip install -r requirements.txt
    pip install opencafe
  2. Set the following environment variables:

    export CAFE_CONFIG_FILE_PATH=~/.poppy/endtoend.conf
    export CAFE_ROOT_LOG_PATH=~/.poppy/logs
    export CAFE_TEST_LOG_PATH=~/.poppy/logs

3. The API tests require a running database (eg cassandra), in order to run via tox.

  1. Copy the api.conf file to the path set by CAFE_CONFIG_FILE_PATH:

    cp tests/etc/endtoend.conf ~/.poppy/endtoend.conf
  2. Set pyrax config file ~/.pyrax.cfg (See https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#pyrax-configuration)

  3. Once you are ready to run the tests:

    cd tests/endtoend
    nosetests