Does anyone know whether there is anything similar to capybara for Node.js?
We created a complete acceptance testing solution in JS
http://xolv.io/products/chimp
It uses CucumberJS (Mocha/Jasmine soon) to drive your acceptance tests
- Downloads and starts Phantom / Selenium
- Injects a preconfigured Webdriver.IO instance into the testing context
- Includes the
request
npm library (for REST) the assertion library of your choice (Chai / Jasmine-expect)- Uses fibers for synchronous testing (no callback hell / promise confusion)
- Works with SauceLabs / BrowserStacks etc
- Support outside in testing with a watch mode that continuously runs the scenarios you tag with
@focus
- Supports CI out of the box and tested on Circle/Codeship/Travis (using headless Chrome/Firefox)
It doesn't make you coffee, yet