Re: [rspec-users] Loading numerous data structures from YAML files

2010-01-04 Thread Paul Hinze
Peter Hicks on 2010-01-02 at 16:13: > Hi Phillip > > Phillip Koebbe wrote: > >> Have you read about fixtures? It sounds like just what you're looking >> for. > > I'm using fixtures already - they're great. I can't find a way to load a > specific fixture in to a table. If I could do that, I coul

Re: [rspec-users] Loading numerous data structures from YAML files

2010-01-02 Thread Peter Hicks
Hi Phillip Phillip Koebbe wrote: Have you read about fixtures? It sounds like just what you're looking for. I'm using fixtures already - they're great. I can't find a way to load a specific fixture in to a table. If I could do that, I could load a set of data, run the code, check the resu

Re: [rspec-users] Loading numerous data structures from YAML files

2010-01-02 Thread Phillip Koebbe
On Jan 2, 5:17 am, Peter Hicks wrote: > > How best should I tackle this?  Where should I put the YAML files and is > there any functionality in RSpec that will help?  Should I roll my own > "load test data" code and present that to the test code? > > Best wishes, > > Peter Hi Peter, Have you rea

[rspec-users] Loading numerous data structures from YAML files

2010-01-02 Thread Peter Hicks
All, I am writing specs for some multi-stage tests which require a lot of input data. A simplified overview of the tests is as follows: * Provide list of network interfaces, confirm they are added to the database * Provide list of network interfaces as above, but with one entry added, and