This is a small project of test automation for some functionality of https://reddit.com
- Install Python version >=3.8 and all dependencies via maven.
- Setup account on MailSlurp (dummy emails).
- Register client on Reddit with email from previous step.
- Get client_id and client_secret after creating a script app here and put them with other data to bot1 section in praw.ini file.
- Clone repo and install requirements:
pip install -r requirements.txt
In terminal from project path execute:
python -m pytest -v tests\
PRAW library - https://praw.readthedocs.io/en/stable/
Pytest docs - https://docs.pytest.org/en/7.1.x/