Files
NativeScript/apps/tests
Vladimir Enchev 48973e2669 tests added
2015-11-02 15:57:43 +02:00
..
2015-10-14 15:35:39 +03:00
2015-10-15 14:55:31 +03:00
…
2015-11-02 15:57:43 +02:00
2015-10-30 11:24:31 +02:00
…
…
2015-10-29 15:01:08 +02: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();
	} 
});