Install required dependencies:
pip install -r requirements.txtFor development (including testing):
pip install -r requirements.txt
pip install -r requirements-dev.txtTo run each day's solution:
python -m day_1.day_1
python -m day_2.day_2Run all tests:
python -m pytestRun tests with coverage report:
python -m pytest --cov=. --cov-report=term-missingRun tests for a specific day:
python -m pytest day_1/test_solutions.pyRun tests for a specific day with coverage:
python -m pytest day_1/ --cov=day_1 --cov-report=term-missingRun tests in verbose mode:
python -m pytest -vrequests- For fetching puzzle input from adventofcode.comparsy- Parser combinator library for parsing puzzle input
pytest- Testing frameworkpytest-cov- Coverage reporting for pytest