So I have a full stack MERN app, and I want to add tests to it to ease further development. I tried to find some answers but didn't come across anything useful.
My question is: Is it better to have 2 separate scripts like test-backend
and test-frontend
which test their respective areas, or is it better to have 1 unified script which does both? For example, let's say you're working on the back end and don't want to waste time testing the front end, wouldn't it be advantageous to have the tests separated?
PS: I'm using JEST for my tests
Aucun commentaire:
Enregistrer un commentaire