In this post, you will learn how to install and use Nose, a tool for running your tests in Django. You’ll learn how to run and configure Coverage, so that it reports only the packages and directories of interest. And also, you’ll learn how to install and use Factory Boy in your tests (an alternative…
Tag: Testing
Django testing: Doctests and Unittests
In this post, I introduce testing in Django and discuss the two common ways of performing tests: using Doctests and using the library unittest. You’ll learn how to start writing your first test as well as the main differences between these two ways of testing. Note: this post uses the old Test Suit, used in…