The Pytest is similar to unit testing framework by which we can test our code by writing test cases.
This poc includes testing of :
1. Login
2. Registraion
3. Logout
4. Forget password
I use pytese-django for testing in Django.
You will need the following programmes properly installed on your computer.
Python 3.7+
clone the repository
git clone https://github.com/ongraphpythondev/pytest_poc.git
cd pytest_poc
create a vertual environment
python3 -m venv .venv
.venv/bin/activate.bat
install required packages
pip install -r requirements.txt
running
pytest