2015-12-23 17:00:10 +01:00
|
|
|
# STEPS TO START DEVELOPING TESTS LOCALLY
|
|
|
|
- install virtualenv
|
|
|
|
- generate environment using virtualenv:
|
|
|
|
# cd $ROOT
|
|
|
|
# virtualenv env
|
|
|
|
# source env/bin/activate
|
|
|
|
- install python requirements for this project by executing:
|
|
|
|
# pip install -r requirements.txt
|
|
|
|
- make sure user mentioned in topology.py has NOPASSWD sudo access to
|
2016-01-20 13:45:36 +01:00
|
|
|
vpp_api_test
|
2015-12-23 17:00:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
Done.
|
|
|
|
|
|
|
|
# STEPS TO START THE TESTS
|
|
|
|
export PYTHONPATH=.
|
|
|
|
pybot -L TRACE -V resources/libraries/python/topology.py tests
|