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.4k Stars
461 Forks
10.4k Watchers
PHP Language
bsd-3-clause License
Cost to Build
$265.3K
Market Value
$878.5K

Growth over time

21 data points  ·  2019-01-01 → 2023-07-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 master.zip

Found an issue?

Report bugs or request features on the mockery issue tracker:

Open GitHub Issues