Unit Test « Testing « Java Products

Home
Java Products
1.Application
2.Business
3.Byte Source Code
4.Component
5.Data File
6.Database
7.Development
8.Graph Image Diagram Movie
9.GUI Tools
10.J2EE Web Development
11.Misc
12.Net Web Mobile
13.Programming
14.Science
15.Server Side JSP Servlet
16.Swing
17.Testing
18.Utilities
19.XML
Java
Java Tutorial
Java Book
Java Source Code / Java Documentation
Java Source Code / Java Documentation 2
Java Open Source
Jar File Download
Java Articles
Java by API
SCJP
Spring questions and answers
Swing questions and answers
JPA questions and answers
Java Products » Testing » Unit Test 
1. JUnit
By:
License:
URL:http://www.junit.org/
Description:Welcome to JUnit.org. This site is dedicated to software developers using JUnit or one of the other XUnit testing frameworks. We'll be adding more content and web-based services over time. Initially we'll be providing links to give you a one-stop destination to learn the latest information on unit testing.


2. Cactus
By:
License:Apache Software License
URL:http://jakarta.apache.org/cactus/
Description: Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...). The intent of Cactus is to lower the cost of writing tests for server-side code. It uses JUnit and extends it. Cactus implements an in-container strategy, meaning that tests are executed inside the container.


3. Exacum
By:GmbH Dresden
License:Commercial
URL:http://www.ist-dresden.de/products/Exacum/index.html
Description:Exacum is an interactive unit test tool for functional and regression test. It supports automatic tests for Java units like EJBs and Java object sets or tests of Web applications and Web services. You can combine such tests accross the software layers. A complex set of rules can be set up to control the test and a full qualified report can be made for evidence.


4. AppPerfect Unit Tester
By:AppPerfect Corporation
License:Commercial
URL:http://www.appperfect.com/products/devsuite/ut.html
Description:AppPerfect Unit Tester is a unit test management system. It automates the generation and execution of your unit tests. Unit testing form the basis of software testing at the developer level. Unit testing generally refers to testing software based on the smallest logical unit of that software. In Java, this typically is a class file.


5. Jtest
By:Parasoft
License:Commercial
URL:http://www.parasoft.com/jsp/smallbusiness/tool_description.jsp?product=Jtest
Description:Automates Java unit testing, coding standards and more. Auto-generates test cases, harnesses and stubs. Extends JUnit capabilities.


6. Enhanced JUnit
By:SilverMark, Inc.
License:Commercial
URL:http://www.silvermark.com/Product/java/enhancedjunit/index.html
Description:SilverMark's Enhanced JUnit is a suite of tools that enhance JUnit


7. DDTUnit
By:
License:
URL:http://ddtunit.sourceforge.net
Description:DDTUnit - A Data Driven Approach to Unit Testing For setting up module/component tests during development cycle we found it extremely useful and productive to take a data centric approach to cover multiple testcases on coded testmethods. The basic idea of DDTUnit is to provide a XML description (XML Schema based) of testdata and combine it with the simplicity of JUnit. All program flow is coded in plain old Java. A wide range of object types can be expressed through the definition in xml resource (not just the simple String constructor based objects.


8. TagUnit
By:
License:
URL:http://tagunit.sourceforge.net
Description: In the same way that JUnit allows us to write unit tests for Java classes, TagUnit allows us to unit test JSP custom tags, inside the container. In essence, TagUnit is a tag library for testing custom tags within JSP pages. Even with tools like Cactus, JUnitEE and HttpUnit, testing Java Servlets and JSP pages is hard, particularly if they contain specific business or presentation logic that needs to be tested. Best practices around J2EE development suggest that logic should be encapsulated in JavaBeans or JSP custom tags for better separation of concerns, maintainability, reusability and to facilitate easier testing. Although JUnit can be used to test JavaBeans, testing custom tags by simply invoking their methods doesn't make sense. Custom tags are components and therefore need to be tested at that level, in the way that they would normally be used from within a JSP page. TagUnit provides a way to perform assertions on the content that custom tags generate and the side-effects that they have on the environment such as the introduction of scoped (request/page/session/application) attributes, cookies and so on. In addition to this, assertions can be made on the constraints specified within the tag library descriptor file that give us a way to verify the contract that a tag provides. In just a four line JSP page, TagUnit can automatically perform tests such as asserting whether the tag handler class is loadable and that it has setter methods for all declared attributes. To supplement this, user defined tests provide a way to perform assertions on the description of a tag, such as its body content and the details of any attributes.


9. Surrogate
By:
License:BSD License
URL:http://surrogate.sourceforge.net
Description: Surrogate is a complimentary unit testing framework, especially suitable for unit testing of large, complex Java systems. The framework integrates seamlessly with JUnit,MockEJB and various mock object implementations and is based on the AspectJ technology.


10. TestNG
By:
License:Apache Software License
URL:http://www.beust.com/testng/
Description:TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as: * JDK 5 Annotations (JDK 1.4 is also supported with JavaDoc annotations). * Flexible test configuration. * Support for data-driven testing (with @DataProvider). * Support for parameters. * Allows distribution of tests on slave machines. * Powerful execution model (no more TestSuite). * Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...). * Embeds BeanShell for further flexibility. * Default JDK functions for runtime and logging (no dependencies). * Dependent methods for application server testing.


11. xmlunit
By:
License:BSD License
URL:http://xmlunit.sourceforge.net/
Description:For those of you who've got into it you'll know that test driven development is great. It gives you the confidence to change code safe in the knowledge that if something breaks you'll know about it. Except for those bits you don't know how to test.


12. Jice
By:
License:
URL:http://jtestcase.sourceforge.net/
Description: Jice is an (excellent) lightweight dependency injection framework now embedded into JTestCase. Using Jice it is possible to seamlessly inject into JTestCase arbitrary graphs of Java objects such as : * Collections Objects (Vector,HashMap,ArrayList,...) * JavaBeans * Arbitrary Graph of Java Objects (see here)


java2s.com  |  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.