CloudServices/Sync/FxSync/Archived/Testing

< CloudServices‎ | Sync‎ | FxSync‎ | Archived
Revision as of 23:35, 15 July 2008 by Varmaa (talk | contribs) (Origination)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to Labs/Weave.

Running Tests

Weave's code repository includes a variety of tests. Some of these are XPCShell-based unit tests, while others are Python-based. Some tests are "logtests", which compare the logfile output of test code with a canonical representation.

All tests can be automatically found and run by executing the following command at the root of the repository:

 python scripts\runtests.py

Writing Tests

For information about writing new xpcshell-based tests, see tests/readme.txt in the Weave HG repository.