﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3735	Add the ability for fixtures to be dynamic	Russell Keith-Magee	Russell Keith-Magee	"Gijs <gijs.nijholt@gmail.com> raised the idea of dynamic fixtures. These are available in Rails; Rails fixture files (in YAML) can have embedded Ruby commands in them, so:

{{{
<% for i in 1..1000 %> 
fix_<%= i %>:
  id: <%= i %>
  name: guy_<%= 1 %>
<% end %> 
}}} 

would define a fixture with 1000 instances of an object.

Django fixtures would benefit from having a similar capability. Using ERb is out of the question, but the Django template system could be a candidate for providing logic to _any_ fixture format.
"		closed	Testing framework	dev		wontfix			Design decision needed	0	0	0	0	0	0
