PHPackages                             zodyac/behat-perceptual-diff-extension - 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. zodyac/behat-perceptual-diff-extension

AbandonedArchivedBehat-extension[Testing &amp; Quality](/categories/testing)

zodyac/behat-perceptual-diff-extension
======================================

Perceptual diff extension for Behat

v0.1.0(12y ago)161614[1 issues](https://github.com/jadu/BehatPerceptualDiffExtension/issues)NCSAPHPPHP &gt;=5.3.2

Since Aug 3Pushed 10y ago18 watchersCompare

[ Source](https://github.com/jadu/BehatPerceptualDiffExtension)[ Packagist](https://packagist.org/packages/zodyac/behat-perceptual-diff-extension)[ Docs](http://jadu.github.io)[ RSS](/packages/zodyac-behat-perceptual-diff-extension/feed)WikiDiscussions master Synced 3w ago

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

BehatPerceptualDiffExtension
============================

[](#behatperceptualdiffextension)

A perceptual diff extension for [Behat](http://behat.org/) to highlight **visual regressions** in web applications.

After each step a screenshot is taken and compared with the screenshot from a previous baseline test run. Any differences will be highlighted and output in the HTML report for inspection.

For more on the benefits of perceptual diffs see [@bslatkin](http://github.com/bslatkin)'s great video:

Getting started
---------------

[](#getting-started)

### Running everything locally (Mac OS X specific)

[](#running-everything-locally-mac-os-x-specific)

[Download Selenium2 standalone server package](https://code.google.com/p/selenium/downloads/detail?name=selenium-server-standalone-2.33.0.jar) and run the JAR

```
java -jar selenium-server-standalone-2.33.0.jar
```

Install [ImageMagick](http://www.imagemagick.org/script/binary-releases.php) with [Homebrew](http://brew.sh/)

```
brew install imagemagick
```

Install [Composer](http://getcomposer.org/doc/00-intro.md#installation-nix) dependencies

```
composer install --dev
```

Run the example tests

```
cd example && ../vendor/bin/behat --format=pretty,html --out=,report.html
```

Acknowledgements
----------------

[](#acknowledgements)

- [Brett Slatkin](http://github.com/bslatkin) for his brilliant presentation on how they use perceptual diffs at Google.
- [Pete Hunt](http://github.com/petehunt/) for his [Huxley](http://github.com/facebook/huxley) tool that also inspired this project.

Credits
-------

[](#credits)

- [Tom Graham](http://github.com/noginn) - Project lead

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

4713d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe36d609f6a33d023c9a37e0b566b30177f1f830ebcfdc3b696513fafec704d9?d=identicon)[noginn](/maintainers/noginn)

---

Top Contributors

[![noginn](https://avatars.githubusercontent.com/u/6932?v=4)](https://github.com/noginn "noginn (12 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (1 commits)")

---

Tags

BDDBehatpdiff

### Embed Badge

![Health badge](/badges/zodyac-behat-perceptual-diff-extension/health.svg)

```
[![Health](https://phpackages.com/badges/zodyac-behat-perceptual-diff-extension/health.svg)](https://phpackages.com/packages/zodyac-behat-perceptual-diff-extension)
```

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

21115.5M166](/packages/drupal-drupal-extension)[drevops/behat-steps

Collection of steps for Behat

27409.9k4](/packages/drevops-behat-steps)[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.6M28](/packages/sensiolabs-behat-page-object-extension)[polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

26253.5k4](/packages/polishsymfonycommunity-symfony2-mocker-extension)[devinci/devinci-behat-extension

Provides extra behat goodies.

17596.9k](/packages/devinci-devinci-behat-extension)[novaway/common-contexts

Novaway Behat common contexts

18190.4k3](/packages/novaway-common-contexts)

PHPackages © 2026

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