advice on testing a restify web service

131 views
Skip to first unread message

opensas opensas

unread,
Mar 19, 2013, 9:52:56 AM3/19/13
to res...@googlegroups.com
I'd like to know if anybody can provide me some advice on testing restify web services

Ideally I'd like to:

- run a restify web service on a different port
- access an in memory datastore with test data, either by configuring a different datasource or by mocking the orm
- be able to mock any part of the web service
- run each test on a clean service

I started with jasmine-node, but I wonder If anybody can recommend other tools for the task (I heard of vow and mocha)

perhaps mark could share a sample project like that in github

thanks a lot 
saludos
sas

ps: I'm having a couple of troubles with jasmine-node. Perhaps someone wants to strangthen it's stack overlflow reputation: http://stackoverflow.com/questions/15469980/failing-test-not-showing-in-jasmine-node

ps2: BTW, I think full and easy testability would be a great selling point for restify
Reply all
Reply to author
Forward
0 new messages