# Codeception/Codeception

Full-stack testing PHP framework

Repository: https://github.com/Codeception/Codeception
Canonical: https://ross.abutalabs.com/products/codeception
Homepage: http://codeception.com
Language: PHP
License: MIT
License Family: permissive
Topics: codeception, php, phpunit, bdd, testing, end-to-end, acceptance-testing, unit-testing, integration-testing, hacktoberfest
Last push: 2026-08-07T03:47:09+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 71, longevity 100
- inputs: {"age_days": 5390, "days_push": 26, "days_rel": 196, "gap_med": 19.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4861, forks 1280 (observed 2026-08-28T04:09:01.544626+00:00)

## What it is
Codeception is a full-stack testing framework for PHP that supports acceptance, functional, and unit testing in a single tool, built on top of PHPUnit. It uses a BDD-inspired, human-readable actor syntax and modular architecture with modules for browsers, frameworks, databases, and APIs.

## Use cases
- write acceptance tests for a php web application
- run end-to-end browser tests with selenium webdriver
- test rest api endpoints in php
- run functional tests inside laravel or symfony without a web server
- run existing phpunit tests alongside acceptance suites
- assert database state after form submissions in tests

## When to choose
- you need acceptance, functional, and unit testing unified in one php tool
- you want readable, BDD-style test scenarios for web apps
- you test applications built with Symfony, Laravel, Yii, or Zend

## When to avoid
- you only need lightweight unit tests and prefer plain PHPUnit
- your project is not written in PHP
- you need testing for non-web domains like mobile or desktop apps

## Facets
- artifact type: framework
- maturity: stable
- function: testing, e2e-testing
- domain: testing, web-development, developer-tools
- platform: php, cli, cross-platform
- tags: bdd, acceptance-testing, unit-testing, integration-testing, phpunit, webdriver, api-testing

## Member repositories
- Codeception/Codeception (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.544626+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:21.752391+00:00, confidence not recorded.
  - readme: https://github.com/Codeception/Codeception (fetched 2026-08-28T04:09:01.544626+00:00, sha 70ffeac38cad)
  - homepage: http://codeception.com (fetched 2026-08-29T09:00:59.435909+00:00, sha 32dabab2b862)
  - site_page: https://codeception.com/quickstart (fetched 2026-08-29T09:00:59.439684+00:00, sha f5f40b6950f1)
  - site_page: https://codeception.com/docs/Introduction (fetched 2026-08-29T09:00:59.441474+00:00, sha 27e05213023e)
  - site_page: https://codeception.com/docs/GettingStarted (fetched 2026-08-29T09:00:59.443422+00:00, sha 3aa70491133e)
  - site_page: https://codeception.com/docs/AcceptanceTests (fetched 2026-08-29T09:00:59.445492+00:00, sha 26da98e8d1ba)
  - site_page: https://codeception.com/docs/FunctionalTests (fetched 2026-08-29T09:00:59.448079+00:00, sha d75885aa9d9b)
  - site_page: https://codeception.com/docs/UnitTests (fetched 2026-08-29T09:00:59.450035+00:00, sha a6a745aafafc)
  - site_page: https://codeception.com/docs/Debugging (fetched 2026-08-29T09:00:59.452511+00:00, sha 8e79039d9cbf)
  - site_page: https://codeception.com/docs/ModulesAndHelpers (fetched 2026-08-29T09:00:59.454415+00:00, sha b74fe547e728)
- Data as of 2026-08-30T08:39:29.467469+00:00.
