"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/source/contributor/running_tests.rst" between
zaqar-5.0.0.tar.gz and zaqar-7.0.0.tar.gz

About: OpenStack Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers.
The "Rocky" series (latest release).

running_tests.rst  (zaqar-5.0.0):running_tests.rst  (zaqar-7.0.0)
skipping to change at line 140 skipping to change at line 140
To run functional tests in non-integration mode, execute: To run functional tests in non-integration mode, execute:
.. code-block:: console .. code-block:: console
$ tox -e py27 zaqar.tests.functional $ tox -e py27 zaqar.tests.functional
Using a custom MongoDB instance Using a custom MongoDB instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you need to run functional tests against a non-default MongoDB installation, If you need to run functional tests against a non-default MongoDB installation,
you can set the ``ZAQAR_TEST_MONGODB_URL`` environment variable. For example: you can set the ``ZAQAR_TEST_MONGODB_URL`` and ``ZAQAR_TEST_MONGODB``
environment variables. For example:
.. code-block:: console .. code-block:: console
$ export ZAQAR_TEST_MONGODB=True
$ export ZAQAR_TEST_MONGODB_URL=mongodb://remote-server:27017 $ export ZAQAR_TEST_MONGODB_URL=mongodb://remote-server:27017
Using custom parameters Using custom parameters
^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
You can edit default functional test configuration file You can edit default functional test configuration file
``zaqar/tests/etc/functional-tests.conf`` according to your needs. ``zaqar/tests/etc/functional-tests.conf`` according to your needs.
For example, you want to run functional tests with keystone authentication For example, you want to run functional tests with keystone authentication
enabled, input a valid set of credentials to ``[auth]`` section in enabled, input a valid set of credentials to ``[auth]`` section in
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)