Productionize Your Database Seeder in Cypress

Brett Cassette
InstructorBrett Cassette

Share this video with your friends

Send Tweet

Our database seeder needs to be extended to work in production. It should reset between tests, auto-increment ID sequences, and allow us to set defaults on our seeds to keep our tests easy to maintain.

Let's extend the example from the previous lesson to get to a production ready seeding abstraction.