Skip to content

Commit e9b2a3e

Browse files
author
filtercake
committed
update readme. Laverna#1
1 parent 19a345b commit e9b2a3e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

test/visual/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
$ ./node_modules/casperjs/bin/casperjs test test/visual/testsuite.js
1+
is wip.
2+
3+
`npm install` should install all dependencies: phantomjs, casperjs and phantomcss. (if you haven't had laverna running before, also do `bower install`.)
4+
5+
then run
6+
7+
$ ./node_modules/casperjs/bin/casperjs test test/visual/testsuite.js
8+
9+
to make reference screenshots. run again to see tests passing against them.
10+
11+
run `grunt serve`, add some css for `#header-title` at the end of `styles/theme-default/theme-default.less`, then run again to see tests fail.
12+
13+
also, the failure screenshots show up as untracked files in `git status`.
14+
15+
16+
next steps:
17+
18+
- https://github.com/chrisgladd/grunt-phantomcss
19+
- set up grunt task to clean up after green tests

0 commit comments

Comments
 (0)