Bachir Soussi Chiadmi 1bc61b12ad first import | 9 years ago | |
---|---|---|
.. | ||
inputs | 9 years ago | |
outputs | 9 years ago | |
ApiTest.php | 9 years ago | |
InputTest.php | 9 years ago | |
README.md | 9 years ago | |
bootstrap.sh | 9 years ago | |
sort.php | 9 years ago |
lessphp uses phpunit for it's tests
InputTest.php
iterates through all the less files in inputs/
, compiles them,
then compares the result with the respective file in outputs/
.
From the root you can run make
to run all the tests.
Clones twitter bootsrap, compiles it with lessc and lessphp, cleans up results with sort.php, and outputs diff. To run it, you need to have git and lessc installed.