To get where I want to be, though, I need a little help:
- The Gecko SDK also includes xpcshell, which means it shouldn’t be too hard to add Jasmine testing in XPCShell. I could then do lightning-quick test runs from the command-line. Tomas Brambora from Salsita Software’s already done some work along these lines. I just need his code updated for this project, and MPL tri-licensed for check-in.
- (Alternatively, I could modify my project to download a Firefox Aurora build… but where’s the fun in that? It would be quick, though. The reason I don’t like this is Mac development becomes more painful: Mac binaries are in .dmg images. Installation, maintenance overhead, no thanks. The Gecko SDK approach feels better for this.)
- For some reason, the stack trace blocks for test failures are really thin vertically; a little CSS should fix it.
- I could also use some code and developer usability reviews.
If you can spare a few hours to bring me these last few bits, write me a comment. I think the Mozilla community at large could really use this.
Check-out and build instructions:
hg clone http://hg.code.sf.net/p/verbosio/templates verbosio-templates cd verbosio-templates python project.py --update-sdk # Wait a few minutes for it to get XULRunner; it's a one-time cost python project.py --test-xul # XULRunner will open in another window, but it will block the python script from exiting.