I am very interested in making a contribution to JForum development and the first thing I am focusing on is the UI testing on JForum, I would also like to investigate whether performing an automation UI testing on JForum is worthwhile.
I found a folder named "tests" under JForum, and a folder named "selenium" is under the "tests" folder. Does this tell me JForum used Selenium as the testing framework for UI testing? If it is, where could I find any information that describes the test cases having been tested or to be tested?
Thanks for your help! [originally posted on jforum.net by young.luk]
so, the selenium stuff there is quite outdated. Once I started to build the scripts, but in that time selenium had a few anoying bugs, although a very good tool. I mostly use it's jsunit part.
As Selenium is basically a regression test tool, it has a few, but important, limitations - for example, the scripts are made to run on the same set ot data. So, if you create it on your machine, many tests won't run on mine, because we'd have different things.
Watir, on its way, runs only on Windows, as it lies on Internet Explorer interoperabily. For version 2.0 they'are going to support Linux and Firefox as well.
The good thing about Watir is that it gives you more power, since you can fetch / parse any portion of the html data returned by the browser, which means it is possible to build dynamic regression scripts.
As of this point, JForum does not have any document describing what and how to test - that's a work that should be done.