Re: Testing without Fixtures (?)

jhearn
Tue, 17 Feb 2009 19:57:57 -0000

Thanks, thats quite helpful.



On Feb 16, 3:52 am, Ralf <RalfWis...-Mmb7MZpHnFY@public.gmane.org>
wrote:
> On 9 Feb., 18:24, jhearn
<jhe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
>
> > Suppose I have an app that tries to smartly generate a list for
> > grocery shopping.  The db has a table for all the items sold by the
> > grocery store.  There is also a table for categories of groceries, and
> > a join table that associates the items with the categories.  Cheddar,
> > for instance, could be joined with the categories: cheeses, dairy,
> > items_that_require_refrigeration, etc.  We also a have table for
> > different scenarios we might be shopping for, e.g. general_grocery,
> > camping_trip, dinner_party, christmas_baking, etc. and some items are
> > joined with certain scenarios.
>
> There are some tools with which it is possible to trim down the data
> in a way
> that respects the relationships between the tables (http://jailer.sf.net/
> for instance)