Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26660

Support native modules in Karma Titanium Launcher

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: None
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:

      Description

      karma-titanium-launcher currently supports testing for Apps and JS modules. Covering native modules is the last missing piece for a complete unit testing environment.

      The workflow for unit testing of native modules should be as follows:

      • Build the module for the current platform we are testing
      • Create a temporary project serving as the test runner and integrate the built module into that project
      • Run the test runner and spit out results
      • Tests can be configured as usual with the Karma config. For example, tests for all platform can reside in <project-dir>/test with additional tests for each platform in the respective platform folder, i.e. <project-dir>/android/test.

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              jvennemann Jan Vennemann
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code