|
[feature] Regression/Unit/System Test Hook: msg#01004php.drupal.devel
Project: Drupal Version: cvs Component: base system Category: feature requests Priority: normal Assigned to: Anonymous Reported by: javanaut Updated by: weitzman@xxxxxxxxxxxx Status: active This is a very smart proposal. I hope someone moves this forward. more relevant links: - simpletest framework [1] - php unit testing intro [2] [1] http://www.lastcraft.com/simple_test.php [2] http://www.lastcraft.com/first_test_tutorial.php weitzman@xxxxxxxxxxxx Previous comments: ------------------------------------------------------------------------ February 25, 2004 - 14:14 : javanaut A hook would be defined by each module/theme to execute a suite of tests on itself. These tests could all be invoked on an administration page. Inter-module dependencies could be tested, new modifications could be tested...generally, anything that a module developer wants to test could be included. This would, IMO, make the community development process flow better as each developer could make sure his/her code doesn't break others' or in the presence of others'. It would allow you to instantly know when you have broken some major functionality of a given set of modules (or somebody else has broken yours). I'm not interested in engaging in the battle over extreme programming or anything like that, just a means of testing module/theme functionality without having to click all over the place to do it. I would be content with the hook merely returning success or failure, but a testing framework may be useful for more detailed testing. More information about test-driven development can be found at phpPatterns [3] or at junit.org [4]. [3] http://www.phppatterns.com/index.php/article/articleview/33/1/2/ [4] http://junit.org/index.htm -- View: http://drupal.org/node/view/6055 Edit: http://drupal.org/project/comments/add/6055 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [feature] dhtml expandable menu links: 01004, Anonymous |
|---|---|
| Next by Date: | [bug] Invalid argument in user.module: 01004, Dries |
| Previous by Thread: | [feature] Regression/Unit/System Test Hooki: 01004, javanaut |
| Next by Thread: | [feature] Regression/Unit/System Test Hook: 01004, weitzman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |