Skip to content

LarsHassler/patternlab-to-gemini

Repository files navigation

Patternlab to Gemini

npm version Build Status Coverage Status Dependencies

I love atomic design with patternlab. But in combination with gemini, which provides utility for css regression tests, it's an awesome workflow for working on large scale projects, redesigns and especially css refactoring.

The idea behind this project is to generate the test cases automatically from the styleguide of patternlab.

Installation

This is a Node.js library. A soon as you have Node.js installed, just install it via npm:

$ npm install patternlab-to-gemini --save-dev

Usage

Configuration

To start using patternlab-to-gemini you have to have a json config file. See Configuration for detail info.

Start

As soon as you have you config file ready, you can generate your tests with the following command:

$ ./node_modules/.bin/patternlab-to-gemini -c path/to/your/configfile.json

You may also use --debug or -d to get debug output.