https://github.com/larshassler/patternlab-to-gemini
Generates gemini test cases from a patternlab styleguide
https://github.com/larshassler/patternlab-to-gemini
gemini layout-testing pattern-lab regression-testing screenshot-testing styleguide testing
Last synced: 5 months ago
JSON representation
Generates gemini test cases from a patternlab styleguide
- Host: GitHub
- URL: https://github.com/larshassler/patternlab-to-gemini
- Owner: LarsHassler
- License: other
- Created: 2016-07-29T19:08:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-30T10:53:53.000Z (over 5 years ago)
- Last Synced: 2025-04-12T16:59:19.370Z (10 months ago)
- Topics: gemini, layout-testing, pattern-lab, regression-testing, screenshot-testing, styleguide, testing
- Language: JavaScript
- Size: 338 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Patternlab to Gemini
[](https://badge.fury.io/js/patternlab-to-gemini)
[](https://travis-ci.org/LarsHassler/patternlab-to-gemini)
[](https://coveralls.io/github/LarsHassler/patternlab-to-gemini?branch=master)
[](https://david-dm.org/LarsHassler/patternlab-to-gemini)
I love [atomic design](http://atomicdesign.bradfrost.com) with [patternlab](http://patternlab.io).
But in combination with [gemini](https://github.com/gemini-testing/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](docs/Configuration.md) 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.