aboutsummaryrefslogtreecommitdiff
path: root/vendors/lessphp/tests/README.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:42 -0300
commit551497ef94f6239b109316d8fab32f0909b13f73 (patch)
tree236615e9881988ce05f40583ff891bf0fcef2c14 /vendors/lessphp/tests/README.md
downloadelgg-551497ef94f6239b109316d8fab32f0909b13f73.tar.gz
elgg-551497ef94f6239b109316d8fab32f0909b13f73.tar.bz2
Squashed 'mod/less/' content from commit 380edad
git-subtree-dir: mod/less git-subtree-split: 380edadb3a5e524a8e6ef6df063b678f2f00516f
Diffstat (limited to 'vendors/lessphp/tests/README.md')
-rw-r--r--vendors/lessphp/tests/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendors/lessphp/tests/README.md b/vendors/lessphp/tests/README.md
new file mode 100644
index 000000000..edb8f7be3
--- /dev/null
+++ b/vendors/lessphp/tests/README.md
@@ -0,0 +1,24 @@
+## test.php
+
+To run:
+
+ php test.php [flags] [test-name-glob]
+
+
+Runs through all files in `inputs`, compiles them, then compares to respective
+file in `outputs`. If there are any differences then the test will fail.
+
+Add the `-d` flag to show the differences of failed tests. Defaults to showing
+differences with `diff` but you can set the tool by doing `-d=toolname`.
+
+Pass the `-C` flag to save the output of the inputs to the appropriate file. This
+will overwrite any existing outputs. Use this when you want to save verified
+test results. Combine with a *test-name-glob* to selectively compile.
+
+You can also run specific tests by passing in an argument that contains any
+part of the test name.
+
+## bootstrap.sh
+
+It's a syntetic test comparing lessc and lessphp output compiling twitter bootstrap;
+see bootstrap.sh for details. \ No newline at end of file