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