Javascript unit testing in eclipse
I am doing a fi开发者_运维知识库refox extension using eclipse and need to know how I can do unit testing for that project.
I think you can use Jasmine Framework for that.
I've been using JSTestDriver, http://code.google.com/p/js-test-driver, and it is an excellent framework. Lightning fast testing, test on save, and other cool features.
Initial setup is a bit complicated, but it's certainly worth it.
I've used JsUnit in the past, but this project is no longer maintained.
精彩评论