[drupal-devel] Script to check contib module compatibility

Gerhard Killesreiter killesreiter at physik.uni-freiburg.de
Thu Mar 17 02:03:03 UTC 2005



On Wed, 16 Mar 2005 neil at civicspacelabs.org wrote:

> Would anyone be interested in a script to automatically test if a module
> is 4.6-compliant? I want to get some feedback before potentially
> comitting to writing it. It would need two levels of output:

I suggest adding the tests to the code-checker script.

> Warning: a module implements a hook which changed. Without creating a
>   unit test framework there is no easy way to determine if a module
>   works or not.
> Error: a module implements a removed function or calls a function with
>   the wrong arguments?
>
> What other test cases are posssible?

You removed the "title" parameter from theme('page').

> Would anyone want to help?

*mumble* Maybe.

Cheers,
	Gerhard




More information about the drupal-devel mailing list