User: dries Branch: HEAD Date: Sun, 20 Apr 2008 18:23:36 +0000 Added files: /includes xmlrpc.inc.test /modules/aggregator aggregator.test /modules/block block.test /modules/blog blog.test /modules/blogapi blogapi.test /modules/book book.test /modules/comment comment.test /modules/contact contact.test /modules/dblog dblog.test /modules/filter filter.test /modules/forum forum.test /modules/help help.test /modules/locale locale.test /modules/menu menu.test /modules/node node.test /modules/path path.test /modules/php php.test /modules/poll poll.test /modules/profile profile.test /modules/search search.test /modules/simpletest/files README.txt html-1.txt html-2.html image-1.png image-2.jpg javascript-1.txt javascript-2.script php-1.txt php-2.php sql-1.txt sql-2.sql /modules/simpletest simpletest.css simpletest.info simpletest.install simpletest.js simpletest.module simpletest.php /modules/syslog syslog.test /modules/system system.test /modules/taxonomy taxonomy.test /modules/translation translation.test /modules/trigger trigger.test /modules/upload upload.test /modules/user upload.test user.test /scripts run-functional-tests.php Modified files: /includes database.inc /modules/help help.module Log message: - Added a test framework to Drupal along with a first batch of tests for Drupal core! This is an important milestone for the project so enable the module and check it out ... :) Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran Lal, Moshe Weitzman, and the many other people that helped with testing over the past years and that drove this home. It all works but it is still rough around the edges (i.e. documentation is still being written, the coding style is not 100% yet, a number of tests still fail) but we spent the entire weekend working on it in Paris and made a ton of progress. The best way to help and to get up to speed, is to start writing and contributing some tests ... as well as fixing some of the failures. For those willing to help with improving the test framework, here are some next steps and issues to resolve: - How to best approach unit tests and mock functions? - How to test drupal_mail() and drupal_http_request()? - How to improve the admin UI so we have a nice progress bar? - How best to do code coverage? - See http://g.d.o/node/10099 for more ... Links: http://cvs.drupal.org/diff.php?path=drupal/includes/xmlrpc.inc.test http://cvs.drupal.org/diff.php?path=drupal/modules/aggregator/aggregator.tes... http://cvs.drupal.org/diff.php?path=drupal/modules/block/block.test http://cvs.drupal.org/diff.php?path=drupal/modules/blog/blog.test http://cvs.drupal.org/diff.php?path=drupal/modules/blogapi/blogapi.test http://cvs.drupal.org/diff.php?path=drupal/modules/book/book.test http://cvs.drupal.org/diff.php?path=drupal/modules/comment/comment.test http://cvs.drupal.org/diff.php?path=drupal/modules/contact/contact.test http://cvs.drupal.org/diff.php?path=drupal/modules/dblog/dblog.test http://cvs.drupal.org/diff.php?path=drupal/modules/filter/filter.test http://cvs.drupal.org/diff.php?path=drupal/modules/forum/forum.test http://cvs.drupal.org/diff.php?path=drupal/modules/help/help.test http://cvs.drupal.org/diff.php?path=drupal/modules/locale/locale.test http://cvs.drupal.org/diff.php?path=drupal/modules/menu/menu.test http://cvs.drupal.org/diff.php?path=drupal/modules/node/node.test http://cvs.drupal.org/diff.php?path=drupal/modules/path/path.test http://cvs.drupal.org/diff.php?path=drupal/modules/php/php.test http://cvs.drupal.org/diff.php?path=drupal/modules/poll/poll.test http://cvs.drupal.org/diff.php?path=drupal/modules/profile/profile.test http://cvs.drupal.org/diff.php?path=drupal/modules/search/search.test http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/README.t... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/html-1.t... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/html-2.h... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/image-1.... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/image-2.... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/javascri... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/javascri... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/php-1.tx... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/php-2.ph... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/sql-1.tx... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/files/sql-2.sq... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.css http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.inf... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.ins... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.js http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.mod... http://cvs.drupal.org/diff.php?path=drupal/modules/simpletest/simpletest.php http://cvs.drupal.org/diff.php?path=drupal/modules/syslog/syslog.test http://cvs.drupal.org/diff.php?path=drupal/modules/system/system.test http://cvs.drupal.org/diff.php?path=drupal/modules/taxonomy/taxonomy.test http://cvs.drupal.org/diff.php?path=drupal/modules/translation/translation.t... http://cvs.drupal.org/diff.php?path=drupal/modules/trigger/trigger.test http://cvs.drupal.org/diff.php?path=drupal/modules/upload/upload.test http://cvs.drupal.org/diff.php?path=drupal/modules/user/upload.test http://cvs.drupal.org/diff.php?path=drupal/modules/user/user.test http://cvs.drupal.org/diff.php?path=drupal/scripts/run-functional-tests.php http://cvs.drupal.org/diff.php?path=drupal/includes/database.inc&old=1.93&ne... http://cvs.drupal.org/diff.php?path=drupal/modules/help/help.module&old=1.79...