brew install python
pip install behave, selenium, ipdb, behave2cucumber
- https://github.com/mozilla/geckodriver/releases
- uncompress and move to
/usr/local/bin
npm install cucumber_reports
- cd into dir containing
Features
directory- e.g.
cd ~/Projects/Dixon-tests/Examples
- e.g.
- Run behave test suite
touch dixon-results.json
behave --format json > dixon-results.json
- Clean behave test result json
python -m behave2cucumber -i Features/dixon-results.json -o Features/dixon-results-clean.json
- Generate prettified html report
node cucumber_reports/generateReport -f Features/dixon-results-clean.json
#Diego Testing ™
brew install python
pip install behave, selenium, ipdb, behave2cucumber
- https://github.com/mozilla/geckodriver/releases
- uncompress and move to
/usr/local/bin
npm install cucumber_reports
- cd into dir containing
Features
directory- e.g.
cd ~/Projects/Dixon-tests/Examples
- e.g.
- Run behave test suite
touch dixon-results.json
behave --format json > dixon-results.json
- Clean behave test result json
python -m behave2cucumber -i Features/dixon-results.json -o Features/dixon-results-clean.json
- Generate prettified html report
node cucumber_reports/generateReport -f Features/dixon-results-clean.json