vendredi 22 mai 2020

End to end testing - delete or keep records

What is the best way to handle records in the database after end-to-end tests have passed? Should we change affected records deleted_at column to the current date or remove these records at all since new tests will create more new records all the time?

The system will ignore those records with deleted_at flag but at the same time every new test will add new records and it will be equal for trashing database.

What is the best practice to use?

Aucun commentaire:

Enregistrer un commentaire