loading...

re: Reseed your database with Cypress VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hello, I've been working on some e2e testing based in typescript and using cypress. I really like how you've taken the approach to this, as SQL dat...

The data is created with JS, but is just a JSON.
We did it with JS, so we could use some helper functions.
In short, we create a collection of JS objects which structure is the same as our SQL tables.
Afterward, we generate insert statements from these objects.

Code of Conduct Report abuse