Looking for a Javascript unit testing framework [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 开发者_C百科years ago.
Improve this questionWhat do you recommend as the best and most documented Unit Test Framework for Javascript?
Jasmine is a BDD testing framework for javascript that works client-side or server-side. It works well in Rails, Node, Maven, etc. There's also a lot of plugins for things like jQuery.
Jquery team is using its Qunit for client side testing . It has a potential.
Check out this post. JSUnit is probably very effective, but I've found that Firebug now has an extension called FireUnit.
JSUnit is fairly useful, though it's been discontinued.
There are a whole bunch of modules found on the npm if you search for "unit test".
There is also the CommonJS testing specification.
I've written implementations of them which are on github. But I wouldn't call them production ready. There reasonably stable.
Very young, but still nicely functioning framework - bob.js.
精彩评论