views:

26

answers:

1

I'm working on a Firefox extension and started building automated tests using jsUnit. I run into permission errors running the tests from the TestRunner as soon as my extension code refers to any XPCom components.

Is there a better tool for me to use for this, or how I can get around the permissions issues and continue to use jsUnit?

+1  A: 

I haven't started using it yet, but UxU appears to be a really good tool for unit testing Firefox extensions. I don't know how well it can deal with XPCOM, but I believe it runs the tests from a context where it has the permissions it needs for that sort of thing.

MatrixFrog
Thanks, this appears to be what I'm looking for.
Mikal