Python 3.11
[requirements.txt]requirements.txt
[test_cases.py]test_functionality.py
For testing we are using pytest.
We are only checking if main functionality returns correct statistics for each given case.
Fill in bot token in [credentials.py]credentials.py, then add 'sampleDB' in project structure (directory from Mongo 'dump').
docker volume create --name database
docker network create -d bridge container_network
docker compose up -d
<- wait for startpip3.12 install --upgrade pip && pip3.12 install -r requirements.txt
python3.12 entry_funcionality.py
python3.12 bot.py
Run pytest
in root directory of the project