FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

NativeScript/apps/tests/Readme.md at patch-1 · rclai/NativeScript · GitHub

Repository navigation

Latest commit

 

History

History
22 lines (20 loc) · 463 Bytes

File metadata and controls

22 lines (20 loc) · 463 Bytes

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

Back | FazBrowse Home | New Git URL