talira

Compare

JestVitestMochapytest
What it isDelightful JavaScript TestingNext generation testing framework powered by ViteFeature-rich JavaScript test framework for Node.js and the browserpytest: helps you write better programs
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.770.840.770.76
Stars45473174342290714744
Last commit2026-11-112026-11-232026-11-232026-11-24
LicenceMITMITMITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYes—Yes
Ways to run it————
SOC 2————
HIPAA————
SSO————
APINo———
PluginsYesYesYesYes
MCP serverNo———
CompanyOpenJS FoundationVoidZero
venture-backed
OpenJS Foundationpytest-dev
Features
  • zero-config setup for most projects
  • interactive watch mode
  • snapshot testing
  • mocks and spies
  • code coverage with --coverage
  • tests isolated in parallel processes
  • failed tests first, ordered by duration
  • reuses Vite's config, transformers, resolvers and plugins
  • Jest-compatible expect, snapshot and mocking APIs
  • watch mode that reruns only related tests
  • ESM, TypeScript and JSX out of the box
  • Browser Mode for component tests in a real browser
  • coverage via v8 or istanbul
  • benchmarking with Tinybench
  • type testing via expect-type
  • All 10 features
  • async testing with promises, async functions and done callbacks
  • serial runs with accurate reporting; parallel mode
  • hooks, exclusive, pending, retried and dynamic tests
  • BDD, TDD, QUnit and exports interfaces
  • many built-in and third-party reporters
  • runs in Node.js and browsers
  • bring your own assertion library
  • plain assert statements with detailed failure reports
  • automatic discovery of test modules and functions
  • modular fixtures for test resources
  • parametrized tests and fixtures
  • runs unittest and trial suites out of the box
  • 1,300+ external plugins
  • rerun failed tests and keep state between runs