Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Fix phantomjs addon header and add readme. Fixes #239
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 31 May 2012 16:35:44 +0000 (18:35 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 31 May 2012 16:35:44 +0000 (18:35 +0200)
addons/phantomjs/README.md [new file with mode: 0644]
addons/phantomjs/runner.js

diff --git a/addons/phantomjs/README.md b/addons/phantomjs/README.md
new file mode 100644 (file)
index 0000000..ed6a446
--- /dev/null
@@ -0,0 +1,14 @@
+PhantomJS Runner
+================
+
+A runner for PhantomJS, providing console output for tests.
+
+Usage:
+
+       phantomjs runner.js url
+
+Example:
+
+       phantomjs runner.js http://localhost/qunit/test
+
+If you're using Grunt, you should take a look at its [qunit task](https://github.com/cowboy/grunt/blob/master/docs/task_qunit.md).
\ No newline at end of file
index 985dd23..135ff44 100644 (file)
@@ -1,13 +1,13 @@
 /*
- * Qt+WebKit powered (mostly) headless test runner using Phantomjs
+ * Qt+WebKit powered headless test runner using Phantomjs
  *
  * Phantomjs installation: http://code.google.com/p/phantomjs/wiki/BuildInstructions
  *
  * Run with:
- *  phantomjs test.js [url-of-your-qunit-testsuite]
+ *  phantomjs runner.js [url-of-your-qunit-testsuite]
  *
  * E.g.
- *      phantomjs test.js http://localhost/qunit/test
+ *      phantomjs runner.js http://localhost/qunit/test
  */
 
 var url = phantom.args[0];

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf