Skip to content

Commit bc20535

Browse files
committed
[FAB-4930] Update README to use python 2.7
The behave system tests need to be executed using python 2.7. There are currently package incompatibility issues using python 3.5 with google protobuf. Also added details for how to work around this and use the virtualenv setup that is specified in the bddtests/README.md file. Change-Id: Ib75d2bdb40a3f1c03481f63a79991da98b01199c Signed-off-by: Latitia M Haskins <[email protected]>
1 parent 279fe26 commit bc20535

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

test/feature/README.rst

+14-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following are links to the Jenkins execution of these tests:
3232
Pre-requisites
3333
--------------
3434
You must have the following installed:
35-
* `python`_
35+
* `python`_ (You must have 2.7 due to package incompatibilities)
3636
* `docker`_
3737
* `docker-compose`_
3838

@@ -72,6 +72,19 @@ You should also clone the following repositories
7272
.. _hyperledger-fabric: https://github.com/hyperledger/fabric
7373
.. _hyperledger-fabric-ca: https://github.com/hyperledger/fabric-ca
7474

75+
================
76+
Using VirtualEnv
77+
================
78+
It is also possible to execute these tests using `virtualenv`_. This allows for you to control your environment and ensure that the version of python and any other environment settings will be exactly what is needed regardless of the environment of the native machine.
79+
80+
.. _virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/
81+
82+
There are instructions for setting up a virtualenv for executing behave tests located at ``bddtests/README.md``. Once these steps are completed and you have successfully setup the ``behave_venv`` virtual environment, execute the following before executing these behave tests.
83+
84+
::
85+
86+
$ workon behave_venv
87+
7588

7689
Getting Started
7790
---------------

0 commit comments

Comments
 (0)