{ "id": "164724", "key": "AC-4646", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2016-11-30T11:31:14.000+0000", "created": "2016-11-30T09:01:41.000+0000", "labels": [], "versions": [ { "id": "17037", "name": "Appcelerator Studio 4.4.2", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-01T06:39:12.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14545", "name": "Documentation" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "We are writing Unit test cases for Appcelerator app using Ti mocha and chai, Is there any tool which used for code coverage of unit test cases. ", "attachment": [], "flagged": false, "summary": "Code Coverage tool for unit test cases ?", "creator": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "402261", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "In our SDK, we calculate the coverage manually, based on all API namespaces vs. tested API's. I'm not aware of any client-side coverage frameworks for Titanium but there might be general JS-libs that you could apply as well. Also feel free to ask the community for tips on [Ti.Slack|http://tislack.org]. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-30T11:30:51.000+0000", "updated": "2016-11-30T11:31:03.000+0000" }, { "id": "402322", "author": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We tried Istanbul to check unit test cases coverage but it's giving an error \r\nFor Ti & $\r\n# Ti not found\r\n# $ not found\r\n(We used $.UI_ComponentID). ", "updateAuthor": { "name": "bpawar", "key": "bpawar", "displayName": "Bhushankumar pawar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-01T06:35:19.000+0000", "updated": "2016-12-01T06:39:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }