This is a ready-to-use framework template with integrated libraries and project structure for implementing automated REST API tests using Gherkin (Behave) and the JSON Model Pattern (similar to the Page Object Model). The framework also includes integrated OAUTH2 implementation.
Feel free to adapt it into your project.
python -m venv PyREST
PyREST\Scripts\activatepython -m venv PyREST
source PyREST/bin/activatepip install -r requirements.txtpip install -e .You can verify that the installation was successful by running a test or a sample script.
python -m unittest discover testsTo run the tests, make sure your virtual environment is activated, then run:
behave- Ensure you have Python 3.8 or newer installed.
- For any issues, please create an issue on the GitHub repository.