awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sebastianbergmann avatar

sebastianbergmann/phpunit

0
View on GitHub↗
20,033 星标·2,224 分支·PHP·BSD-3-Clause·7 次浏览phpunit.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 历史

sebastianbergmann/phpunit 的 Star 历史图表sebastianbergmann/phpunit 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

sebastianbergmann/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.

sebastianbergmann/phpunit 的主要功能有哪些?

sebastianbergmann/phpunit 的主要功能包括:PHP Testing Frameworks, Automated Testing Tools, Regression Testing Suites, Dynamic Mock Objects, Assertion Libraries, Unit Testing, Test Suites, Test Isolation。

sebastianbergmann/phpunit 有哪些开源替代品?

sebastianbergmann/phpunit 的开源替代品包括: 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…

Phpunit 的开源替代方案

相似的开源项目,按与 Phpunit 的功能重合度排序。
  • vitest-dev/vitestvitest-dev 的头像

    vitest-dev/vitest

    15,970在 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
    在 GitHub 上查看↗15,970
  • codeception/codeceptionCodeception 的头像

    Codeception/Codeception

    4,855在 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
    在 GitHub 上查看↗4,855
  • quii/learn-go-with-testsquii 的头像

    quii/learn-go-with-tests

    23,510在 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
    在 GitHub 上查看↗23,510
  • thomhurst/tunitthomhurst 的头像

    thomhurst/TUnit

    3,744在 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
    在 GitHub 上查看↗3,744
查看 Phpunit 的所有 30 个替代方案→