Continuous Integration and Drupal
by Steven Merrill on Dec 16, 2009
- 7,811 views
A DrupalCamp NYC presentation on how to use SimpleTest with Drupal and a brief primer on the Hudson continuous integration engine.
A DrupalCamp NYC presentation on how to use SimpleTest with Drupal and a brief primer on the Hudson continuous integration engine.
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Adobe PDF
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 21
- Downloads
- 150
- Comments
- 1
- Embed Views
- Views on SlideShare
- 7,721
- Total Views
- 7,811
* Have Hudson clone the git repo with the code base.
* Run a bash script that does the following:
* Symlinks to a settings file on the host (so you don't have to worry about passing variables to setup the DB).
* Drops all the tables in your Drupal DB.
* Uses curl to run the appropriate install profile: curl 'http://example.com/install.php?locale=&profile=example_profile&op=start&id=1'
If you're using the profiler module, you can set the username/email for the super user without visiting the config screen that normally runs if you click your way through the install process. But really, you probably don't even need the super user account if you're just setting up the site to run SimpleTest, since it creates its own user(s) for each test, right? 2 years ago