aspose file tools*
The moose likes JForum and the fly likes What is the testing framework for JForum? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "What is the testing framework for JForum?" Watch "What is the testing framework for JForum?" New topic
Author

What is the testing framework for JForum?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I started using selenium, but now I'm trying Watir (http://wtr.rubyforge.org/).

Basically we need tests for everything

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi Rafael, thanks for your quick response.

Do you mean there isn't any organized test plan yet? Is there anything I can refer to so that I could figure out what have been tested by the scripts in the "tests->selenium" folder?

And would you mind telling me what advantage you think that Watir will bring you over selenium?
[originally posted on jforum.net by young.luk]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hey Young,

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.

I strong suggest and support writing the "test cases" in our Wiki - http://www.jforum.net/confluence -, so everyone can contribute to.
I started doing the Table of Contents of the main documentation, at http://www.jforum.net/confluence/display/doc/Home

That's it. It would be great if you could help us.

Rafael

[originally posted on jforum.net by Rafael Steil]
 
Consider Paul's rocket mass heater.
 
subject: What is the testing framework for JForum?