5

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

1

3 Answers 3

4

I think you can use Jasmine Framework for that.

Sign up to request clarification or add additional context in comments.

Comments

2

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.

1 Comment

I love jsTestDriver too, but it really tests Javascript inside a web page. The original questioner is building an extension.
1

I've used JsUnit in the past, but this project is no longer maintained.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.