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:
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:
or something more verbose using nested arrays.
I can provide more examples on request.
Do you find this useful?