{ "id": "173716", "key": "TIMOB-27129", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2019-06-04T18:52:48.000+0000", "epic": { "id": 170970, "key": "TIMOB-25722", "name": "Investigate Unit testing features for users", "summary": "Investigate Unit testing features for users", "color": { "key": "color_3" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2020-01-22T19:53:11.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "Our [titanium-mobile-mocha-suite|https://github.com/appcelerator/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|https://github.com/appcelerator/karma-titanium-launcher] we can move away from custom built testing tools and use the stock version as is.\r\n\r\nThis requires a migration of our unit testing suite to use Karma and would need the following changes:\r\n- Add Karma and the required plugins for mocha and should.js\r\n- Apply required changes to the test files so they are compatible with Karma\r\n- Modify the existing [test.js|https://github.com/appcelerator/titanium-mobile-mocha-suite/blob/master/scripts/test.js] to let Karma handle the whole unit testing process.\r\n- Adopt the existing customizations made to mocha and should.js and apply them to the Karma environment", "attachment": [], "flagged": false, "summary": "Migrate unit testing suite to Karma and stock mocha/should.js", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }