{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11420","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11420/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11420/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11420/events","html_url":"https://github.com/joomla/joomla-cms/pull/11420","id":169174857,"number":11420,"title":"Google Summer of Code 2016 JavaScript Testing project","user":{"login":"Ruchiranga","id":6296505,"avatar_url":"https://avatars.githubusercontent.com/u/6296505?v=3","gravatar_id":"","url":"https://api.github.com/users/Ruchiranga","html_url":"https://github.com/Ruchiranga","followers_url":"https://api.github.com/users/Ruchiranga/followers","following_url":"https://api.github.com/users/Ruchiranga/following{/other_user}","gists_url":"https://api.github.com/users/Ruchiranga/gists{/gist_id}","starred_url":"https://api.github.com/users/Ruchiranga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ruchiranga/subscriptions","organizations_url":"https://api.github.com/users/Ruchiranga/orgs","repos_url":"https://api.github.com/users/Ruchiranga/repos","events_url":"https://api.github.com/users/Ruchiranga/events{/privacy}","received_events_url":"https://api.github.com/users/Ruchiranga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Unit/System%20Tests","name":"Unit/System Tests","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-03T16:27:41Z","updated_at":"2016-08-12T15:40:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11420","html_url":"https://github.com/joomla/joomla-cms/pull/11420","diff_url":"https://github.com/joomla/joomla-cms/pull/11420.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11420.patch"},"body":"#### Summary of Changes\r\n\r\nThe set of custom JavaScript libraries in Joomla does not have any tests. This PR contains a test suite that will be run, like the PHP unit tests, automatically for every pull request and commit with Travis. \r\n\r\nShown below are some screenshots of the Travis log with the JavaScript test results.\r\n\r\n![core.js test results](https://s31.postimg.org/lph1q3z2z/core.png)\r\n\r\n![validate.js test results](https://s31.postimg.org/db1f20y1n/validate.png)\r\n\r\n![repeatable.js test results](https://s31.postimg.org/ggm0s8gnv/repeatable.png)\r\n\r\nThe Travis log will also show an overview of the test coverage achieved.\r\n\r\n![Test coverage and overview](https://s31.postimg.org/5si9te6or/overview.png)\r\n\r\nAs testing framework we use Jasmine, which is run by Karma-Test Runner in a real Firefox browser.\r\n\r\nCore JavaScript Libraries covered by this Pull Request:\r\n\r\n1. caption.js\r\n2. core.js\r\n3. permissions.js\r\n4. repeatable.js\r\n5. validate.js\r\n\r\n#### Documentation\r\n\r\nThe documentation is currently available [here](https://docs.google.com/document/d/1ZTzJiXwh4lNI9pPT38WqBy28nCd1duAD5fQakxZRm7s/edit). This will be moved into the Joomla! documentation soon.\r\n\r\n#### Testing Instructions\r\n\r\nNone, since this is only run on Travis. If you want to run it locally, please take a look at the documentation.\r\n\r\n#### Demonstration\r\n\r\nDemonstration video can be watched via this [link](https://www.youtube.com/watch?v=Tp_mLqMhRuA)."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/239480940","html_url":"https://github.com/joomla/joomla-cms/pull/11420#issuecomment-239480940","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11420","id":239480940,"user":{"login":"yvesh","id":897638,"avatar_url":"https://avatars.githubusercontent.com/u/897638?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesh","html_url":"https://github.com/yvesh","followers_url":"https://api.github.com/users/yvesh/followers","following_url":"https://api.github.com/users/yvesh/following{/other_user}","gists_url":"https://api.github.com/users/yvesh/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesh/subscriptions","organizations_url":"https://api.github.com/users/yvesh/orgs","repos_url":"https://api.github.com/users/yvesh/repos","events_url":"https://api.github.com/users/yvesh/events{/privacy}","received_events_url":"https://api.github.com/users/yvesh/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T15:40:10Z","updated_at":"2016-08-12T15:40:10Z","body":"I have tested this item :white_check_mark: successfully on fda4cdbfb78c2ed9a78aaeca08a5426f0f49c6c7<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/11420\">issues.joomla.org/joomla-cms/11420</a>.</sub>"}}
{"actor":{"display_login":"yvesh"}}