Files
NativeScript/apps/tests
2015-08-31 13:15:41 +03:00
..
2015-08-28 12:55:28 +03:00
2015-08-03 13:49:18 +03:00
2015-08-28 16:59:52 +03:00
2015-08-31 13:15:41 +03:00
2015-07-30 09:56:24 +03:00
2015-07-20 14:42:29 +03:00
2015-07-29 15:24:43 +03:00

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();
	} 
});