+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • NodeMaven
    1,065 Ratings
    Visit Website
  • QA Wolf
    273 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Okyline
    2 Ratings
    Visit Website
  • Macaw AMS
    8 Ratings
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • Nutrient SDK
    113 Ratings
    Visit Website
  • Aikido Security
    364 Ratings
    Visit Website

About

The toolkit is provided as a set of artifacts deployed to the Maven Central repository. It requires Java 7 or newer for test execution; tests must use JUnit or TestNG. For instructions on how to add the library to a Java project, see Running tests with JMockit. In this tutorial we examine the APIs available in the library, with the help of example tests (using Java 8). The central API - a single annotation - provides support for the automatic instantiation and initialization of the objects to be tested. Then we have the mocking API (also known as the "Expectations" API), intended for tests which use mocked dependencies. Finally, there is a small faking API (aka the "Mockups" API), which can be used for the creation and application of fake implementations that avoid the full cost of external components.

About

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 annotations, or the possibility to run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.). You can test that your code is multithread safe, there is flexible test configuration, support for data-driven testing (with @DataProvider), support for parameters, powerful execution model (no more TestSuite). There is a supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc.), it also embeds BeanShell for further flexibility, and there is default JDK functions for runtime and logging (no dependencies), and dependent methods for application server testing. TestNG is designed to cover all categories of tests, unit, functional, end-to-end, integration, etc.

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Not Supported
Linux Not Supported
Cloud Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

DevOps teams looking for an Unit Testing solution

Audience

Development teams looking for a solution to test their code and run unit, functional, end-to-end, and integration tests

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Supported

API

Offers API Not Supported

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version Supported
Free Trial Not Supported

Pricing

No information available.
Free Version Not Supported
Free Trial Not Supported

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

JMockit
jmockit.github.io

Company Information

TestNG
Founded: 2004
testng.org/doc/

Alternatives

Alternatives

Cucumber

Cucumber

SmartBear
TestReport

TestReport

TestReport.io
HUnit

HUnit

Hackage
AgitarOne

AgitarOne

Agitar Technologies

Categories

Unit Testing Supported

Categories

Functional Testing Supported
Software Testing Supported
Unit Testing Supported

Integrations

Allure Report Not Supported
CloudBeat Not Supported
Codecov Not Supported
Eclipse Che Not Supported
Homeschool Minder Not Supported
HtmlUnit Not Supported
IntelliJ IDEA Not Supported
Java Supported
Jtest Not Supported
MOZARK Not Supported
Maven Not Supported
OpenClover Not Supported
Parasoft Not Supported
Roost.ai Not Supported
Selenic Not Supported
Selenium Not Supported
TeamStation Not Supported
Testmo Not Supported
Zebrunner Not Supported

Integrations

Allure Report Supported
CloudBeat Supported
Codecov Supported
Eclipse Che Supported
Homeschool Minder Supported
HtmlUnit Supported
IntelliJ IDEA Supported
Java Not Supported
Jtest Supported
MOZARK Supported
Maven Supported
OpenClover Supported
Parasoft Supported
Roost.ai Supported
Selenic Supported
Selenium Supported
TeamStation Supported
Testmo Supported
Zebrunner Supported
Claim JMockit and update features and information
Claim JMockit and update features and information
Claim TestNG and update features and information
Claim TestNG and update features and information