An exercise highly focused on clean Python code, design patterns and proper git handling
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The project is fully based on Python 3.7
Following library dependencies for the python code can be found in requirements.txt
.
pytest
click
You can install these with pip install -r requirements.txt
.
- Clone the project with
git clone
- Install the prerequisites as in the previous section
- Enjoy the properly configured development environment
- Go to a directory one level above the project root directory
- Run
python python_coffee_machine
- Enjoy the interaction with the coffee machine
- Go to the project root directory
- Run
python __main__.py
- Enjoy the interaction with the coffee machine
- Go to the project root directory
- Run
pytest
in your console or terminal - Enjoy the green bar indicating all tests passed
This project is licensed under the MIT License - see the LICENSE.md file for details