Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4490] Drillbit: Unit tests for the MobileSDK

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-07-29T15:12:26.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-30, Release 1.8.0
ComponentsDrillbit
Labelscoverage
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-06-23T15:01:00.000+0000
Updated2017-03-08T00:08:49.000+0000

Description

We need a suite of unit tests for our various MobileSDK scripts (project.py, builder.py, etc). I've started work on this on my fork here: https://github.com/marshall/titanium_mobile/tree/drillbit_sdktests/drillbit Right now this only tests project.py and builder.py for Android, but we could incrementally add changes to this as we go.

Comments

  1. Marshall Culpepper 2011-07-27

    To test this new test suite, you use a new frontend: drillbit/drillbit_sdk.py. To start, just copy drillbit/sdk_tests/sdkconfig.py.example to drillbit/sdk_tests/sdkconfig.py. Make sure to set androidSdk to your system's Android SDK installation, or alternatively set the environment variable ANDROID_SDK. To run the test suite, just run the script after copying the default sdkconfig.py. There are currently 3 tests: 2 for Android, 1 for iOS
  2. Lee Morris 2017-03-08

    Closing ticket due to time passed.

JSON Source