Is there a capybara for Node.js?

前端 未结 8 931
情话喂你
情话喂你 2021-02-05 03:35

Does anyone know whether there is anything similar to capybara for Node.js?

8条回答
  •  执笔经年
    2021-02-05 03:54

    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

提交回复
热议问题