What is the best practice for cleaning data after inserting for a unit test
As the head says, after I inserted some rows (just for testing) to the database in a unit test function, I currently place a query at the end of the function to remove those manually, but I believe that is not the best practice to do. So what is it?
Aucun commentaire:
Enregistrer un commentaire