]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Changed default port to a common one found in tutorials. Let me know if this is an...
authorcash <cash.costello@gmail.com>
Sat, 5 Nov 2011 18:31:59 +0000 (14:31 -0400)
committercash <cash.costello@gmail.com>
Sat, 5 Nov 2011 18:31:59 +0000 (14:31 -0400)
js/tests/README [new file with mode: 0644]
js/tests/jsTestDriver.conf

diff --git a/js/tests/README b/js/tests/README
new file mode 100644 (file)
index 0000000..4f86b27
--- /dev/null
@@ -0,0 +1,24 @@
+Elgg JavaScript Unit Tests
+--------------------------
+
+Introduction
+============
+Elgg uses js-test-driver to run its unit tests. Instructions on obtaining,
+configuring, and using it are at http://code.google.com/p/js-test-driver/. It
+supports running the test in multiple browsers and debugging using web browser
+based debuggers. Visit its wiki at the Google Code site for more information.
+
+
+Sample Usage
+============
+ 1. Put jar file in the base directory of Elgg
+ 2. Run the server: java -jar JsTestDriver-1.3.3d.jar --port 4224
+ 3. Point a web browser at http://localhost:4224
+ 4. Run the tests: java -jar JsTestDriver-1.3.3d.jar --config js/tests/jsTestDriver.conf --basePath . --tests all
+
+
+Configuration Hints
+===================
+ * The port when running the server must be the same as listed in the 
+   configuration file. If that port is being used, change the configuration file.
+ * The basePath must be the base directory of Elgg.
\ No newline at end of file
index 1f9c0a6f7cec39e1e0995e203c856302eac2343e..b59697b88c9f9dcc99f9b6bb9ba1996a9c541e9c 100644 (file)
@@ -1,4 +1,4 @@
-server: http://localhost:42442
+server: http://localhost:4224
 
 load:
  - vendors/jquery/jquery-1.6.2.min.js