talira

Compare

phpspecBehatPestPHPUnit
What it isSpecification-oriented BDD framework for PHPBehaviour-driven development for PHPThe elegant PHP testing frameworkThe testing framework for PHP
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.460.690.720.73
Stars190339751178720076
Last commit2026-10-172026-11-202026-11-232026-11-27
LicenceMITMITMITBSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes——
MCP server————
CompanyphpspecKonstantin KudryashovNuno MaduroSebastian Bergmann
Features
  • specification-oriented BDD
  • code generation from specs
  • closure-based DSL inspired by RSpec and Jasmine (v9)
  • AI pair programming mode
  • Gherkin features and scenarios in plain language
  • PHP step definitions, hooks and argument transformations
  • profiles, tags and suites to run the same features different ways
  • output formatters, including custom ones
  • extension system for framework integrations, browser automation, reporters and fixtures
  • works with any PHP framework, or none
  • closure-based tests with it() and test() and a chainable expect() API
  • datasets that run one test over many inputs
  • parallel testing, profiling and sharding
  • architecture, snapshot, browser, mutation and stress testing
  • test coverage and type coverage reports
  • Tia Engine: reruns only the tests a change affects
  • TestCase classes with assertions
  • data providers and test dependencies
  • test doubles and mock objects
  • attributes to configure tests
  • code coverage reports
  • JUnit XML logging for CI
  • Composer package or self-contained PHAR (also via Phive)
  • PHPT tests
Limitations
      • Requires PHP 8.4 or later (Pest 5)