Reputation: 2710
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.
Upvotes: 0
Views: 85
Reputation: 5435
My favorite stack to test nodejs is
i hope this helps
Upvotes: 1