I'm building a NodeJS module that needs some testing before publishing. I'm familiar with Karma
and Protractor
both using Jasmine
. But they're both for testing on browsers which has nothing to do with my module (since it's meant to be core code of other applications/modules).
What is the best choice here? All I want to do is to call some functions of my module, feed it data and expect some outcome (return value). No interaction with browser needed.
Aucun commentaire:
Enregistrer un commentaire