Simple hangman app
For replit use: All these commands can be followed sequentially in the replit shell as well.
Before you can run the app, make sure to run this command:
pip install -r requirements.txt
If you have multiple versions of python installed, you may need to use pip3
instead
pip3 install -r requirements.txt
To start the game:
python main.py
To run all the tests:
python -m unittest
To run the subset of tests in the directory e.g. hangman
python -m unittest discover -s hangman
To run the specific test file
python -m unittest <path_to_file>
e.g.
python -m unittest hangman/test/test_startup.py