2.0.5 • Published 8 years ago

cssdog v2.0.5

Weekly downloads
23
License
MIT
Repository
github
Last release
8 years ago

cssdog

A small cli tool for performing root-level css regression testing on static html. This tool is also programmable from within node.

The implementation leverages Resemble.js, launching Casper and PhantomJS as a child process.

File (input) selection is powered by glob.

Unlike other css regression tools, cssdog does not baseline images. cssdog instead baselines the input html, seeking to ease the pains of performing cross-system visual regression testing. New screenshots of baselined html are captured during each regression test.

$ cssdog "html/{,**/}*.html" -h
node cssdog <input glob> [options...]

Options:
  --version                 Show version number                        [boolean]
  -a, --artifactsDirectory  location where intermediary results and failures are
                            stored.            [string] [default: "./artifacts"]
  -b, --baselinesDirectory  location where from where baselines are loaded and
                            stored. Defaults to ./{{artifactsDirectory}}/
                            baselines                                   [string]
  -d, --dirty               do not clean up comparison artifacts and results
                            following a run.          [boolean] [default: false]
  -r, --rebase              create a new baseline. this will delete your current
                            baseline snapshots.       [boolean] [default: false]
  -s, --timeout             regression test timeout in seconds. Defaults to 5
                            seconds.                                [default: 5]
  -t, --tolerance           mismatch tolerance. Increasing this value will
                            decrease test coverage. Defaults to 0.01%.
                                                                 [default: 0.01]
  -v, --verbose             whether to print log messages to stdout
                                                      [boolean] [default: false]
  --no-colors               disable colorized output  [boolean] [default: false]
  -h                        Show help                                  [boolean]
2.0.5

8 years ago

2.0.5-pre.0

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.1

9 years ago