Re: Improving test data experience

2011-11-30 Thread Jeremy Dunck
On Wed, Nov 30, 2011 at 2:26 PM, Adrian Holovaty wrote: > Just to be clear, how would you get the "diff" of what's changed? > Would it automatically change the fixture files after you close the > shell session? Or would that be up to you? Yes, I was thinking of catching SystemExit, KeyboardI

Re: Improving test data experience

2011-11-30 Thread Jeremy Dunck
On Wed, Nov 30, 2011 at 11:30 PM, Aymeric Augustin wrote: ... > In my current job we're using https://github.com/rbarrois/factory_boy, we've > dropped all but the most trivial fixtures (sites, languages, an admin user), > and we haven't looked back. Nifty, thanks. -- You received this message

Re: Improving test data experience

2011-11-30 Thread Aymeric Augustin
On 30 nov. 2011, at 23:26, Adrian Holovaty wrote: > On Wed, Nov 30, 2011 at 4:22 PM, Jeremy Dunck wrote: >> 1) expand on the testing guide to present fixtures as one option >> for test data and point out the options to script fixture generation >> or avoiding fixtures in favor of TestCase-calle

Re: Improving test data experience

2011-11-30 Thread h3
It might just be a crazy idea .. but sometimes I wish something like this existed: https://gist.github.com/1414209 On Nov 30, 10:36 pm, Ned Batchelder wrote: > On 11/30/2011 5:22 PM, Jeremy Dunck wrote: > > > > > > > > > Hi all, > >    I've got a codebase with a fair bit of fixtures and have bee

Re: Improving test data experience

2011-11-30 Thread Ned Batchelder
On 11/30/2011 5:22 PM, Jeremy Dunck wrote: Hi all, I've got a codebase with a fair bit of fixtures and have been experiencing some pain around it. One of the pains is migrating the format of fixtures when a schema change occurs. I posted a thread to south-users to discuss the idea of ad

Re: Improving test data experience

2011-11-30 Thread Adrian Holovaty
On Wed, Nov 30, 2011 at 4:22 PM, Jeremy Dunck wrote: >   1) expand on the testing guide to present fixtures as one option > for test data and point out the options to script fixture generation > or avoiding fixtures in favor of TestCase-called generation, > discussing tradeoffs in the approaches

Re: Improving test data experience

2011-11-30 Thread Alex Gaynor
On Wed, Nov 30, 2011 at 5:22 PM, Jeremy Dunck wrote: > Hi all, > I've got a codebase with a fair bit of fixtures and have been > experiencing some pain around it. One of the pains is migrating the > format of fixtures when a schema change occurs. > > I posted a thread to south-users to discuss

Improving test data experience

2011-11-30 Thread Jeremy Dunck
Hi all, I've got a codebase with a fair bit of fixtures and have been experiencing some pain around it. One of the pains is migrating the format of fixtures when a schema change occurs. I posted a thread to south-users to discuss the idea of adding a feature to aid applying migrations to fixt