Page MenuHomePhabricator

Share test surveys configuration between different builds
Closed, DeclinedPublicSpike

Description

As part of T112204, the configuration for the test surveys was copypastad over to the BC configuration file. This approach was taken because:

  • we didn't want to have the default configuration for QuickSurveys to include test surveys – including a disabled example survey is reasonable
  • we didn't want to require a file in the BC configuration file that wasn't the extension's entry point

There's got to be a cleaner way to share this configuration between our per-commit integration tests, which is stored in /path/to/QuickSurveys/tests/browser/LocalSettings.php, and the nightly integration tests run against the BC.

Possible solutions

  • being able to configure surveys on-wiki and creating them during the integration tests – this would be neato!
  • actually loading the test survey configuration from a shared file by requireing it in the BC configuration file
  • storing the test survey configuration in the extensions configuration and enabling the surveys in the BC configuration file
  • something glaringly obvious that we've missed

Event Timeline

phuedx raised the priority of this task from to Needs Triage.
phuedx updated the task description. (Show Details)
phuedx added a project: QuickSurveys.
phuedx subscribed.
Jdlrobson subscribed.
Jdlrobson renamed this task from [Spike?] Share test surveys configuration between different builds to Share test surveys configuration between different builds.Jun 28 2017, 9:14 PM
Jdlrobson moved this task from Backlog to Feature requests on the QuickSurveys board.
Restricted Application changed the subtype of this task from "Task" to "Spike". · View Herald TranscriptOct 29 2019, 4:50 PM

@phuedx is this task still relevant to us 6 years later or should we decline?