This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

What is the testing framework for JForum?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Would you like to try a free sample? Today we are featuring tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic