October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Install TestNG in Eclipse: Step-by-Step Guide

Install TestNG’s Eclipse plug-in through Marketplace or the official update site, verify it in Eclipse, and learn why Maven or Gradle projects still need the framework dependency.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install the TestNG Eclipse plug-in through Eclipse Marketplace or the official update site, then restart Eclipse and confirm the TestNG view appears. If your project uses Maven or Gradle, add TestNG to that project’s build separately: the IDE plug-in does not replace the framework dependency.

Check the requirements first

The TestNG Eclipse plug-in documentation specifies Eclipse 4.2 or later. It says plug-in versions 7.8.0 and later require Java 11 or later, while versions through 7.4.0 require Java 8. It does not state the Java requirement for every version between those ranges, so check the exact release requirements before installing one of those versions. See the official TestNG Eclipse plug-in download page.

These are stated minimums, not a complete compatibility matrix for every Eclipse release, operating system, and plug-in version.

Choose an installation method

Method Where you start What you need to enter
Eclipse Marketplace The TestNG listing in Marketplace No repository URL; follow the Marketplace installation prompts.
Official update site Eclipse’s Help menu The repository URL: https://testng.org/testng-eclipse-update-site.

Both methods install the Eclipse plug-in. Neither adds the TestNG dependency to your project’s build. The official Marketplace and update-site procedures are described on the TestNG download page.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Book of Eclipse - TAMA-EN041 - Tactical Masters - Rare - 1st Edition
  • A single individual card from the Yu-Gi-Oh! trading and collectible card game (TCG/CCG).
  • This is of rare rarity.
  • You will receive the 1st Edition version of this card.

Install from Eclipse Marketplace

  1. Open the TestNG listing in Eclipse Marketplace.
  2. Use the listing’s Install control. The official instructions also describe dragging the Marketplace Install icon onto the Eclipse workspace.
  3. Follow the prompts in Eclipse to complete installation.
  4. Restart Eclipse when prompted or after the wizard finishes.

Install from the official update site

  1. In Eclipse, choose Help → Install New Software….
  2. In Work with, enter https://testng.org/testng-eclipse-update-site.
  3. Make sure the checkbox beside the repository URL is selected, then choose Next.
  4. Continue through the installation wizard, accepting the prompts needed to finish.
  5. Restart Eclipse after installation.

The official update-site listing also provides version-specific repository URLs. Use the main release site for an ordinary installation; choose a versioned site only when you intentionally need that release. The listing reviewed here included versions through 7.11.0, but the available versions can change. Check the current update-site listing before selecting a specific version.

Verify that Eclipse recognizes TestNG

  1. After restarting Eclipse, choose Window → Show View → Other….
  2. Expand the Java category.
  3. Look for and open the TestNG view.

The plug-in also adds a TestNG entry under File → New → TestNG for creating a TestNG class. Its IDE workflows can launch tests from classes, methods, groups, or suite XML files. See the TestNG Eclipse plug-in documentation.

Add TestNG to the project separately

The plug-in integrates TestNG into Eclipse; your Java project still needs the TestNG framework dependency in its build configuration. For a Maven- or Gradle-managed project, follow the dependency instructions on TestNG’s official download page and select a version compatible with your project. Do not assume installing the Eclipse plug-in has changed the project’s pom.xml or Gradle build file.

If you use Maven in Eclipse, the plug-in documentation describes an optional M2E integration plug-in and recommends it for Maven projects. It is an optional integration, not a universal prerequisite for TestNG. The framework’s test-running concepts are covered in the TestNG documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshoot common installation problems

Eclipse cannot reach or read the update site

Check whether your proxy or corporate firewall permits access to the official repository. TestNG’s troubleshooting page identifies https://testng.org/testng-p2-update-site as its P2 update site and discusses an offline update-site option when Eclipse cannot reach the online site. These are troubleshooting options, not guaranteed fixes for every network or installation failure. See TestNG’s troubleshooting guidance.

The plug-in installs but its view is missing on Windows

Check that the Eclipse installation folder grants your user full rights, as recommended by the TestNG troubleshooting page. Then restart Eclipse and check Window → Show View → Other… → Java again.

Rank #4
DNAgents #9 Eclipse
  • Written by Mark Evanier
  • Illustrated by Will Meugniot, Dan Spiegle

An old tutorial’s repository URL fails

Use the currently documented main release URL, https://testng.org/testng-eclipse-update-site, rather than a repository URL copied from an older tutorial. If you deliberately need a particular plug-in release, select its versioned repository from the official update-site listing.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you need a website screenshot while working through a web-based setup guide, ScreenshotNeo can return a screenshot or PDF with one GET request. For example, this cURL request captures the TestNG plug-in page; replace the URL with the page you need. See the ScreenshotNeo API documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://testng.org/testng-eclipse/ -o shot.webp
  • Cookie and consent banners are accepted like a visitor, and 60+ known consent platforms, newsletter popups, and chat widgets can be removed before capture; each step can be turned off.
  • Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing. Each response reports its page verdict and billing status in headers.
  • An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents, including Claude, Cursor, and other MCP clients.
  • The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up for ScreenshotNeo’s free plan: 1,000 screenshots a month, no card required.

Quick Recap

SaleBestseller No. 1
Book of Eclipse - TAMA-EN041 - Tactical Masters - Rare - 1st Edition
Book of Eclipse - TAMA-EN041 - Tactical Masters - Rare - 1st Edition
A single individual card from the Yu-Gi-Oh! trading and collectible card game (TCG/CCG).; This is of rare rarity.
$0.60
Bestseller No. 4
DNAgents #9 Eclipse
DNAgents #9 Eclipse
Written by Mark Evanier; Illustrated by Will Meugniot, Dan Spiegle
$10.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.