CI Provider | Build Status | Time Taken(Approx) |
---|---|---|
Github Actions | 40+ Sec Github Status | |
Azure DevOps | 31+ Sec Azure Stats | |
Travis | 33+ Sec Travis Status |
How what want to manage virtual env but make sure you are following these steps
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
pip install git+git://github.com/hugeinc/behave-parallel.git@a57eff3087aae9bd7519a7d4fc15228611db20b9#egg=behave-parallel --upgrade
### Super importent
##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
pip install git+git://github.com/hugeinc/behave-parallel.git@a57eff3087aae9bd7519a7d4fc15228611db20b9#egg=behave-parallel --upgrade
### Super importentpip freeze
###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/
Actual Source:
https://github.com/vishalm/behave-parallel/blob/upstreamsync/README.md