See walkthrough-slides.pdf and walkthough-script.md in this directory for the individual steps.
In this repository each step is tagged so you can move through the example by checking each step out as you get to it. For example:
git checkout step-1
Tags are named step-n
, where 1 <= n <= 8
.
-
Add the 'src' directory to the python library search path:
export PYTHONPATH=`pwd`/src
-
Run the tests:
python test/test_fibonacci.py
-
Open up the project properties and add the 'src' directory to its
PYTHONPATH
. How you do this will depend on which plugin you are using for python development within Eclipse. -
Right-click on 'test_fibonacci.py' in the 'test' directory and select 'Run As -> Python Unit Test'. Again this may differ depending on which plugin you are using.