Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 580 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 580 Bytes

Vending Machine project

This is a uni project for Python class.

Setting up development environment

Ensure you have Python 3 and pytest isntalled, and run the following commands to set up the development environment:

python3 -m venv venv
source ./venv/bin/activate

How to run

With the development environment already set up, run the following command to use the vending machine:

python main.py

How to run tests

With the development environment already set up, run the following command to run all tests:

python -m pytest