Registry / testing / janmarek-mockista

janmarek-mockista

JSON →
library1.1.0phppackagistunverified

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

composer require janmarek/mockista
INSTALL
IMPORT
SIG · JANMAREK-MOCKISTA
J
janmarek-mockista
testingphpv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mockista
use Mockista\Mockista;

Create a mock object and set expectations

use Mockista\Mockista; $mock = Mockista::create(SomeClass::class); $mock->expects('method')->andReturn('value');
Debug
Known issues
breakingLibrary is not widely maintained; may have compatibility issues with newer PHP versions
fix
Consider using PHPUnit's built-in mocking or Mockery
affects: >=1.0.0
Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
janmarek-mockista — pip install janmarek-mockista · libregistry