I'm kinda new to unit tests, functionnal tests etc but I want to make my application more reliable than ever. I'm a little confused as to the best approach for my case, so let me describe it to you.
My Symfony service does this :
- connect to a remote server through SFTP
- copy some XML files locally
- parse those files
- save the parsed data in database
My service is working fine but my question is : how can I test this kind of behaviour ?
Thanks a lot !
Aucun commentaire:
Enregistrer un commentaire