Hi Folks, what is the right purpose to test jamwiki? Either I design the tests to test an existing webtest-installation running elsewhere (configure-able in the properties), or I test the clean build running with the mvn jetty:run-exploded command. So the alternatives are:
Right at this moment I tend to the second option: testing a jetty-provided instance of jamwiki. What do you thing? -- mbert 12-Aug-2008 01:59 PDT
Right at the moment the webtests do not run on every environment - with different languages .... -> I'm working on it. For that I will use the jamwiki-war/src/main/ressources property-files and add some keys who are right now under the pages directory. I would suggest to use language specific strings only inside the properties-files. Now I duplicate some values e.g. "Special:Allpages ..." so I'm able to test the link on the "starting page".
Steps to run the webtest on jamwiki.org for developers.
If you like see: http://opensource.basehaus.com/webtest/screencasts/creating-a-first-webtest-project.htm
I changed those. I added the executables to the lib/webtest directory so only checkout is neccessary. The only thing to do is:
Now: change to the webtest directory and call: ant and see what happens ;-) The webtests will start (during the tests the webtest monitor will show up) and at the end the browser of your choise will show the results of the webtest-run.
If you have a test issue you might want to start with copying an existing Webtest and adjusting it.
For starters if you work with firefox you will use the
firefox-plugin: http://opensource.basehaus.com/webtest/screencasts/creating-a-first-webtest-project.htm it's a nice tool to start with webtests, but only for the beginning.
(may be to difficult for a start - it's not what I often do).
-- mbert 04-Jul-2008 11:37 PDT