awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sebastianbergmann avatar

sebastianbergmann/phpunit

0
View on GitHub↗
20,033 stars·2,224 forks·PHP·BSD-3-Clause·23 viewsphpunit.de↗

Phpunit

PHPUnit is a unit testing framework and automated testing tool for the PHP ecosystem. It provides a comprehensive suite for writing and running automated tests to verify the functional correctness of PHP code and identify software bugs.

The framework supports both unit and end-to-end testing to validate individual code units and complete application workflows. It includes capabilities for automated regression testing and test suite management, allowing for the execution of targeted subsets of tests.

The tool provides mechanisms for identifying flaky tests through automatic retries and test repetition. It also includes utilities for filtering deprecation warnings to isolate functional failures.

Features

  • PHP Testing Frameworks - Serves as a primary framework for writing and running automated unit tests specifically for the PHP ecosystem.
  • Automated Testing Tools - Provides a complete toolset for executing unit and end-to-end tests to identify software bugs.
  • Regression Testing Suites - Provides the infrastructure to run existing test suites to ensure updates do not break existing functionality.
  • Dynamic Mock Objects - Implements dynamic mock object generation to isolate units of code by simulating complex dependencies.
  • Assertion Libraries - Provides a comprehensive library of assertion methods to verify that code outputs match expected values.
  • Unit Testing - Enables the verification of individual code units in isolation to ensure correct behavior of functions and classes.
  • Test Suites - Allows organizing and executing specific subsets of tests to provide faster feedback during development.
  • Test Isolation - Allows running tests in separate processes to prevent side effects from leaking between test cases.
  • Test Retry Strategies - Implements automatic re-execution of failing tests to identify and isolate flaky test cases.
  • End-to-End Testing - Supports the validation of complete application workflows to ensure system components integrate correctly.
  • Test Repeaters - Includes mechanisms to repeat failed tests automatically to identify intermittent environment issues or flakiness.
  • Test Discovery Mechanisms - Automatically identifies executable test cases by scanning classes and methods for specific naming patterns.
  • Test Suite Filters - Enables the selection of specific test subsets by matching attributes against runtime configuration flags.
  • Test Lifecycle Hooks - Offers predefined method signatures for executing setup and teardown logic at various stages of the test lifecycle.
  • Testing and Quality - Standard unit testing framework.

Star history

Star history chart for sebastianbergmann/phpunitStar history chart for sebastianbergmann/phpunit

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does sebastianbergmann/phpunit do?

PHPUnit is a unit testing framework and automated testing tool for the PHP ecosystem. It provides a comprehensive suite for writing and running automated tests to verify the functional correctness of PHP code and identify software bugs.

What are the main features of sebastianbergmann/phpunit?

The main features of sebastianbergmann/phpunit are: PHP Testing Frameworks, Automated Testing Tools, Regression Testing Suites, Dynamic Mock Objects, Assertion Libraries, Unit Testing, Test Suites, Test Isolation.

What are some open-source alternatives to sebastianbergmann/phpunit?

Open-source alternatives to sebastianbergmann/phpunit include: vitest-dev/vitest — Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an… codeception/codeception — Codeception is a full-stack testing framework for PHP applications that provides a unified interface for unit,… quii/learn-go-with-tests — This project is an educational platform and tutorial series designed to teach the Go programming language through the… thomhurst/tunit — TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source… jquery/qunit — QUnit is a JavaScript unit testing framework designed to verify code behavior using assertions and lifecycle hooks… sebastianbergmann/phpunit-mock-objects — This project is a mocking framework and library designed for creating simulated objects to isolate code and verify…

Open-source alternatives to Phpunit

Similar open-source projects, ranked by how many features they share with Phpunit.
  • vitest-dev/vitestvitest-dev avatar

    vitest-dev/vitest

    15,970View on GitHub↗

    Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an integrated environment that supports unit, integration, and browser-based testing, allowing developers to execute test suites natively without requiring separate build steps or complex configuration. The project distinguishes itself through a highly optimized execution model that leverages worker-thread isolation and on-demand module transformation to provide rapid feedback. It includes a comprehensive suite of mocking and spying utilities that allow for the interception of depen

    TypeScripttesttesting-toolsvite
    View on GitHub↗15,970
  • codeception/codeceptionCodeception avatar

    Codeception/Codeception

    4,855View on GitHub↗

    Codeception is a full-stack testing framework for PHP applications that provides a unified interface for unit, functional, and acceptance testing. It serves as a tool for automating real desktop and mobile browsers via the WebDriver protocol and acts as a client for testing REST and SOAP APIs. The framework is distinguished by its support for Behavior-Driven Development, allowing users to write human-readable test specifications in Gherkin language to align technical tests with business requirements. It implements actor-based action mapping to connect these natural language steps to executabl

    PHP
    View on GitHub↗4,855
  • quii/learn-go-with-testsquii avatar

    quii/learn-go-with-tests

    23,510View on GitHub↗

    This project is an educational platform and tutorial series designed to teach the Go programming language through the practice of test-driven development. It provides a structured path for developers to master language fundamentals, concurrency, and standard library usage by building functional applications in small, verifiable increments. The core methodology centers on the test-driven development cycle, where failing tests are written before implementation to define requirements and ensure code correctness. This approach is applied across a wide range of practical scenarios, including the c

    Gogogolangtdd
    View on GitHub↗23,510
  • thomhurst/tunitthomhurst avatar

    thomhurst/TUnit

    3,744View on GitHub↗

    TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source generation for test discovery and mock creation, ensuring compatibility with Native AOT and IL trimming by eliminating the need for runtime reflection and proxies. The framework provides specialized capabilities for integration testing, including the management of distributed application lifecycles, isolated database schemas, and the correlation of telemetry and logs across process boundaries via OTLP. It also includes an HTTP testing utility to intercept network exchanges and mock AP

    C#csharpdotnettest
    View on GitHub↗3,744
See all 30 alternatives to Phpunit→