What shall I use when d开发者_开发百科eveloping a node.js application?
Zombie.js is there to provide you a headless browser to work with.
It should work fine with NodeUnit or Vows. Zombie.js uses Vows for its own tests. NodeUnit can be set to output JUnit compatible XML to use with a Continuous Integration solution like Hudson.
I am using vows because it has a watcher (which means tests automatically run) and it groks CoffeeScript.
精彩评论