# Jasmine vs PHPUnit

**Leader by Vioscale score:** Jasmine

| Attribute | Jasmine | PHPUnit |
|---|---|---|
| **Vioscale score** | 68.6 (71% (medium)) | 62 (33% (low)) |
| activity.commits_last_30d | 13 | 100 |
| adoption.dependent_repos | 846,026 | 777,462 |
| adoption.github_stars | 15,823 | 20,045 |
| adoption.package_downloads_weekly | 1,359,504 | - |
| deployment.options | - | `{"self_hosted":true}` |
| description.long | 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. | 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.3.1","date":"2026-08-13T13:16:00Z","type":"stable","version":"13.3.1"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.36","date":"2026-08-11T06:30:51Z","type":"stable","version":"9.6.36"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.54","date":"2026-08-11T06:07:55Z","type":"stable","version":"8.5.54"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.3.0","date":"2026-08-07T07:38:42Z","type":"stable","version":"13.3.0"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.6","date":"2026-07-28T14:01:46Z","type":"stable","version":"13.2.6"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.33","date":"2026-07-28T14:00:09Z","type":"stable","version":"12.5.33"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.5","date":"2026-07-25T07:01:26Z","type":"stable","version":"13.2.5"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.32","date":"2026-07-25T06:58:57Z","type":"stable","version":"12.5.32"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.4","date":"2026-07-08T08:38:10Z","type":"stable","version":"13.2.4"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.3","date":"2026-07-06T14:59:31Z","type":"stable","version":"13.2.3"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.31","date":"2026-07-06T14:56:41Z","type":"stable","version":"12.5.31"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.56","date":"2026-07-06T14:54:46Z","type":"stable","version":"11.5.56"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.64","date":"2026-07-06T14:52:17Z","type":"stable","version":"10.5.64"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.35","date":"2026-07-06T14:50:10Z","type":"stable","version":"9.6.35"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.53","date":"2026-07-06T14:47:15Z","type":"stable","version":"8.5.53"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.2","date":"2026-06-29T13:38:23Z","type":"stable","version":"13.2.2"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.1","date":"2026-06-15T13:17:06Z","type":"stable","version":"13.2.1"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.30","date":"2026-06-15T13:14:35Z","type":"stable","version":"12.5.30"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.2.0","date":"2026-06-05T03:14:45Z","type":"stable","version":"13.2.0"},{"url":"https://github.com/sebastianbergmann/phpunit/releases/tag/13.1.14","date":"2026-06-04T06:18:17Z","type":"stable","version":"13.1.14"}]` |
| security.disclosure_policy | - | yes |
| security.scorecard | 4 | 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: Vioscale. Generated 2026-09-01T16:41:00.120Z. "-" = undocumented, not absent.*
