Closed (fixed)
Project:
Drupal.org BDD
Component:
Environment setup
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2012 at 20:40 UTC
Updated:
27 Jul 2012 at 15:11 UTC
We need to be able to get reliable, predictable data returned by a project and its views and in order to write useful tests.
Comments
Comment #1
eliza411 commentedI thought this series had a lot of great ideas on default data and writing less brittle tests: http://www.cheezyworld.com/2010/11/21/ui-tests-default-dat/ In this entry and the related posts, @chzy puts forth the strategy of abstracting so that the tests do break when things change but that a minimum amount of work is required to update their code.
Comment #2
eliza411 commentedjhedstrom has implemented drush as a way to set up and teardown user data. We can't use that with Drupal.org as-is since they've dropped the access column from the database, so this, and writing tests for authenticated users, is currently blocked.
Comment #3
eliza411 commentedsdboyer made changes to drush on git6site that allow this to work, so marking this fixed.
Comment #4.0
(not verified) commentedfixing type