Is there a capybara for Node.js?

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

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

8条回答
  •  灰色年华
    2021-02-05 04:01

    Hy!

    I've created a library to help out with cucumber-js. It gives you callable steps and parsed arguments. This works with cucumber and doesn't replace it.

    Quick features:

    • Sync step definitions, no more callbacks;
    • Call other step from step definitions;
    • Parse values such as arrays, objects and decimals;

    https://github.com/hackhat/cucumberry

    Hope you find it useful (:

提交回复
热议问题