sass/node-sass — pull request #429 by ndhoule (2014-09-22 10:20:59+00:00)
Title: Add node-sass tests

Adds the [sass-spec](https://github.com/sass/sass-spec/) test suite. Continued from #222.

I mostly ported over those changes, with the exception of a few fixes:

- Now uses the [same CSS formatter used in sass-spec](https://github.com/sass/sass-spec/blob/d516aefa786f3cd3dd2914bb33d9760090176503/lib/sass_spec/test_case.rb#L39). (Not sure if that's related to the Windows line handling issue noted in #222.)
- Test suite fails if sass-spec isn't cloned into place, or if any sass-spec tests are failing. Seemed like if sass-spec should replace any non-middleware functionality, then test passage should be dependent on sass-spec tests passing.

Interestingly, the test suite was failing at first, but I rebuilt the binary per the readme/#428 and all tests (including the one noted in #427) passed.

Related issues: #161, #424, #427, #428