mrkrstphr/peridot-automock-plugin
A Peridot plugin that integrates Automock, enabling specs to automatically generate mocks for collaborator dependencies and reducing manual test-double setup so tests stay concise and focused.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| expect/peridot-expect-plugin | 0.83 | Peridot plugin that adds Expect-style assertions to your specs, so you can write expressive expect($value)->to... checks inside Peridot tests. Install with Composer and enable the plugin in your Peridot configuration for readable, behavior-driven PHP testing. | 1 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| peridot-php/peridot | 0.82 | Peridot is a lightweight, extensible PHP testing framework with a descriptive BDD-style syntax. Write expressive specs using describe/it blocks, custom DSLs, and plugins, with clear reporting for readable, maintainable test suites. | 324 | — | 28 | — | 7 | 4.5 | 2.3 | MIT | 9 years ago |
|
| holyshared/robo-peridot | 0.82 | Robo task helpers for the Peridot PHP testing framework. Adds Peridot spec-running commands to your RoboFile so you can execute and manage test specs directly from your Robo task runner workflow. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | 11 years ago | |
| peridot-php/leo | 0.80 | Leo is a lightweight assertion library for PHP and the Peridot BDD framework. It provides a fluent expect(...)->to syntax with readable matchers for equality, types, arrays, exceptions, and more, helping you write concise, expressive tests without heavy dependencies. | 36 | — | 6 | — | 4 | 1.5 | 1.1 | MIT | 9 years ago |
|
| peridot-php/peridot-concurrency | 0.80 | Run Peridot specs concurrently with this plugin for the Peridot PHP testing framework. It speeds up test suites by executing specs in parallel, with configurable concurrency and process handling for faster feedback. | 12 | — | 1 | — | 1 | 0.2 | — | MIT | — |
|
| mnapoli/phpunit-easymock | 0.79 | A lightweight bridge between PHPUnit and EasyMock for PHP. Quickly create, replay, and verify mocks from your test cases with minimal boilerplate, helping you write clear unit tests using the familiar EasyMock-style workflow. | 38 | 38 | 4 | 1K | 0 | 4.8 | 20.6 | MIT | 1 year ago | |
| cloak/peridot-cloak-plugin | 0.79 | A Peridot plugin that brings Cloak into your PHP test suite, letting you wire up its features directly from your specs with minimal configuration. Install via Composer, enable the plugin, and keep your tests readable and expressive. | 0 | 0 | 0 | 8 | 0 | 0.0 | 9.3 | MIT | 11 years ago | |
| php-mock/php-mock-mockery | 0.78 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 78K | 2 | 1.9 | 45.4 | WTFPL | 1 year ago | |
| janmarek/mockista | 0.78 | Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. | 29 | 29 | 14 | 248 | 2 | 1.4 | 14.9 | — | — | |
| codeception/aspect-mock | 0.77 | — | 784 | 791 | 132 | 14K | 40 | 27.3 | 32.9 | MIT | 4 years ago | |
| psalm/plugin-mockery | 0.77 | Adds Psalm static analysis support for the Mockery testing framework. Improves type inference and understanding of mocked objects and expectations in PHPUnit-style tests. Install via Composer and enable with psalm-plugin for better mock-related diagnostics. | 11 | 11 | 9 | 234K | 4 | 26.4 | 66.4 | MIT | 1 week ago | |
| php-mock/php-mock-integration | 0.77 | Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state. | 14 | 14 | 6 | 374K | 0 | 8.2 | 57.8 | WTFPL | 9 months ago | |
| adriansuter/php-autoload-override | 0.77 | Override fully qualified function calls inside PHP class methods so you can mock them in tests. Works with Composer PSR-4 autoloading (PHP 8.2+). Use OverrideFactory to map functions (e.g., rand) to custom implementations for deterministic PHPUnit tests. | 22 | 23 | 3 | 1K | 0 | 16.3 | 28.5 | MIT | 6 months ago | |
| fp/fumocker | 0.77 | Fumocker is a lightweight PHP library for mocking function calls in unit tests. It helps you stub built-in or namespaced functions, isolate code from side effects, and write more predictable tests without introducing heavy testing dependencies. | 7 | 7 | 1 | 8 | 4 | 1.1 | 4.9 | MIT | — |
How can I help you explore Laravel packages today?