-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Closed
Milestone
Description
It seems to me that our tests should use independent fixtures.
The migrations can be run on the database as and when we are testing some aspect of the exact setup, for example testing migrations/import/export. However, I think we really should have a comprehensive set of fixtures, setup like a real populated blog, for testing data models etc.
Whilst doing this it would also be great to take a look at the fact our so-called 'api' tests actually test the data model. Perhaps rename these to model_*_spec and create an example of what a real API test might look like.
Reactions are currently unavailable