1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 08:05:46 +01:00

Add experimental Mozmill functional tests.

--HG--
extra : rebase_source : eb8095f9d17f9c97706f93f670dd880c2b56f050
This commit is contained in:
Doug Kearns
2011-01-25 22:17:52 +11:00
parent 685a0f5d30
commit 35e0ab9cf4
32 changed files with 8382 additions and 260 deletions

22
HACKING
View File

@@ -133,12 +133,20 @@ In general: Just look at the existing source code!
Wrong:
function splitStr()
== Testing/Optimization ==
== Testing ==
TODO: Add some information here about testing/validation/etc.
Information about how/when to use :regressions might be nice.
Additionally, maybe there should be some benchmark information here --
something to let a developer know what's "too" slow...? Or general
guidelines about optimization?
Functional tests are implemented using the Mozmill automated testing framework
-- https://developer.mozilla.org/en/Mozmill_Tests.
// vim: set ft=asciidoc fdm=marker sw=4 ts=4 et ai:
A fresh profile is created for the duration of the test run, however, passing
arguments to the host application won't be supported until Mozmill 1.5.2, the
next release, so any user RC and plugin files should be temporarily disabled.
This can be done by adding the following to the head of the RC file:
set loadplugins=
finish
The host application binary tested can be overridden via the HOSTAPP_PATH
makefile variable. E.g.,
$ HOSTAPP_PATH=/path/to/firefox make -e -C pentadactyl test
// vim: fdm=marker sw=4 ts=4 et ai: