Great idea. Would love to see this implemented.
> Finally, work is being done on the API to make it easier for devs to
> store and retrieve models using pickle. The method names we're
> looking at are longer, but more explicit. e.g.
> retrieve_from_scenario("3rd user") #=> raises ModelUnknown if it
> can't be found
> store_in_scenario(User.make, :label => "Fred") #=> stores the model
> with the label
I've been meaning to email you about this (storing models) for weeks now as we've been hacking around this in our own step definitions that don't utilize the standard pickle "Given X exists" step(s). Having true support for storing models inside the pickle scenario/session would be wonderful.
Excited about the new ideas you've got. Let me know if you want/need help on any of this.
> You received this message because you are subscribed to the Google Groups "pickle" group.
> To post to this group, send email to pickle-...@googlegroups.com.
> To unsubscribe from this group, send email to pickle-cucumb...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pickle-cucumber?hl=en.