Skip to content

FriendsOfCake/fixturize

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

CakePHP: Improve performance of your fixture based tests on MySQL.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages