Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20624] Parity: Combine unit tests for SDKs into common suite/repo

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-06-14T14:30:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid, iOS, Windows
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2016-03-25T13:14:47.000+0000
Updated2016-10-18T16:30:10.000+0000

Description

Windows SDK uses a mocha test suite for unit testing it's APIs, currently living at https://github.com/appcelerator/titanium_mobile_windows/tree/master/Examples/NMocha/src/Assets iOS/Android use a suite living at https://github.com/appcelerator/titanium_mobile/tree/master/ti_mocha_tests We should combine our test suites into a common repository so that any new tests we add will be performed across all the OSes and we can easily pick up parity issues. It would involve updating our build scripts to grab the test suite from it's new location, and would likely involve more explicit attention to party issues or OS specific tests. (Meaning we'll need to know if a test case isn't intended to work on a particular platform and would have to code it into the test to skip it)

Comments

  1. Christopher Williams 2016-06-14

    There is now a common suite for iOS/Android that passes on Jenkins. Next step is to hook it up as a PR builder for Github PRs; to back port to Windows and ensure it all passes there as well; and to add some mechanism for titanium_mobile or titanium_mobile_windows to introduce local changes to the test suite that get run so we can check in unit tests as part of PRs.
  2. Eric Merriman 2016-10-18

    Closing as this has been implemented

JSON Source