1 |
87dbc3bf
|
Benjamin Luce
|
UNIT TESTS FOR ZEN GRIDS
|
2 |
|
|
------------------------
|
3 |
|
|
|
4 |
|
|
To run the unit tests for Zen Grids:
|
5 |
|
|
|
6 |
|
|
1. Create a "tests" Compass project using the unit-tests pattern:
|
7 |
|
|
|
8 |
|
|
compass create tests -r zen-grids --using=zen-grids/unit-tests
|
9 |
|
|
|
10 |
|
|
2. From inside the "tests" project, compare the compiled stylesheets to the
|
11 |
|
|
previous unit test results in the test-results directory:
|
12 |
|
|
|
13 |
|
|
diff -r test-results/ stylesheets/
|
14 |
|
|
|
15 |
|
|
If the unit tests were successful, the above command should report no
|
16 |
|
|
differences. |