learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

Implement Anonymized Data Fixtures #1256

Open ghost opened 10 years ago

ghost commented 10 years ago

Currently, unit testing has been complicated by the fact that it is cumbersome to generate realistic data for various complex model relationships. This process can be improved by using a realistic test fixture that represents real world data. A likely solution is to use https://pythonhosted.org/django-anonymizer which can be used to prepare a dump that is has been stripped of sensitive data.

pricem commented 10 years ago

Does anyone have ideas on the use cases and requirements/goals for this? I have mostly been thinking of it as a way to improve access to dev servers for outside developers (by making anonymized copies of production databases publicly available), but that may not be the only way to look at it.

Joel has been experimenting with the anonymizers in the jlegris_bugfixes branch, by the way.