From 5732ef02e894f5af2ff20decb69cb82c201d4d10 Mon Sep 17 00:00:00 2001 From: colevandersWands <18554853+colevandersWands@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:51:48 -0500 Subject: [PATCH] add running with modules to prep work --- 3_documenting_and_testing/prep_work.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/3_documenting_and_testing/prep_work.md b/3_documenting_and_testing/prep_work.md index 29ef85f..0467757 100644 --- a/3_documenting_and_testing/prep_work.md +++ b/3_documenting_and_testing/prep_work.md @@ -10,4 +10,7 @@ Familiarize yourself with these resources for understanding and discussing code - Read through [Behavior, Strategy, Implementation](./behavior_strategy_implementation.md) - Read through the [Code Review Checklist](./code_review_checklist.md) -- Study and run the [`/examples`](./examples/) +- Study and run the [`/examples`](./examples/). Practice using these commands with `fibonacci_list.py` and `tests/test_fibonacci.py`: + - print the docstring: `$ python -m pydoc path/to/file.py` + - run the doctests: `$ python -m doctest -v path/to/file.py` + - run the tests using `$ python -m unittest path/to/tests/test_file.py`