-
Notifications
You must be signed in to change notification settings - Fork 10
Run behave tests in Parallel
Vishal edited this page Dec 7, 2015
·
2 revisions
Welcome to the behave_parallel_demo wiki!
##Works exact steps on Ubuntu:
- Clone this repo
- Goto to root of the project
- Create a virtual evn
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
###Run Features in parallel
/usr/bin/time behave --processes 5 --parallel-element feature
###Run Scenario in parallel
/usr/bin/time behave --processes 5 --parallel-element scenario
###How I run feature:
/usr/bin/time behave --processes "${PROCESS_COUNT}" --parallel-element feature --junit --junit-directory=xmlrunner -v -t "${TAGS_LIST}" -f rerun -o rerun.txt -f plain -T --no-skipped --tags=~@xfail features/
###How I run Scenario:
/usr/bin/time behave --processes "${PROCESS_COUNT}" --parallel-element scenario --junit --junit-directory=xmlrunner -v -t "${TAGS_LIST}" -f rerun -o rerun.txt -f plain -T --no-skipped --tags=~@xfail features/