From f8e95d6de83abb39181d257cd1e43342e6c57592 Mon Sep 17 00:00:00 2001 From: Pierre Guilleminot Date: Thu, 15 Dec 2011 13:34:07 +0100 Subject: [PATCH] Adding the testing part in the README --- rpc/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/rpc/README.md b/rpc/README.md index 6a47bd6..c9850fe 100644 --- a/rpc/README.md +++ b/rpc/README.md @@ -73,4 +73,15 @@ Examples : connection.rpc.addJidToWhiteList("me@jabber.org"); connection.rpc.addJidToWhiteList(["*@jabber.org", "me@*"]); connection.rpc.addJidToWhiteList("*@*"); -``` \ No newline at end of file +``` + +## Tests & specs + +I use the node module `jasmine-runner` for the tests. Install it and use it as follow : + +```bash +$ npm install jasmine-runner +$ jasmine mon +``` + +The tests run in the browser at the address `localhost:8124`. \ No newline at end of file