Seed a database before testing

I need to seed my test database before running tests. Is there a way to automate this with SPM?