Files
NativeScript/apps/tests
Vladimir Enchev aad02aa789 Merge pull request #308 from NativeScript/custom-components
properties will be copied to the custom component with XML + tests
2015-04-23 08:27:12 +03:00
..
2015-04-22 16:08:54 +03:00
2015-04-07 14:10:34 +03:00
2015-04-22 16:08:54 +03:00
2015-03-26 17:32:27 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-04-22 17:00:48 +03:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-03-24 16:05:54 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-03 10:34:40 +02:00
2015-03-26 17:32:25 +02:00
2015-04-22 16:08:54 +03:00
2015-03-03 10:34:40 +02:00
2015-04-22 16:08:54 +03:00
2015-03-03 10:34:40 +02:00
2015-04-22 16:08:55 +03:00
2015-03-03 10:34:40 +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();
	} 
});