1×
Become a member
to unlock all features
Autoplay

    Productionize Your Database Seeder in Cypress

    cypressCypress
    ^3.1.5

    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.