mblarsen/fFixture — Issue #2: Recording seeding/filling
Author: mblarsen
Created: 2012-02-28 16:29:39+00:00
State: open
Labels: enhancement

We are currently using this to provide a base dataset for our unit tests. For some tests we need very diverse data which is hard to create and manage, so I'm thinking to add seeding like functionality where you can add partial specifications and then have the class fill in the missing parts based on the schema.

It could be a compact format like this one inspired by zen-coding:

products*3>offerings[price:10..20]*3

or something more verbose using nested arrays.

I can provide more examples on request.

Do you find this useful?