This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Basics
First, tell MozUnit what editor it should start when you want to create or edit test files:
- Go to the about:config URL
- Find the extensions.mozlab.mozunit.editor
- Enter the command that will start the editor
- Path must be absolute
- %f will be replaced by the file name
- %l (optional) will be replaced by the line number
- %c (optional) will be replaced by the column number
- For example, the command to use on Unix to start Emacs at the appropriate line and column would be:
/usr/bin/emacs +%l:%c %f
In Firefox, select Tools → MozUnit → Open Runner from menu.
In the runner, select File → New from menu, and enter a filename when required (e.g. tc_foo.js). The editor will open and it will contain a testcase skeleton you can modify.






