I'm new to Hudson and I have the need to run Unit Tests of several PHP Plugins, written for different frameworks (e.g. Wordpress, Drupal and so on). To work, these plugins need to be installed into the framework and a boostrap file has to be loaded first.
I was wondering how should I proceed to configure Hudson to tell it to export the plugin from Source Control inside a subdirectory of the framework, and then run the tests. I was thinking that the framework could be installed once, together with its standard database, and never touched (I would run separate tests against different framework version). Eventually, database could be restored at every run, to make sure previous issues don't interfere with the test.
My question is: is it possible to do the above? Summarizing: - Install each framework on the system, in a folder dedicated to Hudson and with a standard database. - At each run, let Hudson restore the standard database (to prevent "contamination" from previous runs). - Let Hudson fetch plugins' files from SVN and store them in the appropriate folder, depending on the framework. - Run the tests.
Thanks in advance for all the suggestions.