8 Super-useful Java test tools and frameworks

Source: Internet
Author: User
Tags testng

Getting Started with Java

Assuming you're just beginning to touch the Java world, the first thing to do is install Jdk--java Development Kit (Java SDK ), which comes with Java Runtime Environment (JRE) and JVM (Java Execution time environment). It allows you to compile, execute, and test your Java program on your own computer.

In addition You also need the IDE (integrated development environment). There are very many options, such as IntelliJ, Eclipse, and NetBeans.

Java Test Tool

Here are 8 of the best Java testing tools and frameworks I've selected.

1.Arquillian

Arquillian is a highly innovative and scalable testing platform for the JVM. Enable Java developers to easily create their own proactive collections, functional and acceptance tests. Arquillian agreed to run the test at run time. Arquillian can be used to manage the life cycle of single or multiple containers. Bundling Test example. dependent classes and resources. It can also be deployed into containers, run tests in containers, capture results, and create reports.

Arquillian integrates common testing frameworks, such as JUnit 4, TestNG 5, and agrees to use the existing IDE to publish tests, and because of its modular design, the Ant and Maven test plug-ins can be executed.

Official site:http://arquillian.org/

2.JTest

JTest is also known as the "Parasoft JTest". is a self-motivated Java software test and static analysis software made by Parasoft.

Jtest includes the following functions: generation and execution of unit test cases, static code analysis, static analysis of data flow, measurement analysis, regression testing, error detection at execution time.

In addition, it has the capability of the peer code review process to proactively and perform error detection, such as race conditions, exceptions, resource and memory leaks, and security vulnerability attacks.

Official site:http://www.parasoft.com/product/jtest/

3.The Grinder

"The Grinder" is a Java load test framework that performs simply, and its distributed testing uses a lot of load injection machines. Just have to have the Java API. The grinder is capable of load testing. This includes HTTP Webserver, soap and Rest Webserver, application server, and test scripts written in powerful Jython and Clojure languages that include their own definition protocols. The Grinder GUI console agrees to monitor and control multiple load syringes and proactively manage client connections and cookies, SSL, Agent-aware, and throttling connections.

The grinder is free under the BSD-style open source license.

Official site:http://grinder.sourceforge.net/download.html

4.TestNG

TESTNG is a testing framework designed for the Java programming language, inspired by JUnit and NUnit. The main function of the testng is to cover a wider range of test classifications. such as unit, functional, end-to-end, integration and so on. It has other new features. Make it more powerful and easy to use. such as: annotations, the implementation of various strategies with large thread pool testing, multi-threaded code testing, flexible test configuration, data-driven test support, and so on.

TestNG supports a wide variety of tools and plugins, such as Eclipse, Idea, maven, and more.

Official site:http://testng.org/doc/download.html

5.JUnit of

JUnit is a unit testing framework designed for the Java programming language. JUnit has played an important role in the development of test-driven development frameworks. It is one of the constituent members of the unit Testing framework family, which is now collectively referred to as Xunit, originating from Sunit.

At compile time. JUnit is able to connect as a jar. Used to write a repeatable test.

Official site:https://github.com/junit-team/junit/wiki/Download-and-Install

6.JWalk

Jwalk is a unit test kit designed for the Java programming language. It can support the test mode called Lazy System unit test. The Jwalktester tool can run whatever test is in the compiled random Java class provided by the program ape . Through static and dynamic analysis. As well as hints behind the program ape. It can make the test conform to the inert specification.

Official site:http://staffwww.dcs.shef.ac.uk/people/A.Simons/jwalk/download.html

7.Mockito

Mockito is a Java-enabled open-source testing framework available at MIT License.

Mockito agrees that the ape uses its own active unit to test the creation and testing of two objects (mock objects) to achieve test-driven development (TDD) and behavior-driven development (BDD) purposes.

Official site:http://mockito.org/

8.Powermock

Powermock is a Java framework that supports the unit test source.

Although Powermock can be implemented as an extension of the mocking framework, such as Mockito and Easymock, it has a more powerful capability. The powermock uses its own class loader and bytecode manipulators. To ensure simulation of static methods, deletion of static initialization, function constructs, finally classes and methods, and private methods. Its main purpose is to extend the existing API with minimal method and gaze. To get extra functionality.

It is available under 2 pieces of open source Apache License. It can also be found at Powermock Google Code site.

Official site:https://code.google.com/p/powermock/

Good tools, of course, should be well-equipped. When the Java code is written, be sure to pay attention to the security issue. Try to use professional platform resources to do encryption security must be able to do more with less.

8 Super-useful Java test tools and frameworks

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.