關於單元測試的學習及其工具

軟件測試在軟件開發中很重要.

單元測試更爲重要,爲了提高軟件質量,軟件的測試效率.JAVA有很好的測試開源項目,是我近期要研究的.這裏列出一些名稱:

Junit  java的單元測試框架.

web的測試工具有

Watij - Web Application Testing in Java

Watij (pronounced wattage) stands for Web Application Testing in Java. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates funtional testing of web applications through the real browser. Currently Watij supports automating Internet Explorer on Windows only. Future plans are in place to support others like Mozilla.
Brian Knorr, April 30, 2006

TestCaseTool

Do you want to code for testing? Of course NOT! If you think so, please try TestCaseMaker/Runner. This is Test Case Document driven functional test tool. You don't have to do coding and don't create newly input data for test tool, you just need to update test case document.
Masayuki Otoshi, December 06, 2003

XmlTestSuite

XmlTestSuite helps with the testing of complex web applications. Tests are written in XML. Supports "test driven development". Separate page structure from tests and test data Test can also verify databases.
David Rutter, November 04, 2002

TagUnit

TagUnit is a framework whereby JSP custom tags can be tested inside the container, and in isolation to the application specific pages on which they will ultimately be used. In essence, it's a tag library for testing tags within JSP pages. This means that it is easy to unit test tags, including the content that they generate and the side-effects that they have on the environment such as the introduction of scripting variables, page context attributes, cookies and so on.
Simon Brown, May 19, 2002

jWebUnit

jWebUnit provides a high-level API for navigating a web application combined with a set of assertions to verify the application's correctness. This includes navigation via links, form entry and submission, validation of table contents, and other typical business web application features. This code utilizes HttpUnit behind the scenes. The simple navigation methods and ready-to-use assertions allow for more rapid test creation than using only JUnit and HttpUnit.
ThoughtWorks, October 30, 2002

MaxQ

MaxQ is a free web functional testing tool. It includes an HTTP proxy that records your test script, and a command line utility that can be used to playback tests. The proxy recorder automatically stores variables posted to forms, so you don't have to write that stuff by hand. The paradigm of MaxQ is similar to commercial web testing tools like Astra QuickTest or Empirix e-Test. These products are quite expensive. MaxQ hopes to provide the essential features: HTTP test recording, scripting, and playback without the huge cost. Source code to MaxQ is provided as part of the distribution.
Bitmechanic, September 04, 2002

Web Application Testing Framework

Based on HttpUnit and Rhino, this framework is intended to be used for testing web application using JavaScript on HTML pages. It executes JavaScript if it would be a real JavaScript supporting browser.
Leonid Kuoza, Actimind Inc., June 28, 2002

HtmlUnit

HtmlUnit is a java unit testing framework for testing web based applications. It is similar in concept to httpunit but is very different in implementation. Which one is better for you depends on how you like to write your tests. HttpUnit models the http protocol, HtmlUnit models the returned document.
Mike Bowler, March 16, 2002

KaCoMa

KaCoMa is a tutorial for beginners of custom taglibraries including unit testing of such systems.
Kaarle Kaila, May 01, 2002

Canoo WebTest

Canoo WebTest is a free OpenSource tool for XP style acceptance testing of web applications. It calls web pages and verifies the result against expected properties. The engine is based on HttpUnit. Tests are described in terms of ANT scripts. Test reporting is done via XML/XSLT.
February 14, 2002

Epicentric JUnit JSP test harness

A web-based (JSP) JUnit test harness providing the following benefits: JUnit test harness providing an intuitive, point and click interface for running unit tests and viewing results, quickly and easily upload and run test classes against remote servers for platform testing/debugging, provides JSP developers with an effective framework to verify Java code running within a particular JSP framework, and commercial load testing software can be used to drive the web-based interface to conduct Java or JSP framework load testing.
December 23, 2001

StrutsTestCase for JUnit

StrutsTestCase for JUnit is an extension of the standard JUnit TestCase class that provides facilities for testing code based on the Struts framework. StrutsTestCase uses mock servlet objects to actually run the Struts ActionServlet, allowing you to test your Struts code without a running servlet engine. Because StrutsTestCase uses the ActionServlet controller to test your code, you can test not only the implementation of your Action objects, but also your mappings, form beans, and forwards declarations. And since StrutsTestCase does not require a running servlet engine, it's quick and easy to write unit test cases.
November 30, 2001

Simple classes to help test JSPs

JSP TEST is a collection of Java classes to help you test JSPs automatically.
web, June 19, 2001

HttpUnit

A framework for accessing websites from a Java program, with support for following links, submitting forms, handling cookies, and many other browser functions. When used with JUnit, HttpUnit provides an easy way to write automated functional tests for websites, regardless of the technology used to implement them.
February 14, 2001

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章