Skip to content

kavanagh/sass-test-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scss tests Build Status

A trivial experiment showing basic tests to ensure your sass compiles and doesn't output css until the silent flag is turned off.

Uses Tape and node-sass. This is good because it uses libsass and Javascript. libsass is fast and you get to write tests using JavaScript, rather than Ruby. TAP provides you with a very lo-fi, portable way to test that's ideal for this scenario.

Usage

Clone this repo. Then...

$ npm install

There are 3 ways you could run the tests.

$ npm test

or

$ node test

or

$ ./test/index.js

If you need a watch task...

$ watch -d -n 2 npm test

About

experiment showing basic tests to ensure your sass compiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published