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.
Who uses TestNG?
3 companies reportedly use TestNG in their tech stacks, including Platform, Ten-X, and Novatium Solutions.
22 developers on StackShare have stated that they use TestNG.
IntelliJ IDEA, Eclipse, Apache Maven, Provar, and ScalaTest 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’s a list of reasons why companies and developers use TestNG
Be the first to leave a pro
- 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?
See all alternatives
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.