ank=True in model).
~David
On Mar 15, 4:55 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> On the users list, Gijs <[EMAIL PROTECTED]> has raised the idea
> of dynamic fixtures. For example, Rails allows the use of embedded
> Ruby in afixtur
On Fri, 2007-03-16 at 11:05 +0900, Russell Keith-Magee wrote:
> On 3/16/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > When I was talking about using the serialisation framework before, I
> > wasn't actually thinking of going via the database: just serialising
> > using the lower-level
Russell Keith-Magee wrote:
> Hi all,
>
> On the users list, Gijs <[EMAIL PROTECTED]> has raised the idea
> of dynamic fixtures.
Well, I hate to pitch my own project, but consider my NonMockObjects:
http://www.jerf.org/programming/nonMockObjects.html
API docs. explanatio
On 3/16/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> When I was talking about using the serialisation framework before, I
> wasn't actually thinking of going via the database: just serialising
> using the lower-level stuff from dictionaries or whatever. Admittedly
> some helper functions
Personally, I do think there would be some benefit in this type of
behavior. Trying to create a bunch of test data can be a pain. For
instance, you can do it programmatically with Python but then you end
up with the cycle of :
- Populate data from scripts
- Dump to a serialized form
- Load into
On Fri, 2007-03-16 at 09:44 +0900, Russell Keith-Magee wrote:
> On 3/16/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > > would define a fixture with 1000 instances of an object.
> >
> > I have to ask a dumb question first: what is this sort of thing useful
> > for? More importantly, why
On 3/16/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > would define a fixture with 1000 instances of an object.
>
> I have to ask a dumb question first: what is this sort of thing useful
> for? More importantly, why can't it be done by using existing our
> existing serialisation framework
Hey Russ,
On Fri, 2007-03-16 at 08:55 +0900, Russell Keith-Magee wrote:
> Hi all,
>
> On the users list, Gijs <[EMAIL PROTECTED]> has raised the idea
> of dynamic fixtures. For example, Rails allows the use of embedded
> Ruby in a fixture file, so that:
>
> <% f
Hi all,
On the users list, Gijs <[EMAIL PROTECTED]> has raised the idea
of dynamic fixtures. For example, Rails allows the use of embedded
Ruby in a fixture file, so that:
<% for i in 1..1000 %>
fix_<%= i %>:
id: <%= i %>
name: guy_<%= 1 %>
<% end %&g