+
+

Related Products

  • Parasoft
    148 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • YouTestMe
    38 Ratings
    Visit Website
  • Bitrise
    400 Ratings
    Visit Website
  • QA Wolf
    269 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Okyline
    2 Ratings
    Visit Website
  • Macaw AMS
    8 Ratings
    Visit Website
  • Checksum.ai
    1 Rating
    Visit Website
  • Virtuoso QA
    131 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
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

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
24/7 Live Support
Online

Support

Phone Support
24/7 Live Support
Online

API

Offers API

API

Offers API

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version
Free Trial

Pricing

No information available.
Free Version
Free Trial

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
Webinars
Live Online
In Person

Training

Documentation
Webinars
Live Online
In Person

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

Categories

Integrations

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

Integrations

CloudBeat
Codecov
Eclipse Che
Homeschool Minder
HtmlUnit
IntelliJ IDEA
Java
Jtest
Katalium
MOZARK
Maven
OpenClover
Parasoft
Roost.ai
Selenic
Selenium
TeamStation
Testmo
Zebrunner
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