Prerequisite are taken care of by using an function scoped pytest fixture and actual test is performed inside test_ definition
- python3 as programming language
- pytest versatile test framework for python
- pytest-html plugin for generation of HTML reports for pytest tests
- requests for working with different HTTP methods
- json
- test code is scalable
- used to connect to API that uses HTTP Basic Authentication
git clone [email protected]:rupesharlekar/plivo.api.git && cd plivo.api
pip install -r requirements.txt
cd ../plivo.api/src/tests/functional
pytest -vs test_messaging.py -m functional