5

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

Lance Roberts
  • 22,383
  • 32
  • 112
  • 130
Sanjeewani
  • 51
  • 1
  • 2

3 Answers3

4

I think you can use Jasmine Framework for that.

Gihan De Silva
  • 458
  • 8
  • 17
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.

Itay Maman
  • 30,277
  • 10
  • 88
  • 118
  • I love jsTestDriver too, but it really tests Javascript inside a web page. The original questioner is building an extension. – Sean McMillan Jul 14 '10 at 21:59
1

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

Rob W
  • 341,306
  • 83
  • 791
  • 678
Michel
  • 9,220
  • 13
  • 44
  • 59