Oct 24 2014

From fixtures to factories: Updating testing code from manual data fixtures to Fixture Boy

published by aliteralmind
in blog aliteralmind -- Computer Programming Blog » django
original entryFrom fixtures to factories: Updating testing code from manual data fixtures to Fixture Boy

django fixture boy fixtures programming python technology testing

In part one of my Django authentication/testing tutorial, the testing code originally contained a manually-created fixture of test users, including a function to directly save one to the database. For the purpose of the authentication tutorial, manual fixtures are just fine. In the real world, they should be avoided. As described in Carl Meyer’s excellent […]

Tag cloud


Social Sharing

Feeds