Skip to content
SPECIFICTION
Get listed

Jasmine vs pytest

Jasmine

jasmine.github.io

pytest

pytest.org

Side by side

FigureJasminepytest
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYes—
macOSYes—
LinuxYesYes
Plans published11
Spec score · Unit Testing7.9 (#11)7.4 (#20)
Spec score · Unit Testing Frameworks7.9 (#14)7.4 (#26)
IntegrationsThe browser runner can use Sauce Labs or a user's own Selenium Grid as a remote browser grid.The documentation describes loading external plugins, including pytest-cov, and pytest can be invoked from Python code.
PurposeJasmine is a framework for testing JavaScript code that runs in browsers and Node.js.pytest is a framework for writing small, readable tests that can scale to complex functional testing for applications and libraries.
SupportThe project directs users to its GitHub repository to report issues and contribute.The project directs users to GitHub issues for bugs and feature requests and offers commercial support and maintenance through Tidelift Subscription.

Plans

Jasmine

  • JasmineFree

Jasmine pricing →

pytest

  • pytestFree

pytest pricing →

In their own words

Jasmine

Jasmine is a free, open-source framework for testing JavaScript code in browsers and Node.js. Tests use JavaScript’s describe/it structure and expect matchers. The jasmine-core package has no external dependencies, and the framework does not rely on other JavaScript frameworks. For Node, developers can install the package locally with npm and run it using npx jasmine; the standalone distribution runs browser specs without other tools or a web server. Jasmine supports ES modules, and its Node setup can also load CommonJS modules. The jasmine-browser-runner supports interactive browser runs and CI execution with headless Chrome or Sauce Labs. It can also connect to Sauce Labs or a user’s own Selenium Grid as a remote browser grid. Runners can be configured, reporters and matchers customized, and spec order randomized. The project lists JavaScript and TypeScript support, parallel execution and built-in mocks. Browser and Node compatibility follows a rolling window, so older platforms may receive best-effort support or be dropped in minor releases. The FAQ notes that the unmaintained karma-jasmine adapter depends on jasmine-core 4.x, which can limit access to newer Jasmine features. The project uses the MIT License and directs users to GitHub for issues and contributions.

Visit jasmine.github.io

pytest

pytest has no write-up on Specifiction yet; its figures are above.

Visit pytest.org