I'm talking about demo data not seed data, I don't see why the demo
data can't be used for testing?

Regards
Scott

2008/10/31 Adam Heath <[EMAIL PROTECTED]>:
> Scott Gray wrote:
>> From memory, the main reason the current unit tests are failing is
>> because they were mistakenly only tested against the component they
>> were built for and not when running the entire set of tests.  It means
>> that the demo data used in the tests gets reused across tests and as
>> that data changes it causes subsequent tests to fail because they were
>> expected the data to be in it's original state.
>
> So the seed data needs to really be treated as seed data, ie, read-only.
>  And each test needs it's own set of 'test' data.
>
>

Reply via email to