5

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

Lance Roberts
  • 21,757
  • 30
  • 108
  • 129
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
  • 29,207
  • 10
  • 83
  • 115
  • 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
  • 328,606
  • 78
  • 779
  • 666
Michel
  • 8,850
  • 13
  • 42
  • 58