TestNG logo

TestNG

A testing framework inspired from JUnit and NUnit
42
60
+ 1
0

What is TestNG?

It is a testing framework designed to simplify a broad range of testing needs, it covers all categories of tests: unit, functional, end-to-end, integration, etc.Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.
TestNG is a tool in the Testing Frameworks category of a tech stack.
TestNG is an open source tool with 1.5K GitHub stars and 813 GitHub forks. Here鈥檚 a link to TestNG's open source repository on GitHub

Who uses TestNG?

Companies
3 companies reportedly use TestNG in their tech stacks, including Platform, Ten-X, and Novatium Solutions.

Developers
37 developers on StackShare have stated that they use TestNG.

TestNG Integrations

IntelliJ IDEA, Eclipse, Apache Maven, ScalaTest, and Experitest are some of the popular tools that integrate with TestNG. Here's a list of all 7 tools that integrate with TestNG.

Why developers like TestNG?

Here鈥檚 a list of reasons why companies and developers use TestNG
Top Reasons
Be the first to leave a pro
Public Decisions about TestNG

Here are some stack decisions, common use cases and reviews by companies and developers who chose TestNG in their tech stack.

Joshua Dean K眉pper
Joshua Dean K眉pper
CEO at Scrayos UG (haftungsbeschr盲nkt) | 1 upvotes 49.1K views

We use JUnit for our Java Unit and Integration tests in Version 5. Combined with @JMockit2 and @truth (from Google) we perform all kinds of tests on our minecraft, standalone and microservice architecture.

We prefer JUnit over TestNG because of the bigger community, better support and the generally more agile development. JUnit integrates nicely with most software, while TestNG support is a little more limited.

See more

TestNG's Features

  • Support for data-driven testing
  • Support for parameters
  • Powerful execution model (no more TestSuite)
  • Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc

TestNG Alternatives & Comparisons

What are some alternatives to TestNG?
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Selenium
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Mockito
It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn鈥檛 give you hangover because the tests are very readable and they produce clean verification errors.
NUnit
An evolving, open source framework designed for writing and running tests in Microsoft .NET programming languages.It is an aspect of test-driven development , which is part of a larger software design paradigm known as Extreme Programming
See all alternatives

TestNG's Followers
60 developers follow TestNG to keep up with related blogs and decisions.
William Bigno
ROBIN CHAUDHARY
Dika Koko
Alexander Schikora
Ruslan Kanatbek
Keshava K.S
Louis Yang
bhavin kurwa
dhairya rastogi
waterpoweredmonkey