mockti
mockti copied to clipboard
titanium mocking
Autodetect installed sdk and select sdk by name
I found two cases where the return value from a factory does not match the `returnType` defined in the supplied `api.jsca`. Of note `Ti.Database.open` does not return a `Ti.Database.DB object....
I have a database access object of sorts, and I needed to write unit tests for it. Stubbing Ti.Database APIs with empty functions was not an option, since I had...
Perhaps just by making the `tsm` sdk logic `require()`able. Then we can do an `npm -g install mockti` then cd into a directory and type `mockti 2.1.1` which will generate...