Labs/Test Pilot/ExperimentAPI: Difference between revisions

Line 31: Line 31:




In order to develop and test experiments that we're not ready to deploy, we have an alternate index file for developers only.  This lives at [https://testpilot.mozillalabs.com/testcases/index-dev.json https://testpilot.mozillalabs.com/testcases/index-dev.json].  To make your copy of the Test Pilot client use this file:
In order to develop and test experiments that we're not ready to deploy, we have an alternate index file for developers only.  This lives at [https://testpilot.mozillalabs.com/testcases/index-dev.json https://testpilot.mozillalabs.com/testcases/index-dev.json].  To make your copy of the Test Pilot client connect to this file instead of the public/canonical one, use the following steps:


# go to about:config
# Go to about:config
# find the pref called extensions.testpilot.indexFileName
# Find the pref called extensions.testpilot.indexFileName
# change its value to index-dev.json
# Change its value to '''index-dev.json'''
# Delete your locally cached copy of index.json, if any.  If present, it will be at (your profile directory)/TestPilotExperimentFiles/index.json
# Restart Firefox


Once you make that switch, you will start getting all the studies that are still in development, as well as some dummy studies which exist for testing purposes only.  If you want to develop your own study, you should start using index-dev.json.
Once you make that switch, you will start getting all the studies that are still in development, as well as some dummy studies which exist for testing purposes only.  If you want to develop your own study, you should start using index-dev.json.
1,007

edits