Are there any tools for testing XUL? I'm using yui test for testing XPCOM. But I can't find any for XUL
XUL Testing Tools
(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!
You say: it "allow[s] you to test your javascript code within the same environment wherein it will run", but this does not happen automatically! You have to call some helper methods to make it happen. clear-code.com/software/uxu/helpers.html.en#window –
Zeitgeist
© 2022 - 2024 — McMap. All rights reserved.