# Jasmine vs PHPUnit

**Leader by vioscaleAI score:** Jasmine

| Attribute | Jasmine | PHPUnit |
|---|---|---|
| **vioscaleAI score** | 64.8 (70% (medium)) | 56.7 (32% (low)) |
| activity.commits_last_30d | 5 | 100 |
| adoption.dependent_repos | 846,026 | 777,462 |
| adoption.github_stars | 15,812 | 20,063 |
| adoption.package_downloads_weekly | 1,167,594 | - |
| content.faq | `[{"answer":"A testing framework for writing and running JavaScript tests in browsers and Node.js environments. Features a straightforward syntax and does not modify how code loads or executes. It is indexed under Testing Tools.","source":"https://jasmine.github.io/","question":"What is Jasmine?","confidence":0.6},{"answer":"Jasmine is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://jasmine.github.io/","question":"Is Jasmine free to use?","confidence":0.6},{"answer":"Jasmine supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://jasmine.github.io/","question":"What platforms does Jasmine support?","confidence":0.6},{"answer":"Yes. Jasmine is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/jasmine/jasmine","question":"Is Jasmine open source?","confidence":0.99}]` | `[{"answer":"PHPUnit helps developers verify their PHP code through automated unit testing. It provides a framework for writing, organizing, and running tests. It is indexed under Testing Tools.","source":"https://phpunit.de","question":"What is PHPUnit?","confidence":0.6},{"answer":"PHPUnit is open source, so it can be self-hosted and used at no licence cost. It is released under the BSD-3-Clause licence. Pricing changes often, so verify at source before relying on it.","source":"https://phpunit.de","question":"Is PHPUnit free to use?","confidence":0.6},{"answer":"PHPUnit supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://phpunit.de","question":"What platforms does PHPUnit support?","confidence":0.6},{"answer":"Yes. PHPUnit can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://phpunit.de","question":"Can PHPUnit be self-hosted?","confidence":0.6},{"answer":"Yes. PHPUnit is published under the BSD-3-Clause licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/sebastianbergmann/phpunit","question":"Is PHPUnit open source?","confidence":0.95},{"answer":"PHPUnit is available worldwide. Its primary market is Germany.","source":"https://phpunit.de","question":"Where is PHPUnit available?","confidence":0.5}]` |
| deployment.options | - | `{"self_hosted":true}` |
| description.long | A JavaScript testing framework designed to run test suites in both browser and Node.js environments | PHPUnit helps developers verify their PHP code through automated unit testing. It provides a framework for writing, organizing, and running tests. |
| features.capabilities | `{"mocking":true,"languages":"JavaScript, TypeScript","assertions":true,"browser_automation":false,"parallel_execution":true}` | `{"coverage":true,"languages":"PHP","test_types":"unit"}` |
| language.primary | JavaScript | PHP |
| license.spdx | MIT | BSD-3-Clause |
| market.availability | - | `{"primaryMarkets":["DE"],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","summary":"Free and open source","freeTier":true,"sourceUrl":"https://jasmine.github.io/","retrievedAt":"2026-08-13T23:00:38.163Z"}` | `{"type":"open_source","sourceUrl":"https://phpunit.de","retrievedAt":"2026-08-13T23:02:05.270Z"}` |
| pricing.free_tier | yes | - |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | 13 | - |
| release.history | `[{"url":"https://github.com/jasmine/jasmine/releases/tag/v7.0.1","date":"2026-08-15T20:39:13Z","type":"stable","version":"v7.0.1"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v7.0.0","date":"2026-08-15T20:21:32Z","type":"stable","version":"v7.0.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v7.0.0-pre.2","date":"2026-06-27T16:28:53Z","type":"prerelease","version":"v7.0.0-pre.2"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.3.0","date":"2026-06-06T17:36:07Z","type":"stable","version":"v6.3.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.2.0","date":"2026-04-11T18:22:37Z","type":"stable","version":"v6.2.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v7.0.0-pre.0","date":"2026-02-22T22:25:51Z","type":"prerelease","version":"v7.0.0-pre.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.1.0","date":"2026-02-22T20:48:20Z","type":"stable","version":"v6.1.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.1","date":"2026-01-19T16:13:31Z","type":"stable","version":"v6.0.1"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0","date":"2026-01-17T19:54:00Z","type":"stable","version":"v6.0.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0-beta.1","date":"2025-12-06T19:47:43Z","type":"prerelease","version":"v6.0.0-beta.1"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.13.0","date":"2025-12-02T01:41:02Z","type":"stable","version":"v5.13.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0-beta.0","date":"2025-11-28T20:00:08Z","type":"prerelease","version":"v6.0.0-beta.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0-alpha.2","date":"2025-11-15T22:49:45Z","type":"prerelease","version":"v6.0.0-alpha.2"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.12.1","date":"2025-10-30T03:03:47Z","type":"stable","version":"v5.12.1"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0-alpha.1","date":"2025-10-18T20:19:04Z","type":"prerelease","version":"v6.0.0-alpha.1"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.12.0","date":"2025-10-05T19:44:18Z","type":"stable","version":"v5.12.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v6.0.0-alpha.0","date":"2025-09-30T03:10:29Z","type":"prerelease","version":"v6.0.0-alpha.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.11.0","date":"2025-09-27T00:16:27Z","type":"stable","version":"v5.11.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.10.0","date":"2025-08-30T20:55:32Z","type":"stable","version":"v5.10.0"},{"url":"https://github.com/jasmine/jasmine/releases/tag/v5.9.0","date":"2025-07-19T15:49:14Z","type":"stable","version":"v5.9.0"}]` | `[{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.4.2","date":"2026-10-12T15:30:52Z","type":"stable","version":"13.4.2"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.39","date":"2026-10-12T15:29:03Z","type":"stable","version":"12.5.39"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.4.1","date":"2026-10-05T05:53:02Z","type":"stable","version":"13.4.1"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.38","date":"2026-10-05T05:51:01Z","type":"stable","version":"12.5.38"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.57","date":"2026-10-05T05:49:05Z","type":"stable","version":"11.5.57"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.66","date":"2026-10-05T05:47:48Z","type":"stable","version":"10.5.66"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.38","date":"2026-10-05T05:45:41Z","type":"stable","version":"9.6.38"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.56","date":"2026-10-05T05:43:47Z","type":"stable","version":"8.5.56"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.4.0","date":"2026-10-02T03:22:56Z","type":"stable","version":"13.4.0"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.6","date":"2026-09-29T12:14:02Z","type":"stable","version":"13.3.6"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.37","date":"2026-09-29T12:10:42Z","type":"stable","version":"12.5.37"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.5","date":"2026-09-25T08:43:08Z","type":"stable","version":"13.3.5"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.36","date":"2026-09-25T08:48:48Z","type":"stable","version":"12.5.36"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.65","date":"2026-09-23T10:01:55Z","type":"stable","version":"10.5.65"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.37","date":"2026-09-23T10:01:12Z","type":"stable","version":"9.6.37"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.55","date":"2026-09-23T09:59:56Z","type":"stable","version":"8.5.55"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.4","date":"2026-09-15T07:39:45Z","type":"stable","version":"13.3.4"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.3","date":"2026-09-09T04:52:50Z","type":"stable","version":"13.3.3"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.35","date":"2026-09-09T04:51:29Z","type":"stable","version":"12.5.35"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.2","date":"2026-08-27T08:43:23Z","type":"stable","version":"13.3.2"}]` |
| security.disclosure_policy | - | yes |
| security.scorecard | 4.1 | 4.5 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=jasmine-core&per_page=100","last_12m":0,"max_severity":null}` | `{"count":4,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=packagist&package_name=phpunit%2Fphpunit&per_page=100","last_12m":3,"max_severity":"CRITICAL"}` |

## Capabilities (Testing Tools)

| Capability | Jasmine | PHPUnit |
|---|:--:|:--:|
| **Core** |  |  |
| Test types | - | Unit |
| Browser automation | ✗ | - |
| Built-in assertion library | ✓ | - |
| Languages | JavaScript, TypeScript | PHP |
| **Isolation** |  |  |
| Mocking / stubbing | ✓ | - |
| **Techniques** |  |  |
| Snapshot testing | - | - |
| **Performance** |  |  |
| Parallel execution | ✓ | - |
| **Insight** |  |  |
| Code coverage | - | ✓ |
| **DX** |  |  |
| Watch mode | - | - |
| **Ops** |  |  |
| CI integration | - | - |

*Source: vioscaleAI. Generated 2026-10-16T21:45:14.109Z. "-" = undocumented, not absent.*
