Let's say we've got an idea for a third party application for Django. We've written all the code. We've run it against a small Django project in order to test it. Now we are ready to release it to PyPI for others to use. But we need to make sure our manual tests are actually translated into automatic ones. This article shows how you can do that.
In this article we explore how to improve our Django tests using fakes & factories, generating random values & model instances.
In this article we explore the python mocking library & how this can help us write better unit tests.