This project serves as a common location for all assignments generated via the discover app for programming.
As Test-Driven Development (TDD) is the underlying theme, every assignment will have a corresponding test that must pass for the assignment to be considered complete.
python-programming-assignments/
βββ src/ # Source code directory for assignments
βββ tests/ # Unit tests for assignments
βββ requirements.txt # Python dependencies
βββ README.md # This file
-
Run the test file copied as part of the assignment:
python3 -m unittest tests/<test-file-name>
π‘ On the first run, all tests will fail β this is expected.
-
Modify the assignment files under
src/to implement your solution. -
Repeat steps 1 & 2 until all tests pass.
python3 -m unittest discover- Python 3.8+
- pip (Python package installer)