Daily test runs

Rok Žlender - March 27, 2008 - 21:33
Project:Test driven development infrastructure
Component:Code
Category:task
Priority:normal
Assigned:cyberswat
Status:closed
Description

It would be cool to have daily automated test runs of latest Drupal version dev and stable. This would mean that every day we would get report if latest HEAD or latest version of 6 branch is still passing tests.

#1

cyberswat - April 14, 2008 - 12:20
Assigned to:Anonymous» cyberswat

The current code base is slanted towards checking out the same version of the simpletest module as what is being tested. It performs a second checkout after getting the base version of Drupal it is testing and appears to run tests against this checkout. Is it desirable to follow this approach or should the simpletest modules be run in a stable version of Drupal that then interacts with the temporary test instance?

#2

cyberswat - April 20, 2008 - 15:25
Status:active» postponed (maintainer needs more info)

Waiting on some info from hunmonk to make sure I didn't break pift processing ... This patch allows for full testing of specific versions in addition to the existing patch testing. It also reports on testing results and reports complete failures. Once I speak with hunmonk I may make modifications before signing off on this but don't want to loose the work.

AttachmentSize
simpletestauto.patch 39.96 KB

#3

cyberswat - April 20, 2008 - 18:33
Status:postponed (maintainer needs more info)» needs review

Hasn't been run through coder yet but here is what I believe to be a working version

AttachmentSize
simpletestauto_updated.patch 40.49 KB

#4

boombatower - October 31, 2008 - 07:33
Status:needs review» fixed

Since #308974: Test all RTBC and CNR issues on rotation is working I think that alleviates the need for this as patches shouldn't be committed if they make tests fail.

#5

c960657 - November 1, 2008 - 13:32

In practice, patches are sometimes committed, even if they cause tests to fail. Sometimes the tests only fail in certain environments (PHP version, MySQL version, Windows/Linux, $clean_urls, $db_prefix etc.). It would be useful if there was a number of machines with different configurations running tests on HEAD daily or weekly. Of course it would be optimal if all patches were run on all these machines prior to being committed, but a more modest solution that just pulls from CVS would be useful.

Examples of issues that are only present in some environments:

#6

boombatower - November 1, 2008 - 18:45

#5: The plan is to wait for testing results before committing, but that relies on all this stuff working. (very close)

As for machines with different OS/db engines, that will come later. Right now we just want to get all the features that are necessary working and stable. We are running into a few quirks.

Then eventually I see running a patch through multiple OSs and db engines and comparing results.

#7

Anonymous (not verified) - November 15, 2008 - 18:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.