samedi 20 février 2016

Should unit tests bypass external applications?

I'm working on a pet project that opens a text editor. (In my case, vim.) How should I unit test an app like this? Is the answer to just bypass this line of code whenever it's running in the test env?

For reference, here's the line that calls vim in my project: http://ift.tt/1VvxSjv

Aucun commentaire:

Enregistrer un commentaire