[TIMOB-18555] CLI: Add mocha tests to verify the installed SDKs
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-01-30T10:12:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | titaniumlib 1.0.0 |
Components | CLI |
Labels | n/a |
Reporter | Praveen Innamuri |
Assignee | Praveen Innamuri |
Created | 2015-02-11T21:28:37.000+0000 |
Updated | 2020-01-31T11:28:35.000+0000 |
Description
This is for adding unit tests in CLI to verify the installed SDKs detection mechanism.
- Install or Mock up a couple of SDKs in a temp location.
- Set the temp location as one of the location for SDKs.
- Now, CLI should detect the new SDKs and the new temp location as a valid one.
- Remove those temp SDKs
- CLI should detect the change.
We can also add unit tests to verify whether CLI is able to sort the SDKs in the correct order or not.
We have this in titaniumlib! https://github.com/appcelerator/titaniumlib
Ticket closed.