[AC-3196] Anvil: Ability to run test suites against a particular version of Titanium Mobile SDK
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-27T00:23:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Titanium SDK & CLI |
Labels | anvil |
Reporter | Bill Dawson |
Assignee | Shak Hossain |
Created | 2013-03-18T12:24:17.000+0000 |
Updated | 2016-03-08T07:57:36.000+0000 |
Description
Currently the Anvil test framework only runs test against the latest version of the SDK installed on your machine. It would be very useful, particularly for module developers who need to support their modules on a variety of SDK versions, to target a specific SDK version for the test run.
I will have a test case and Pull Request here shortly.
Test Case
* In Terminal (command prompt, whatever) go to anvil/driver under the titanium mobile source folder. * Enter* Because you have not requested a specific Titanium SDK version, you should see "using Titanium SDK version xx.xx.xx", where xx.xx.xx is the latest version of the Titanium SDK installed on your machine. (Note that "latest" in Anvil terms is the version whose directory has the latest modification date in the file system.) * Ctrl-C out of the Anvil interactive mode, and re-enter but this time using...
...but of course substitute "XX..." with some older version of Titanium, such as 3.0.2.GA. * Because you specified a version, the "using Titanium SDK version ..." message should now show the version you specified.
A Pull Request has been submitted: https://github.com/appcelerator/titanium_mobile/pull/3978