Files
NativeScript/apps/tests
vakrilov d0ea1f30af Ts lint
2015-07-28 09:56:28 +03:00
..
2015-07-21 14:20:25 +03:00
2015-07-28 09:56:28 +03:00
2015-07-24 09:49:39 +03:00
2015-07-20 15:51:43 +03:00
2015-07-20 14:42:29 +03:00
2015-07-22 11:23:58 +03:00
2015-05-18 12:11: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();
	} 
});