Java Open source Software testing Tools Large Summary

Source: Internet
Author: User

First, JUnit

JUnit is a regression testing framework (regression testing framework) written by Erich Gamma and Kent Beck. JUnit tests are programmer tests, known as white-box tests, because programmers know how the software being tested accomplishes functions and what (What) functions are done. JUnit is a set of frameworks that inherit the TestCase class and can be tested automatically with JUnit.

http://www.junit.org/

Second, Cactus

Cactus is a simple test framework based on the JUnit framework that is used to unit test server-side Java code. The primary goal of the Cactus Framework is to be able to unit test server-side Java methods such as Httpservletrequest,httpservletresponse,httpsession, which use servlet objects.

http://jakarta.apache.org/cactus/

Third, Abbot

Abbot is a framework for testing the Java GUIs. With simple xml-based scripts or Java code, you can start a GUI.

http://abbot.sourceforge.net/

Four, JUnitPerf

Junitperf is actually a decorator of junit, and we can automate the test process by writing unit tests for Junitperf.

Http://www.clarkware.com/software/JUnitPerf.html

Five, DbUnit

Dbunit is an extension of junit for database-driven projects that, in addition to providing a few common features, can place your database in the state of a test cycle.

http://dbunit.sourceforge.net/

VI. Mockrunner

Mockrunner is used for unit testing of applications in the Java EE environment. Not only does it support struts actions, servlets, filters and tag classes, it also includes a JDBC and a JMS test framework that can be used to test EJB based applications.

Http://mockrunner.sourceforge.net/index.html

Seven, Dbmonster

Dbmonster is a stress test tool that uses random data to test a SQL database.

http://dbmonster.kernelpanic.pl/

Eight, MOCKEJB

MOCKEJB is a lightweight framework that can run EJBS and test without the need for an EJB container.

http://mockejb.sourceforge.net/

Nine, Strutstestcase

Strutstestcase is an extension of the JUnit TestCase class that provides code testing based on the struts framework. Strutstestcase also provides mock object methods and Cactus methods to actually run struts Actionservlet, which you can test by running the servlet engine. Because Strutstestcase uses the Actionservlet controller to test your code, you can not only test the implementation of the action object, but also test the mappings,from beans and forwards declarations. Strutstestcase does not start the servlet container to test the struts application (outside of the container) is also a mock object test, but unlike Easymock, Easymock provides an API to create mock objects. Strutstest is a mock object test framework that specializes in testing struts applications.

http://strutstestcase.sourceforge.net/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.