Majic Projects
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
icon_project.png Conntrackt / Closed Enhancement CONNT-18 Switch to using factory_boy instead of fixtures for testing
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue basics
  • Type of issue
  • Category
    Not determined
  • Targetted for
  • Status
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
  • Resolution
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Current tests are using the fixtures for generating test data. This causes a couple of problems:

* In case of database schema updates, fixtures need to be regenerated manually.
* Adding new data is a tedious-repetative 5-step process (dump db, syncdb, load fixtures, update, dump fixtures)

Instead of using fixtures, it would be better to use factory_boy that is well tailored for creating sample data:
Todos (0 / 0)
Issue created