PHPackages                             algoritma/shopware-test-utils - 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. algoritma/shopware-test-utils

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

algoritma/shopware-test-utils
=============================

A collection of helpers for Shopware 6 integration/functional tests.

2328—0%PHPCI passing

Since Mar 10Pushed 2mo agoCompare

[ Source](https://github.com/algoritma-dev/shopware-test-utils)[ Packagist](https://packagist.org/packages/algoritma/shopware-test-utils)[ RSS](/packages/algoritma-shopware-test-utils/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Shopware Test Utils
===================

[](#shopware-test-utils)

A comprehensive collection of helpers, factories, and utilities for **Shopware 6** integration and functional tests.

[![PHP Version](https://camo.githubusercontent.com/4f0ff8d47b7c73441eb92a1f49af61c2d6521b14113c8fd85fac4416c863e7cc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e322d626c7565)](https://www.php.net/)[![Shopware Version](https://camo.githubusercontent.com/dae165c109a588a23304358fb71cc2d6ddd149cd9a652fa261ff744509126c6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73686f70776172652d253545362e372d626c7565)](https://www.shopware.com/)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)

---

📦 Installation
--------------

[](#-installation)

### Prerequisites

[](#prerequisites)

- PHP &gt;= 8.2
- Shopware 6.7
- A Shopware project with a working DB configuration (the stub generator boots the kernel)

### Install in your Shopware project

[](#install-in-your-shopware-project)

```
composer require --dev algoritma/shopware-test-utils
```

If you plan to use the B2B factories/helpers, install Shopware Commercial (`store.shopware.com/swagcommercial`) and make sure the plugin is active (license required).

---

🚀 Quick Start
-------------

[](#-quick-start)

### Basic Integration Test

[](#basic-integration-test)

```
