mockery

mockery

mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

10.7k Stars
469 Forks
72 Watchers
PHP Language
bsd-3-clause License
100 SrcLog Score
Cost to Build
$15.20M
Market Value
$95.02M

Growth over time

25 data points  ·  2019-01-01 → 2026-09-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about mockery

Question copied to clipboard

What is the mockery/mockery GitHub project? Description: "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).". Written in PHP. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone mockery

Clone via HTTPS

git clone https://github.com/mockery/mockery.git

Clone via SSH

[email protected]:mockery/mockery.git

Download ZIP

Download 1.6.x.zip

Found an issue?

Report bugs or request features on the mockery issue tracker:

Open GitHub Issues