Jump to content

HttpUnit

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by StarryGrandma (talk | contribs) at 03:27, 20 November 2015 (Added references to Further reading). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

HttpUnit
Stable release
1.7 / May 20, 2008 (2008-05-20)
Written inJava
Operating systemCross-platform
Size4.0 MB (archived)
Typesoftware testing
LicenseMIT
Websitehttp://httpunit.sourceforge.net/

HttpUnit is an open source software testing framework used to perform testing of web sites without the need for a web browser. HttpUnit supports HTML form submission, JavaScript, HTTP basic access authentication, automatic page redirection, and cookies. Written in Java, HttpUnit allows Java test code to process returned pages as text, XML DOM, or containers of forms, tables and links. HttpUnit is well suited to be used in combination with JUnit, in order to easily write tests that verify the proper behaviour of a web site.

The use of HttpUnit allows for automated testing of web applications and as a result, assists in regression testing.

See also

References

Further reading

  • Hightower, Richard; Warner Onstine; Paul Visan (2004). "16. Functional Testing with HttpUnit". Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven. John Wiley & Sons. pp. 297–318. ISBN 978-0-7645-5617-3.
  • Link, Johannes (10 June 2003). Unit Testing in Java: How Tests Drive the Code. Morgan Kaufmann. pp. 242–249. ISBN 978-0-08-052017-9.