Robert Pankowecki wrote:
No. �Even dictionaries should not be seeded in test. �Just use factories
to create only the actual records needed for each individual test.
I can't agree. Try to convince me. Having all the dictionaries seeded
once at the start makes my tests shorter and faster.
It does not make them faster, because you're loading lots of unnecessary
Anyway, who cares who fast your tests are if they're wrong? You can't
know that you're actually testing what you think you are, unless you
start each test from a blank slate and create only a restricted set of
records (generally no more than 10 if your tests are of the proper
granularity). Preloading the DB is cheating at solitaire.