Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
doc: Updated bdd examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcrow authored and mbarnes committed Mar 3, 2017
1 parent 095017a commit 486b502
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
11 changes: 9 additions & 2 deletions doc/examples/run_e2e_bdd_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@
(virtualenv)$ behave -D start-all-servers
...
.. note::

you can pass ``-D commissaire-server-args=""`` to append server arguments when starting the server from behave.


or via ``tox``

.. code-block:: shell
(virtualenv)$ tox -e bdd
...
You can also run the tests against any commissaire/etcd instance directly.

.. warning::
Expand All @@ -32,7 +39,7 @@ If you are using our :ref:`vagrant` set up you can use the ``use-vagrant`` argum

.. code-block:: shell
(virtualenv)$ vagrant up
(virtualenv)$ ./tools/vagrantup
...
(virtualenv)$ behave -D use-vagrant
...
Expand Down
9 changes: 9 additions & 0 deletions doc/examples/run_e2e_bdd_with_tags_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ slow:
-D etcd=http://127.0.0.1:2379 \
-D bus-uri=redis://127.0.0.1:6379
...
The same thing using the ``./tools/behave`` script:

.. code-block:: shell
# Set up ...
(virtualenv)$ ./tools/behave -t create,~slow
...

0 comments on commit 486b502

Please sign in to comment.