BDD and TDD for node.js?

前端 未结 11 1315
北恋
北恋 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:16

    Unit tests: Mocha is great for unit tests.

    BDD tests If you want a BDD test framework for Node.js then I'd recommend the Cucumber package.

提交回复
热议问题