PHPackages                             greys/wc-product-bundles-tests - 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. greys/wc-product-bundles-tests

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

greys/wc-product-bundles-tests
==============================

PHPUnit testing framework for WooCommerce Product Bundles

1.0.0(7mo ago)08MITPHPPHP &gt;=7.4

Since Oct 4Pushed 7mo agoCompare

[ Source](https://github.com/jgreys/wc-product-bundles-tests)[ Packagist](https://packagist.org/packages/greys/wc-product-bundles-tests)[ RSS](/packages/greys-wc-product-bundles-tests/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

WooCommerce Product Bundles PHPUnit Framework
=============================================

[](#woocommerce-product-bundles-phpunit-framework)

A comprehensive PHPUnit testing framework for WooCommerce Product Bundles. This package provides helper classes, custom assertions, and utilities to make testing Product Bundles functionality easier and more reliable.

Features
--------

[](#features)

- **Base Test Case**: Specialized `UnitTestCase` with automatic cleanup
- **Helper Classes**: Create bundles and bundled items with realistic data
- **Custom Assertions**: Domain-specific assertions for bundle testing
- **Database Support**: Works with Product Bundles custom tables
- **Realistic Test Data**: Examples using production-like data patterns

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

[](#installation)

```
composer require --dev greys/woocommerce-product-bundles-phpunit-framework
```

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- PHPUnit 9.x
- WooCommerce
- WooCommerce Product Bundles
- `greys/woocommerce-phpunit-framework`

Quick Start
-----------

[](#quick-start)

### 1. Extend the Base Test Case

[](#1-extend-the-base-test-case)

```
