Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 570 Bytes

File metadata and controls

11 lines (7 loc) · 570 Bytes

TDD Stack Example for CS35L

An example to show how Test-Driven Development is used to create a stack in Python

To observe the experience of running TDD in your own IDE, open tests/test_main.py in one window and src/my_stack/my_stack.py in another simultanous window.

If you do not have pipenv installed on your machine, run pip install pipenv.

Then run pipenv shell to enter the virtual environment for of pipenv. Then run ./git_init.py to start the experience. Then run ./git_next.py whenever you want to skip to next step. Run pytest to run tests.