Softwr

Testing · head to head

TestNG vs Umami

TestNG logo

TestNG

Testing

Java testing framework created by Cedric Beust, still actively maintained but effectively a single-lead project

From
Free
Rated
-
Umami logo

Umami

Marketing

Open source, cookie-free web analytics you can self-host for the cost of a database

From
Free
Rated
-

The short version

  • Each has a real cost: TestNG maintainership is concentrated around creator Cedric Beust rather than a broad team or foundation, which is a real continuity risk compared to JUnit's independent team or Jest's foundation backing.; Umami there is no cohort analysis, retention curve, session replay or multi-touch attribution, so a marketing team that needs to justify channel spend will still buy a second tool and Umami becomes a supplementary dashboard.
  • They diverge on capability: TestNG covers Test dependencies, Umami covers Cookie-free tracking.
  • Prices and features above were last checked on 1 September 2026.

Where they differ

Only the attributes on which TestNG and Umami actually diverge.

Attributes where TestNG and Umami differ
AttributeTestNGUmami
Pricing modelOpen source, no licence feePer month by event count
PlatformsLinux, macOS, WindowsWeb, Linux
CategoryTestingMarketing

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).

What each one covers

Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in TestNG

  • Test dependencies
  • XML suite configuration
  • Native parallel execution
  • Data providers
  • Grouping
  • Flexible reporting

Only in Umami

  • Cookie-free tracking
  • Self-hosting
  • Small tracking script
  • Custom events
  • Funnels and goals
  • Multi-site and teams
  • Public dashboards
  • API access

What people use each for

The jobs each tool is most often brought in to do.

TestNG

  • A Java integration test suite that needs to skip dependent tests automatically when a prerequisite test failsnot Umami
  • A team wanting XML-based suite configuration to manage large, grouped test suites without touching code for each runnot Umami
  • A project needing native parallel test execution at the class or method level without adding a separate pluginnot Umami
  • A Selenium-based UI test suite that uses TestNG as the underlying runner for grouping and parallelisationnot Umami

Umami

  • A developer who wants traffic numbers on a personal or client site without adding a consent bannernot TestNG
  • An organisation whose legal or procurement team has ruled out sending visitor data to a US advertising companynot TestNG
  • A high-traffic site where hosted analytics priced by pageview band has become expensive and self-hosting removes the ceiling entirelynot TestNG
  • A team that wants analytics data in a database they already control so they can query and join it themselvesnot TestNG

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

TestNG

  • Maintainership is concentrated around creator Cedric Beust rather than a broad team or foundation, which is a real continuity risk compared to JUnit's independent team or Jest's foundation backing.
  • It is a smaller ecosystem than JUnit, so fewer third-party integrations, tutorials and Stack Overflow answers exist for edge cases.
  • XML-based suite configuration, while powerful, is an extra file and syntax to maintain alongside the codebase, which some teams find adds friction JUnit's more code-centric model avoids.
  • There is no commercial support tier or vendor relationship of any kind, unlike JUnit's OpenElements arrangement, so an enterprise wanting a support contract has no route to buy one.
  • Release cadence, while active, is slower and less frequent than JUnit 5's, since it depends on a much smaller pool of active maintainers.

Umami

  • There is no cohort analysis, retention curve, session replay or multi-touch attribution, so a marketing team that needs to justify channel spend will still buy a second tool and Umami becomes a supplementary dashboard.
  • Self-hosting is only free in licence terms; you own the database, the upgrades, the backups and the query performance at scale, and a busy site's events table grows quickly enough to need real attention.
  • Because it stores no persistent identifier, it cannot follow a user across devices or sessions in any meaningful way, which makes returning-visitor and lifetime-value questions unanswerable by design rather than by omission.
  • Cloud overage is billed per event beyond the plan allowance, so a traffic spike or a badly instrumented custom event can produce a bill materially above the $20 or $200 headline before anyone notices.
  • It is maintained by a small team, so the pace of new capability is modest and enterprise expectations such as SSO, granular role permissions and formal support agreements are limited compared with commercial analytics vendors.

Pricing, plan by plan

TestNG

Free
  • TestNGFree
    • Full functionality, no usage limits
    • Community support via GitHub
    • No commercial support tier exists

Umami

Free
  • Self-hostedFree
    • MIT licensed, no licence fee
    • No event limit imposed by the software
    • Unlimited websites and users
  • Cloud HobbyFree
    • Up to 100,000 events per month
    • 3 websites
    • 6 months data retention
  • Cloud Pro$20/month
    • Up to 1,000,000 events per month
    • Unlimited websites
    • Unlimited team members
  • Cloud Business$200/month
    • Up to 10,000,000 events per month
    • All Pro features
    • Higher volume overage rate

Which should you pick?

Choose TestNG if

  • You need test dependencies.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want xml suite configuration.

Choose Umami if

  • You need cookie-free tracking.
  • You want to start without paying.
  • You work on Web, Linux.
  • You also want self-hosting.

Questions people ask

Is TestNG or Umami better?
Neither clearly leads. TestNG starts at Free and Umami at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, TestNG or Umami?
TestNG starts at Free and Umami at Free.
Does TestNG or Umami run on more platforms?
TestNG runs on Linux, macOS, Windows. Umami runs on Web, Linux.
Can I use TestNG for free?
Both have a free tier, so you can try either at no cost before committing.
What is TestNG best used for?
TestNG is most often used for a java integration test suite that needs to skip dependent tests automatically when a prerequisite test fails, a team wanting xml-based suite configuration to manage large, grouped test suites without touching code for each run, a project needing native parallel test execution at the class or method level without adding a separate plugin, a selenium-based ui test suite that uses testng as the underlying runner for grouping and parallelisation. Of those, a java integration test suite that needs to skip dependent tests automatically when a prerequisite test fails and a team wanting xml-based suite configuration to manage large, grouped test suites without touching code for each run are not what Umami is typically brought in for.
What can TestNG do that Umami cannot?
TestNG covers Test dependencies, XML suite configuration, Native parallel execution, Data providers. Umami covers Cookie-free tracking, Self-hosting, Small tracking script, Custom events.

Answered from the vendors’ own pages

TestNG: Is TestNG still actively maintained in 2026?

Yes, it continues to receive releases in its 7.x line with support for current Java versions, though maintenance is concentrated around a small team led by its creator.

Umami: Is Umami really free?

Self-hosted, yes; it is MIT licensed with no event cap. You pay for the server and database. Umami Cloud has a free tier at 100,000 events a month and paid tiers from $20.

TestNG: What does TestNG offer that JUnit does not?

Native test dependencies, XML-based suite configuration and built-in parallel execution without needing external plugins, all of which JUnit users typically add via separate libraries.

Umami: Do I need a cookie consent banner?

For Umami analytics specifically, generally no, because it sets no cookies and stores no personal data. Other tags on your site may still require one.

TestNG: Is there a commercial support option for TestNG?

No, unlike JUnit there is no commercial support arrangement; support is purely community-based through GitHub.

Umami: Can it replace Google Analytics?

For traffic, referrers and event counts, yes. For attribution modelling, audiences and advertising integration, no.

Umami: What does it need to run?

A container and a PostgreSQL or MySQL database. Most people deploy it on infrastructure they already pay for.

Share

Related pages

Other head to heads