Giter Site home page Giter Site logo

visual-regression-workshop's Introduction

Gitter

CSS Dev Conf Visual Regression Workshop

Before you start

Before getting started, there a few items to note.

Expected technical skills

Not to scare you away, but the following skills are assumed:

  • Basic understanding of the command line
  • Intermediate understanding of CSS/Sass
  • Intermediate understanding of JavaScript

You can complete the exercises without these skills, but you may need to do a little extra research to fill in the details.

Computer setup

You will need to install some pre-requisites that the regression testing tools use. They are:

The things the tools need to run:

Ruby

I recommend using RVM or RBENV to easily manage Ruby installs. This helps with differences between the require version of Ruby between Wraith and DiffUX.

To check your version, open a command line and enter ruby -v. This will output the current version of Ruby you have running.

If it doesn't match what you want, never fear. If you're using RVM, you can install and use a different version fairly easily. RBENV should manage this for you.

Node

I recommend using NVM for Node. You can install Node manually, but NVM makes managing different versions much simpler.

Other Stuff

  • ImageMagick. Install via Homebrew: brew install imagemagick or via NPM (npm install -g imagemagick)
  • PhantomJS. Install via Homebrew (brew install phantomjs) or via NPM (npm install -g phantomjs)
  • CasperJS Install via Homebrew brew install casperjs or via NPM (npm install -g casperjs)

Having Installation Troubles?

You can use the thoughtbot/laptop repo to help with dependency installation. It is an install script that takes care of everything you need besides phantom/casper and the tools themselves. Be warned, the installation process can take a long time.

PG gem install issues?

Check out this Stack Overflow question.

Once You're Ready

$ git clone https://github.com/micahgodbolt/visual-regression-workshop.git
$ cd visual-regression-workshop
$ npm install
$ npm run start

visual-regression-workshop's People

Contributors

klamping avatar micahgodbolt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.