{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/4071","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4071/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4071/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4071/events","html_url":"https://github.com/joomla/joomla-cms/pull/4071","id":39470642,"number":4071,"title":"Unit testing for plugins","user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/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":{"login":"javigomez","id":1375475,"avatar_url":"https://avatars.githubusercontent.com/u/1375475?v=3","gravatar_id":"","url":"https://api.github.com/users/javigomez","html_url":"https://github.com/javigomez","followers_url":"https://api.github.com/users/javigomez/followers","following_url":"https://api.github.com/users/javigomez/following{/other_user}","gists_url":"https://api.github.com/users/javigomez/gists{/gist_id}","starred_url":"https://api.github.com/users/javigomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javigomez/subscriptions","organizations_url":"https://api.github.com/users/javigomez/orgs","repos_url":"https://api.github.com/users/javigomez/repos","events_url":"https://api.github.com/users/javigomez/events{/privacy}","received_events_url":"https://api.github.com/users/javigomez/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2014-08-04T23:14:02Z","updated_at":"2015-08-20T20:35:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/4071","html_url":"https://github.com/joomla/joomla-cms/pull/4071","diff_url":"https://github.com/joomla/joomla-cms/pull/4071.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/4071.patch"},"body":"OK So unit testing for plugins it turns out is easily doable\r\n\r\nNow I need some ideas on how to test the email cloaking plugin (which currently is the bane of our lives) as of course it's designed not to be detectable my bots! Ideas anyone?\r\n\r\nCurrently tests are failing because I've added in JM's test examples and not bothered to add the correct expected results - just so people can experiment and look at what I've done."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/133163068","html_url":"https://github.com/joomla/joomla-cms/pull/4071#issuecomment-133163068","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4071","id":133163068,"user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T20:35:15Z","updated_at":"2015-08-20T20:35:15Z","body":"Yes this is definitely still valid"}}