Re: Unittesting for web applications

From: John Roth (newsgroups_at_jhrothjr.com)
Date: 02/12/05


Date: Sat, 12 Feb 2005 06:47:21 -0600

I believe there are xUnit clones named
Httpunit and Htmlunit, as well as a number
of variants. See the huge list of xUnit
clones on:

http://www.xprogramming.com/

in the downloads section. I don't think
any of them are Python based, though.

You might also want to look at some of
the Htmlunit integration into FIT and
Fitnesse.

You can frequently get discussions on
the Yahoo TDD list.

John Roth

"Sandip Bhattacharya" <sandip@lug-delhi.org> wrote in message
news:mailman.2443.1108204994.22381.python-list@python.org...
> Can someone suggest me some good resources for learning how to use
> unittests for web applications? Do we always have to cook up our own
> webpage scrapers to test the code?
>
> - Sandip
>
> --
> Sandip Bhattacharya * Puroga Technologies * sandip@puroga.com
> Work: http://www.puroga.com * Home/Blog: http://www.sandipb.net/blog
>
> PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3
>
>
>



Relevant Pages

  • Re: HtmlUnit
    ... in my R&D I came across HtmlUnit ... Samie, Pamie, Watir, JSUnit, Selenium, and HttpUnit are its competition, ... HtmlUnit, IIRC, only reads HTML. ... It mocks a web browser, ...
    (comp.software.testing)
  • Re: HtmlUnit
    ... > Recently I have been working with Junit and HttpUnit. ... limited and needed to drop down to using rhino and httpunit. ... Someone else at my site suggested htmlunit. ... darrell dot grainger at utoronto dot ca ...
    (comp.software.testing)
  • HtmlUnit (or HttpUnit) - Javascript and iFrames
    ... I am wondering if anyone has experience working with js and iframes in ... httpunit or htmlunit? ... The application I am working with has multiple iframes that get loaded ... I am wondering how difficult it is to do simple js calls from httpUnit ...
    (comp.software.testing)
  • HtmlUnit - handling client side redirect
    ... Below I have posted some examples of both successfully handling client ... Client side redirect indicated by: ... Handled in HttpUnit like such: ... Attempting to perform same actions in HtmlUnit: ...
    (comp.software.testing)