DEV Community

Discussion on: Seeding a database

dmfay profile image
Dian Fay

There's more you can do with discrete test fixtures! Instead of just running every one blindly in whatever sequence you get them, you can pick which to run in which order and feed data from one to the next. This gives you flexibility for tests that depend on such-and-such information not being present. A while back I wrote a post going into more detail and published a tiny fixture management library based on it.