зеркало из https://github.com/mozilla/pjs.git
Add HttpUnit and HtmlUnit
This commit is contained in:
Родитель
057e39ab2a
Коммит
f1c0b03cde
|
@ -18,6 +18,14 @@ The initial list was collected by Netscape marketing, so Rhino is referred
|
|||
to as Netscape Java-based JavaScript. We'd love to hear how you're using
|
||||
Rhino--just mail <script>document.write(owner());</script>.
|
||||
|
||||
<p><a href="http://httpunit.sourceforge.net/">HttpUnit</a>
|
||||
<br>"Automated testing is a great way to ensure that code being maintained works. The Extreme Programming (XP) methodology relies heavily on it, and practitioners have available to them a range of testing frameworks, most of which work by making direct calls to the code being tested. But what if you want to test a web application? Or what if you simply want to use a web-site as part of a distributed application?
|
||||
<p>
|
||||
In either case, you need to be able to bypass the browser and access your site from a program. HttpUnit makes this easy. Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a web site."
|
||||
|
||||
<p><a href="http://htmlunit.sourceforge.net/">HtmlUnit</a>
|
||||
<br> HtmlUnit is a java unit testing framework for testing web based applications. </br>
|
||||
|
||||
<p><a href="http://www.attachmate.com">Attachmate</a>
|
||||
<br>"Netscape JavaScript 1.5 with Java implementation was a perfect solution
|
||||
for developing our MacroRecorder because it made our development process
|
||||
|
|
Загрузка…
Ссылка в новой задаче