Mockery是一个简单但灵活的PHP模拟对象框架,用于PHPUnit、PHPSpect或任何其他测试框架的单元测试。它的核心目标是提供一个具有简洁API的测试双重框架,能够使用人类可读的领域特定语言(DSA)清楚地定义所有可能的对象操作和交互。
mockery 开源项目推荐(70 个)
mockery 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 70 个仓库WordPress API Mocking Framework
The right way to mock dependencies in Node.js or webpack environment.
Mocking utility for PHP functions and WordPress plugin API
PHPStan extension for Mockery
Generate test cases for existing PHP files
Mock non deterministic built-in PHP functions (e.g. time() or rand()) with Mockery.
Jupiter Project Layout
Advanced Example for mockery
This is a RESTful API of E-Wallet project made with golang.
Uses Faker and Brain Monkey to provide easy generation of fake WordPress objects and related functions
mockcompose generates mocking implementation for Go classes, interfaces and functions
Common PHP Development Tools meta-package
该项目在 GitHub 上没有填写描述
Shorthand for creating mock objects ☕
A comprehensive guide to mastering backend development with Golang, focusing on the GIN framework and MongoDB. This repository provides a curated learning path with practical examples, best practices, and project-based tutorials to help you build robust backend systems.
Mock core PHP functions using a Mockery like interface
[Experimental] Database Mocking Library which mocks PDO underlying Laravel Connection classes
Code examples with several PHP testing tools
Composes all relevant packages for WP components unit testing
关于这个话题
- 清单取自 GitHub 话题页并按 Star 数排序,每次展示前 20 个项目;原始页面见 https://github.com/topics/mockery。
- 该话题在 GitHub 上共有 70 个仓库, 本站收录的是其中最热门的 20 个,不是全量列表。
- Star / Fork 每日自动刷新一次,实时数据以 GitHub 为准。
- 当前 20 个项目累计 1.3 万 Star,覆盖 3 种主要语言,数据更新于 2026-11-07。
- 中文介绍来自 GitHub 官方话题说明(github/explore)的机器翻译,可点「查看原文」对照;译文缺失时会先展示原文。