BDD and TDD for node.js?

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

    Check out Buster.JS. Created by Christian Johansen, who literally wrote the book on javascript testing.

    Buster supports both TDD and BDD. It does browser testing with browser automation (think JsTestDriver), QUnit style static HTML page testing, testing in headless browsers (PhantomJS, jsdom), and more.

提交回复
热议问题