PHPackages                             fooman/magento2-phpunit-bridge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. fooman/magento2-phpunit-bridge

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

fooman/magento2-phpunit-bridge
==============================

v0.10.1(2y ago)38.3k4BSD-3-ClausePHPPHP ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

Since Jul 10Pushed 12mo agoCompare

[ Source](https://github.com/fooman/magento2-phpunit-bridge)[ Packagist](https://packagist.org/packages/fooman/magento2-phpunit-bridge)[ RSS](/packages/fooman-magento2-phpunit-bridge/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (18)Used By (4)

Use this instead
================

[](#use-this-instead)

How to Use
==========

[](#how-to-use)

The aim is to be able to write phpunit tests for phpunit 9 and then be able to run these for Magento 2.4 and Magento 2.3 and 2.2 (more accurately their associated magento/framework versions and phpunit versions). Earlier versions bridged between phpunit 4 and 6.

Install with

```
composer require fooman/magento2-phpunit-bridge --dev

```

and then have your tests extend `\Fooman\PhpunitBridge\BaseUnitTestCase`:

```
