DEV Community

Petar Pilipovic
Petar Pilipovic

Posted on

Testing Models, ModelMangers in Django

Hello all, I'm a bit shocked on the lack of example on how to test models and model managers in Django.

I tried to found out some nice examples on this topic, and I found it a bit challenging to found it out.

For example there is this nice blog post from Brad Montgomery, also this article from Matt J Morrison and that is it, don't get me wrong they are nice but a bit outdated.

Perhaps the best one so far is this Advanced user inheritance with Django example.

I know Django provides nice documentation on how to run tests, but I like to check other people examples.

Where and how you guys found example on the testing when you need it?


Top comments (0)