Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bridge Mockery Laravel Package

testo/bridge-mockery

View on GitHub
Deep Wiki
Context7

Documentation Support on Boosty

[!IMPORTANT]

🪞 This is a read-only mirror.

Active development of the Testo project lives in php-testo/testo under bridge/mockery/. This repository is automatically synchronized from there on every release.

File issues and pull requests in the main monorepo, not here.

About

Automatic Mockery teardown for Testo. Register MockeryPlugin and \Mockery::close() is called in a finally block after every test, so mock expectations are always verified and the Mockery container is cleared between tests — no per-test teardown boilerplate.

// testo.php
use Testo\Application\Config\ApplicationConfig;
use Testo\Application\Config\SuiteConfig;
use Testo\Bridge\Mockery\MockeryPlugin;

return new ApplicationConfig(
    plugins: [new MockeryPlugin()],
    suites:  [new SuiteConfig(name: 'Unit', location: ['tests/Unit'])],
);

Install

composer require --dev testo/bridge-mockery

PHP Latest Version on Packagist License Total Downloads

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky