Reseed db after each test

1
Hi, We are using cypress to write automation tests and we would like to reseed the database after each test to perform isolated testing. Is there any provision in Mendix to achieve this?
asked
3 answers
0

The approach I took when using Katalon for automated tests was to have a microflow to setup the database into a known state that could be called before each test was run.

Hope this helps

answered
0

If you do the tests on the Mendix test environment in the cloud you could use the Mendix API to restore the backup.

Regards,

Ronald

 

answered
0

Or you can use additional test scripts to delete the data that was created earlier. If needed, double check the removal.

answered