ti-unit
ti-unit copied to clipboard
Real unit testing and mocking for Appcelerator Titanium
Following the installation guide I've installed jasmine but when I try to install ti-unit with the command `npm install git+ssh://github.com/aca-mobile/ti-unit.git#1.0.0 --save-dev` as mentioned in the guide I get the following...
I am creating a new controller in controller.js: var newController=Alloy.createController('index').getView(); In test file (Controller_Spec.js) addded the following to mock getView var dealerControllerMock = { getView: function(){} }; beforeEach(function() { MockRequire...