Python pytest or Making Django Use Pytest

Posted on Sat 18 April 2020 in Posts • Tagged with python, testing, pytest, unittest, django

How to make Django's use Pytest instead of the default test runner

Continue reading

Py.test Basics

Posted on Fri 27 April 2018 in Posts • Tagged with python, testing, pytest, unittest

Learning some of the basics of Py.test

Continue reading

Python Tip of the Day - subTest!

Posted on Sat 23 September 2017 in Posts • Tagged with pythonTipOfTheDay, testing, unittest, python

Coming from a jUnit background, one of the things I always missed with the vanilla Python unitttest library was parameterized tests.  Oftentimes when writing unit tests for a particular unit you find yourself writing effectively the same test over and over again, but with different inputs. Wouldn't it be nice …

Continue reading