Skip to content

gregglind/testpilothelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Test Pilot Helper

Improved debugging of TestPilot installations and experiments by turning on useful settings, and opening useful pages

Setup

  1. in tpweb directory, so that locahost:8000/testcases/ works.

python -m SimpleHTTPServer &

  1. Have your experimence there in index-my.html

Simplest

cfx run --addon path/to/testpilot-1.x.x.xpi


cfx run --static-args='{"local":true,"prefs":{"extensions.testpilot.deploymentRandomizer.search-distribution-census":"42.3","general.useragent.locale":"de"}}' --addon='test_pilot-1.2.3-fx.xpi'

Or

# just run another addon
cfx run --addon some/addon.xpi

# turn on some useful prefs and debugging
cfx run --addon some/addon.xpi --static-args '{"debugpages": true, "debugprefs": true, "local": true}'

# turn on some useful prefs and debugging
cfx run --addon some/addon.xpi --static-args '{"debugpages": true, "debugprefs": true}'

# add your own urls, loaded in 'tabs.open'
cfx run --addon some/addon.xpi --static-args '{"urls": ["http://url1", "http://url2"]}'

# add prefs, with the prefs minilang
cfx run --static-args '{"prefs": {"+addon.pref": 'value', "some.rooted.pref": "value2"}}'

See

help with windows

  1. (in vmware fusion, turn sharing on for folders)

  2. install gitbash (https://help.github.com/articles/set-up-git#platform-windows) (https://openhatch.org/missions/windows-setup/install-git-bash)

  3. install python

  4. fire up python -m simpleHTTPserver 8000 above testcases somewhere.

  5. useful aliases:

    unalias cfx; alias cfx='//vmware-host/Shared\ Folders/glind-mac/gits/addon-sdk/bin/cfx' alias aurora='/c/Program\ Files\ (x86)/Aurora/firefox.exe'

  6. rm -rf /tmp/moz1 && cfx run -b C://Program\ Files\ (x86)/Aurora/firefox.exe -p /tmp/moz1 --addon testpilot-1.2.2.xpi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •