From e00aa5427198ed55f2258874da52e0091a40c289 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Mon, 1 Aug 2016 00:58:59 -0300 Subject: [PATCH] Updated contributing file with new info about visual regression test --- .github/contributing.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/contributing.md b/.github/contributing.md index ff04535..e0a581b 100644 --- a/.github/contributing.md +++ b/.github/contributing.md @@ -9,6 +9,7 @@ We would love for you to contribute to Milligram and help us make this even bett - [Submit a Pull Request](#submit-a-pull-request) - [Building](#building) - [Style Guide](#style-guide) +- [Test](#test) - [Code of Conduct](#code-of-conduct) - [License](#license) @@ -80,6 +81,11 @@ Milligram use [Sass](http://sass-lang.com/) to give super powers to CSS. Look at *Note: This style guide was inspired by [Idiomatic.css](https://github.com/necolas/idiomatic-css). Milligram uses an `.editorconfig` file, which most editors support, to enforce these coding standards.* +## Test + +Breaking CSS is easy. Checking every responsive page element is hard. That's why Milligram uses automated visual regression testing for responsive web UI by comparing DOM screenshots at various viewport sizes. To view the comparison run `npm test` after making changes to the source code. + + ## Code of Conduct Help us keep Milligram open and inclusive. Please read and follow our thoughts on [Code of Conduct](http://confcodeofconduct.com/).