From 46729c1c8b379a736165e6d13eb24e6d94760e1a Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Tue, 13 May 2014 14:24:44 +0300 Subject: [PATCH] readme updated --- Tests/Readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Tests/Readme.md b/Tests/Readme.md index 52278aa77..7664d7cb7 100644 --- a/Tests/Readme.md +++ b/Tests/Readme.md @@ -1,6 +1,20 @@ To run tests please build using one of the *_Tests build configurations and call runAll() method of the Tests module. For example: +iOS ```js var tests = require("Tests"); tests.runAll(); +``` + +Android +```js +app.init({ + getActivity: function(intent) { + return com.tns.NativeScriptActivity.extends({}); + }, + onCreate: function() { + require("Application").init(this); + require("Tests").runAll(); + } +}); ``` \ No newline at end of file