friendsofcake/fixturize

CakePHP Fixture classes to help increase productivity or performance

Installs: 373 100

Dependents: 1

Suggesters: 0

Security: 0

Stars: 23

Watchers: 9

Forks: 12

Open Issues: 3

Type:cakephp-plugin

3.0.0 2023-10-13 18:33 UTC

This package is auto-updated.

Last update: 2024-04-05 07:46:44 UTC


README

Latest Stable Version

Installation

composer require friendsofcake/fixturize

Introduction

The fixturize plugin will help improve performance of your fixture based tests.

This plugin currently only work with MySQL/MariaDB/Percona databases.

Usage

Instead of

use Cake\TestSuite\Fixture\TestFixture;

simply use

use FriendsOfCake\Fixturize\TestSuite\Fixture\ChecksumTestFixture as TestFixture;

Re-run your tests and enjoy the speed!

Real life improvements

Who # Tests Before After
Bownty Content Importer 364 15s 5s
Apacta REST API (110 fixtures) 318 180s 30s

Feel free to submit your own results above.