liangzan
liangzan

Reputation: 6904

XUL Testing Tools

Are there any tools for testing XUL? I'm using yui test for testing XPCOM. But I can't find any for XUL

Upvotes: 8

Views: 890

Answers (1)

Andrea Fiore
Andrea Fiore

Reputation: 1638

alt text
(source: clear-code.com)

I am using UxU, which is a reworked version of MozUnit. Though I was initially intimidated by the fact that its documentation is half in Japanese, I've used it for few hours and I already feel like recommending it!

Besides allowing you to test your javascript code within the same environment wherein it will run, it also provides a number of convenient helpers methods to remote-control the browser and automating functionalities such loading URLs, opening Tabs, modifying preferences, accessing files and local storage..

Definitively worth of a try!

Upvotes: 5

Related Questions