2017 © Pedro Peláez
 

behat-extension behat-perceptual-diff-extension

Perceptual diff extension for Behat

image

zodyac/behat-perceptual-diff-extension

Perceptual diff extension for Behat

  • Wednesday, January 29, 2014
  • by noginn
  • Repository
  • 35 Watchers
  • 16 Stars
  • 149 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

BehatPerceptualDiffExtension

A perceptual diff extension for Behat to highlight visual regressions in web applications., (*1)

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., (*2)

For more on the benefits of perceptual diffs see @bslatkin's great video:, (*3)

http://www.youtube.com/watch?v=UMnZiTL0tUc, (*4)

Getting started

Running everything locally (Mac OS X specific)

Download Selenium2 standalone server package and run the JAR, (*5)

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

Install ImageMagick with Homebrew, (*6)

brew install imagemagick

Install Composer dependencies, (*7)

composer install --dev

Run the example tests, (*8)

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

Acknowledgements

  • Brett Slatkin for his brilliant presentation on how they use perceptual diffs at Google.
  • Pete Hunt for his Huxley tool that also inspired this project.

Credits

The Versions

29/01 2014

dev-master

9999999-dev http://jadu.github.io

Perceptual diff extension for Behat

  Sources   Download

NCSA

The Requires

 

by Tom Graham

bdd behat pdiff

03/08 2013

v0.1.0

0.1.0.0 http://jadu.github.io

Perceptual diff extension for Behat

  Sources   Download

NCSA

The Requires

 

by Tom Graham

bdd behat pdiff