CSIT-114: Eliminate repeated download of PIP packages
[csit.git] / README
1 # STEPS TO START DEVELOPING TESTS LOCALLY
2  - install virtualenv
3  - generate environment using virtualenv:
4     # cd $ROOT
5     # virtualenv --system-site-packages env
6     # source env/bin/activate
7  - install python requirements for this project by executing:
8     # pip install -r requirements.txt
9  - make sure user mentioned in topology.py has NOPASSWD sudo access to
10     vpp_api_test
11
12
13  Done.
14
15 # STEPS TO START THE TESTS
16 export PYTHONPATH=.
17
18 # create topology, edit ip addresses
19 cp topologies/available/topology.yaml.example topologies/available/topology.yaml
20 ln -s ../available/topology.yaml topologies/enabled/topology.yaml
21
22 pybot -L TRACE -v TOPOLOGY_PATH:topologies/enabled/topology.yaml tests
23  or
24 ./main.py -t topologies/enabled/topology.yaml -i test_tag
25  or
26 ./main.py
27
28
29 # Dependencies on Nodes
30
31  - virtualenv
32  - pip
33  - python2.7
34  - python-dev package
35

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.