BDD and TDD for node.js?

前端 未结 11 1289
北恋
北恋 2021-01-29 20:37

What is used for BDD and TDD with node.js?

I\'m used to use Cucumber + RSpec. What\'s a good combo for node.js?

thanks

11条回答
  •  迷失自我
    2021-01-29 21:25

    I was going through the same concern last month .

    For BDD :

    Though Mocha itself provides BDD style by their describe and it statements.

    For styles like cucumber , you can try :

    • mocha-cakes
    • mocha-gherkin
    • cucumber.js
    • kyuri
    • mocha-cucumber

    They all have their own styles. I am sorry I can not provide working snippets now , let me know @Donald which one you select. Would like to know your insight.

提交回复
热议问题