Drupal, SimpleTest and Continuous Integration
Hi there, I'm the lead developer of a GPL e-learning system called Dokeos, and occasional contributor to the Dokeos-Drupal module [1]. A few (12) months ago, we (Dokeos team) had to choose between PHPUnit and SimpleTest to cover our system with unit tests. As the Drupal community was in the same situation at that time, only a few weeks ahead, we decided to follow and chose SimpleTest. Unit Testing is not our final goal, and we want to implement something like Xinc [2] or PHPUnderControl [3] to have Continuous Integration, as it's called (a way to check when new code introduces regressions, basically). However, both seem to support better PHPUnit (I haven't tried PHPUnderControl, but I have broken a few teeth on SimpleTest + Phing + Xinc already, mainly because of conflicting versions of SimpleTest and complexity of the configuration files for Xinc). To get to the point, I would like to know if anybody has already configured that type of combination in the context of Drupal and would be so kind as to give me a link to some kind of report, examples or plain documentation about this. In any case, I will be looking at the problem myself (so far it's been only team members) and report here if it works, so it can be used with Drupal too (but the question is more like if Drupal has a few weeks in advance on our investigation there as well). Cheers, Yannick [1] http://drupal.org/project/Dokeos [2] http://code.google.com/p/xinc/ (LGPL) [3] http://www.phpundercontrol.org/about.html (not OSI license)
Hi Yannick, Are you using SimpleTest or Drupal's SimpleTest? I'm not sure of the exact differences myself, but I know that they are not the same thing. As for using continuous integration there a number of scattered articles/resources around the place, and it seems that a lot of people using Drupal like the Hudson CI engine (myself included). Here are a few I can think of: Paris presentation: http://paris2009.drupalcon.org/session/continuous-integration-and-drupal Getting Simpletest results into Hudson: http://www.computerminds.co.uk/hudson-and-simpletest http://www.lullabot.com/drupal-voices/drupal-voices-52-stew-robinson-continu... http://www.archive.org/download/DrupalCampUK/ScalingDrupalDevelopment_512kb.... Regards Steven Jones ComputerMinds ltd - Perfect Drupal Websites Phone : 024 7666 7277 Mobile : 07702 131 576 Twitter : darthsteven http://www.computerminds.co.uk 2009/11/22 Yannick Warnier <ywarnier@beeznest.org>:
Hi there,
I'm the lead developer of a GPL e-learning system called Dokeos, and occasional contributor to the Dokeos-Drupal module [1].
A few (12) months ago, we (Dokeos team) had to choose between PHPUnit and SimpleTest to cover our system with unit tests. As the Drupal community was in the same situation at that time, only a few weeks ahead, we decided to follow and chose SimpleTest.
Unit Testing is not our final goal, and we want to implement something like Xinc [2] or PHPUnderControl [3] to have Continuous Integration, as it's called (a way to check when new code introduces regressions, basically).
However, both seem to support better PHPUnit (I haven't tried PHPUnderControl, but I have broken a few teeth on SimpleTest + Phing + Xinc already, mainly because of conflicting versions of SimpleTest and complexity of the configuration files for Xinc).
To get to the point, I would like to know if anybody has already configured that type of combination in the context of Drupal and would be so kind as to give me a link to some kind of report, examples or plain documentation about this.
In any case, I will be looking at the problem myself (so far it's been only team members) and report here if it works, so it can be used with Drupal too (but the question is more like if Drupal has a few weeks in advance on our investigation there as well).
Cheers,
Yannick
[1] http://drupal.org/project/Dokeos [2] http://code.google.com/p/xinc/ (LGPL) [3] http://www.phpundercontrol.org/about.html (not OSI license)
participants (2)
-
Steven Jones -
Yannick Warnier