This is an educational public repository to illustrate the power of automated testing through Github Actions.
python -m venv venv
pip install -r requirements.txt
python -m pytest
python app.py
app.py: A flask application that exposes the following API endpoints:
balance
) to store the balance of the account.requirements.txt: A text file including all the Python libraries and packages needed to run the app.
.gitignore: Refer to the gitignore article for more details. In short, this file makes it possible that local configuration or binary files are not pushed to the repository.
tests: It's a directory that includes several unit tests for the APIs. The tests utilize the PyTest library.