Intro To Test Driven Development In Python Part 1


Is there a way to shave years off of the trial and error implementing Agile?
Find Out Now.


This tutorial covers the basics of writing simple unit tests for a Python function. In this case, we create a calculateBMI() function and create some tests for various values. It is intentionally incomplete for my students, because I want them to write a full set of unit tests on their own.

This is enough to get you started.

Related posts: