Simplified Django Tests With Pytest and Pytest FactoryBoy
Lately, I’ve been bothered by the amount of boilerplate on my Django application’s test code. So, I decided to do some research and look for alternatives. On this blogpost I will take about pytest, factoryboy and how they can be combined.
Making your Django tests faster
Tests need to be fast. If tests are slow, our development process is affected and we end up spending a considerable amount of time waiting for the results. On this blogpost I will go through some of the techniques that I’ve applied to speed up tests on Django applications.