views:

153

answers:

2

I am doing a firefox extension using eclipse and need to know how I can do unit testing for that project.

+1  A: 

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.

Itay
I love jsTestDriver too, but it really tests Javascript inside a web page. The original questioner is building an extension.
Sean McMillan
A: 

maybe http://www.jsunit.net/ is what you looking for

or http://thinkpond.org/articles/2008/jstest-intro.shtml

michel
jsUnit tests page code, but will it handle extension code?
Sean McMillan