Compare · unit testing frameworks

PHPUnit VS TestNG_

As of 30 October 2026, TestNG is named by 470 companies and PHPUnit by 181; PHPUnit skews to companies under 200 people (70% vs 45%), TestNG to companies over 1,000 (30% vs 9%).

As of 30 October 2026 · refreshed daily · counts move as websites, DNS and career sites are re-read.

The website-and-DNS footprint is not comparable between a marketing suite and a CRM: PHPUnit's script and mail records show on hundreds of thousands of small sites, TestNG rarely leaves a trace outside its own apps. Compare on the job-posting numbers; use the footprint for reach.

PHPUnit: 2–200 employees
70%
TestNG: 2–200 employees
45%
PHPUnit: 1,000+ employees
9%
TestNG: 1,000+ employees
30%
Postings per company, 90 days
1.4 · 2.3
Website or DNS footprint
0 · 0
181companies name PHPUnit
470companies name TestNG
0name both
255 · 1,100postings in 90 days, PHPUnit · TestNG
02 — Side by side

Who chooses which

Share of each tool's companies in every segment. "Leans" marks a gap of more than two points.

By company size
SegmentPHPUnitshareTestNGshareLeans
Self-employed42%31%even
2-10 employees137%368%even
11-50 employees6636%7716%PHPUnit
51-200 employees4726%9921%PHPUnit
201-500 employees2313%7516%TestNG
501-1000 employees116%388%TestNG
1001-5000 employees158%6915%TestNG
5001-10000 employees21%266%TestNG
10,001+ employees––4710%outside top 12
By industry
SegmentPHPUnitshareTestNGshareLeans
Technology & software10055%30665%TestNG
Business & finance services3419%9821%TestNG
Commerce & trade127%51%PHPUnit
Consumer services & leisure127%123%PHPUnit
Media & content74%61%PHPUnit
Public, community & associations42%51%even
Manufacturing & industry42%184%even
Utilities & infrastructure32%61%even
Transport, logistics & rental21%––outside top 12
Automotive11%31%even
Health care11%31%even
Hospitality & travel11%31%even
Property & construction––41%outside top 12
By country
SegmentPHPUnitshareTestNGshareLeans
United States6033%29663%TestNG
Germany2313%92%PHPUnit
France179%92%PHPUnit
United Kingdom169%378%even
Poland127%92%PHPUnit
India84%419%TestNG
Austria53%41%even
Netherlands42%––outside top 12
Australia32%71%even
Canada32%51%even
Lithuania32%––outside top 12
Belgium21%––outside top 12
Singapore––61%outside top 12
EG––41%outside top 12
United Arab Emirates––31%outside top 12
Postings by team (share of each tool's postings)
SegmentPHPUnitshareTestNGshareLeans
Software engineering57394%1,46085%PHPUnit
Product, program & project management71%40%even
Education & training20%20%even
IT operations & business systems20%171%even
Marketing & communications20%20%even
Data & AI10%80%even
Engineering (non-software)10%593%TestNG
Quality, safety & environment10%885%TestNG
Unclassified––40%outside top 12
hospitality and food service––30%outside top 12
Customer service & success––20%outside top 12
General management & consulting––20%outside top 12
Cite this

Quote the sentence with the date and the link. The numbers change daily; the link always shows the current ones.

TestNG is named by 470 companies in job postings and PHPUnit by 181; 0 name both. (Breaknorm, 30 October 2026, https://breaknorm.co/compare/phpunit-vs-testng)
How we know

Read from the source, not self-reported

Every number on this page can be traced to a page we crawled or a posting we read. Full methodology →

  • Job postingsRead hourly from career sites. A tool counts when the employer's own text names it as the team's system; both tools can count for one company.
  • Website and DNSScripts and embeds on the company's pages, plus SPF, DKIM, MX and CNAME records of its domain that point at the vendor.
  • SegmentsCountry, size and industry from the company profile built from its website.
  • Not a reviewNo ratings, prices or feature claims. For those, read the vendors.
FAQ

PHPUnit vs TestNG: questions

Which is more used, PHPUnit or TestNG?

By companies naming it in their own job postings, TestNG (470) over PHPUnit (181). By website-and-DNS footprint, TestNG (0 vs 0), because its scripts and mail records sit on many small company sites.

Who chooses PHPUnit?

70% of PHPUnit companies have 2 to 200 employees, against 45% for TestNG. 9% of PHPUnit companies have over 1,000 employees, against 30% for TestNG.

Do companies run both?

0 companies name both in their postings, usually PHPUnit in marketing and TestNG in sales, or during a migration.

Where do these numbers come from?

From the employer's own text in job postings read hourly from career sites, and from scripts found on company websites in our crawl. No vendor data, no surveys.

Companies and people

Get either list your way

The same data as a search, over MCP and the API, as bulk files, or pushed to you as it changes.

Every company on either tool,
with the person who owns it

Filter on PHPUnit or TestNG, and get 1,000 records free.

  1. 01Sign up, no card
  2. 02Connect Claude, ChatGPT or an API key
  3. 03Ask for your market, 1,000 records free