Skip to content

Infra: Test Fixtures #362

@ErisDS

Description

@ErisDS

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.

ref #483, #731

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions