Plugin to create dashboard view report for pytest (no code changes)
Sample Report - link
Best viewed in desktop
- Dashboard view of results
- Suite/Class level statisitics
- Search and Pagination of results
- Export results to csv, excel and can save as pdf
- Easy to share results
- Free to use
- Get execution details using
hookslink - Create pytest-metrics report &
- Saves in current folder
-
Install
pytest-metricsCase 1: Using pip
pip install pytest-metricsCase 2: Using
setup.py(clone repo and run command in root)python setup.py installCase 3: Install from git (changes in master)
pip install git+https://github.com/adiralashiva8/pytest-metrics -
Enable
metrics-reportwhile executing testspytest --menable=TrueDefault value of
--menableisFalse -
Report with created after execution
Note:
-
Customize logo by using following command
pytest --menable=True --mlogo="https://www.mycompany/logo.png" -
Append timestamp to metrics report
pytest --menable=True --mtimestamp=True
Thanks for using pytest-metrics!
If you have any questions / suggestions / comments on this, please feel free to reach me at
- Email:
adiralashiva8@gmail.com - LinkedIn:
shivaprasadadirala - Twitter:
@ShivaAdirala
Found issue report here
Credits
Pytest-metrics uses above items to create report
Special Thanks To
Feedback & Suggestions
⭐ repo if you like it
Inspired from robotframework-metrics