Topic
2 replies Latest Post - ‏2008-04-09T23:48:04Z by SystemAdmin
SystemAdmin
SystemAdmin
210 Posts
ACCEPTED ANSWER

Pinned topic Test Development Framework, please recommend

‏2007-02-17T11:55:24Z |
Hello,

I made a shortlist of test frameworks for a ( java ) web application.
  • jwebunit
  • canoo webtest
  • jameleon
'Must have' is that tests can be executed with Ant. They all seem to do that. All three of them look alive and well. Choosing a framework for testing is not a trivial thing as it will have impact throughout a project. My experience sofar is limited to junit 3.8.

Any warnings on these frameworks? Succes stories?
I'd like to hear both.

Thanks,
-nilo
Updated on 2008-04-09T23:48:04Z at 2008-04-09T23:48:04Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    210 Posts
    ACCEPTED ANSWER

    Re: Test Development Framework, please recommend

    ‏2007-02-23T00:00:39Z  in response to SystemAdmin
    Indeed, all three frameworks are well supported and have a healthy community around them. I tend to stick with Selenium when it comes to web testing at this point as I'm quite comfortable with its table style Fit testing format and I'm a big fan of the Selenium IDE within Firefox. Selenium integrates with Ant too.

    Canoo's product has a good deal of documentation, which is quite nice. Jameleon has a lot of plug-in's that facilitate working with JWebUnit and Selenium too. Of the three you've listed, I'd tend to list JWebUnit last due to some of the more advanced features found in the other 2 (Canoo and Jameleon).
  • SystemAdmin
    SystemAdmin
    210 Posts
    ACCEPTED ANSWER

    Re: Test Development Framework, please recommend

    ‏2008-04-09T23:48:04Z  in response to SystemAdmin
    I'd also take a look at non UI test frameworks to test out your web application from a functional test perspective. You could have a smoke test that uses HTTPUnit (http://httpunit.sourceforge.net/) to verify requests and expected responses and basic page syntax. It's nice because it extends verification methods from JUnit and adds custom assertions for web apps. You could then use a UI test framework to perform more user-like testing. I've used Selenium (I've had success with Selenium RC) and really like it for basic web UI testing.
    http://sogwiz.blogspot.com