PHPackages                             yireo/shopware6-integration-test-helper - 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. yireo/shopware6-integration-test-helper

ActiveShopware-platform-plugin[Testing &amp; Quality](/categories/testing)

yireo/shopware6-integration-test-helper
=======================================

Utilities to help you test your Shopware plugins

1.0.0(2y ago)158MITPHP

Since Sep 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yireo-shopware6/shopware6-integration-test-helper)[ Packagist](https://packagist.org/packages/yireo/shopware6-integration-test-helper)[ RSS](/packages/yireo-shopware6-integration-test-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

YireoIntegrationTestHelper
==========================

[](#yireointegrationtesthelper)

**Shopware 6 plugin and library to help you build PHPUnit-based integration tests easier**

Features
--------

[](#features)

- Custom PHPUnit bootstrap
    - Support for various environment variables
- Various PHP traits
    - `assertBundleIsInstalled(string $bundleName)`
    - `assertServiceExists(string $serviceId)`
    - `assertEntityExtensionExists(string $entityExtensionClass)`
- PHP class `\Yireo\IntegrationTestHelper\Test\Integration\AbstractTestCase`
    - Includes all PHP traits already

Installation
------------

[](#installation)

Install this plugin and activate it:

```
composer require yireo/shopware6-integration-test-helper --dev
bin/console plugin:refresh
bin/console plugin:install --activate YireoIntegrationTestHelper
```

PHPUnit configuration
---------------------

[](#phpunit-configuration)

Next, configure your PHPUnit file to use the file `vendor/yireo/shopware6-integration-test-helper/src/test_bootstrap.php` as a bootstrap. Also configure the `DATABASE_URL` (pointing to a different database than your regular Shopware database).

An example PHPUnit file is here:

```

```

Instead of using the PHPUnit file for this, you could also add the environment variables to a file `.env.test` instead.

- When `FORCE_INSTALL` is `1`, Shopware will do a reinstallation;
- When `FORCE_INSTALL_PLUGINS` is `1`, plugins will be refreshed, installed and activated;
- When `FORCE_INSTALL_ADDITIONAL_PLUGINS` contains a comma-separate list of plugins, each plugin will be installed and activated. Make sure to include at least your own plugin (in this example `YireoExample`);

Usage of PHP parent class
-------------------------

[](#usage-of-php-parent-class)

```
namespace Swag\Example\Test\Integration;

use Yireo\IntegrationTestHelper\Test\Integration\AbstractTestCase;

class BasicPluginTest extends AbstractTestCase
{
    public function testIfBundleIsRegistered()
    {
        $this->assertBundleIsInstalled();
    }
}
```

Usage of PHP traits
-------------------

[](#usage-of-php-traits)

```
namespace Swag\Example\Test\Integration;

use PHPUnit\Framework\TestCase;
use Shopware\Core\Framework\Test\TestCaseBase\IntegrationTestBehaviour;
use Yireo\IntegrationTestHelper\Traits\AssertBundleIsInstalled;

class BasicPluginTest extends TestCase
{
    use IntegrationTestBehaviour;
    use AssertBundleIsInstalled;

    public function getName(): string
    {
        return self::class; // Shopware 6.5 requires you to implement this method
    }

    public function testIfBundleIsRegistered()
    {
        $this->assertBundleIsInstalled();
    }
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1020d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (6 commits)")

### Embed Badge

![Health badge](/badges/yireo-shopware6-integration-test-helper/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-shopware6-integration-test-helper/health.svg)](https://phpackages.com/packages/yireo-shopware6-integration-test-helper)
```

###  Alternatives

[shopware/storefront

Storefront for Shopware

684.6M237](/packages/shopware-storefront)[shopware/production

177209.0k](/packages/shopware-production)[frosh/tools

Provides some basic things for managing the Shopware Installation

87820.7k3](/packages/frosh-tools)[shopware/administration

Administration frontend for the Shopware Core

414.3M116](/packages/shopware-administration)[shopware/elasticsearch

Elasticsearch for Shopware

153.9M19](/packages/shopware-elasticsearch)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25117.9k](/packages/adyen-adyen-shopware6)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
