Jump to: navigation, search

Poppy/Provider - Getting Started/Poppy API Tests

Running API Tests

API tests for Poppy are run using Tox

We highly recommend running the api tests using Docker, as the docker file will provision a Cassandra storage backend, while keeping your system clean.

There is some initial setup involved.

  1. Create a fig_local.yaml file. # this link is invalid
  2. Update fig_local.yam with the appropriate configuration values for your provider driver. # the file could not be found in poppy project
  3. Your local volume of Poppy will be mounted into your container. Make sure your local ~/.poppy/poppy.conf file is updated with your provider references.
  4. Update your local ~/.poppy/tests.conf file to reference your provider for any flavors created/used by the tests.


Once you have docker installed (or boot2docker if using MacOSX or Windows), run the following command from your /poppy folder:

 $ tox -e apidocker api


This will run the api tests against your docker instance.

If all tests are passing, it means the Poppy API has been able to successfully communicate with your API.

# comments start with # are added by leon(ctxiongg@gmail.com)
# couldn't find a bug report button, so i did this
# appologize if any misleading