There can be a number of test cases for every system and only a few of them can be run. These cases can be used to detect most of the defects in the software. Since that is not feasible option, the testing tools are used. The main purpose of testing is to discover the errors. Testing explores the concealed faults and shortcomings inhibited in a software. These testing tools are designed with specific capabilities and test objectives. Some categories of testing tools are code coverage analyzers, API level tools, stress level tools, test harness and GUI/user level tools. Selecting the best testing tool for a particular development environment is important for accomplishment of testing activities. This led us to aggregate a selection of top 10 Java testing tools.
1. Abbot
This is one of popular tools for testing Java GUIs. One can launch a GUI, play back arbitrary user action on it and examine its state. the framework can be used by both developers for unit test and QA for functional test.
2. JUnit
This is one of the most popular open source framework for writing and running automated tests. This simple regression testing offers new public extension points for the developers who implement unit tests in Java.
3. JavaTest harness
This is a simple open source Java API used to generate Java test software. This is featured packed and configurable software that allows various types of unit testing. It is an commendable tool for configuring, sequencing and running test suites for conducting a large number of suits.
4. Cactus
This is an extension of JUnit that offers simple framework for unit testing server-side java code(servlets, EJBs, Tag Libs, Filters..). The underlying purpose of Cactus is to minimize the cost of writing tests for server-side code.
5. Jameleon
Jameleon is an automated testing tool that differentiates the applications by creating group of keywords or tags. These are integrated independently to create test cases. The test-cases can be data-driven and executed against different environments. Unit tests can be written using Jameleon. On the darker side, the automated testing doesn't solve all the testing needs.
6. EasyMock
This open source software offers Mock Objects for interfaces in JUnit tests by generating them on the fly employing Java's proxy mechanism.EasyMock features a unique style of recording exceptions, refactorings would not effect the Mock objects. This makes it the top choice for Test-Driven Development.
7. TestNG
Developed in line with JUnit and NUnit, this testing framework incorporates functionalities that have made it more powerful and easy to use. The new functions are JSR 175 Annotations (JDK 1.4 is also supported with JavaDoc annotations); flexible test configuration; default JDK functions for runtime and logging (no dependencies); powerful execution model (no more TestSuite); supports dependent methods. TestNG cover different categories of tests - unit, functional, end-to-end, integration, etc.
8. DbUnit
It is the JUnit extension for the targeted database-driven projects. Among the other functionalities it allows your database into a known state between test runs
9. SQLUnit
It is a regression and unit testing harness that is used for testing database stored procedures. The SQLUnit harness uses JUnit testing framework to convert the XML test specifications to JDBC calls and compares it generated results with specified results.
10. Findbug
This is a free testing tool that uses static analysis to scrutinize Java bytecode for traces of bug patterns. Findbug inspects the bugs in the program's code without executing the program. In some cases FindBugs also generates false warnings, but is reported to be less than 50%.
No comments:
Post a Comment
Thank you soo much for your comments..