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

Migrate unit testing suite to Karma and stock mocha/should.js

    Details

    • Type: Improvement
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
      None

      Description

      Our titanium-mobile-mocha-suite is currently using a lot of custom tooling to get unit testing to work. This includes custom versions of mocha, reporters and assertion libraries. With our latest efforts to make our runtime more node compatible and the new karma-titanium-launcher we can move away from custom built testing tools and use the stock version as is.

      This requires a migration of our unit testing suite to use Karma and would need the following changes:

      • Add Karma and the required plugins for mocha and should.js
      • Apply required changes to the test files so they are compatible with Karma
      • Modify the existing test.js to let Karma handle the whole unit testing process.
      • Adopt the existing customizations made to mocha and should.js and apply them to the Karma environment

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration