A sample command line application exploring the click command application library for unit tested commands.
The testing documentation in the click project how to perform integration testing of commands.
This sample application explores where you only care about testing the command functions directly. It is written in the latest and greatest Python3.
Install the application by cloning this repository with the following command.
git clone git@github.com:osule/me-cleeks.git
Then install the application dependencies.
pip install -r requirements.txt
Run the unit tests for the commands.
pytest tests
Finally, run the application in your terminal with:
python cli.py