Files
NativeScript/apps/tests/Readme.md
Erjan Gavalji 2d2fdfe4b0 Fix language tags in doc-snippets
The doc-snippets were inconsistent
(no spaces before title, small-caps, JS
instead of JavaScript, etc.)
2016-02-25 20:39:08 +02:00

482 B

To run tests please build using one of the *_Tests build configurations and call runAll() method of the Tests module. For example:

##iOS

var app = require("application");
app.init(null);
var tests = require("Tests");
tests.runAll();

##Android

app.init({
	getActivity: function(intent) {
		return com.tns.NativeScriptActivity.extend({});
	},
	onCreate: function() {
		require("application").init(this);
		require("Tests").runAll();
	} 
});