{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8184","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8184/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8184/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8184/events","html_url":"https://github.com/Elgg/Elgg/pull/8184","id":67898941,"number":8184,"title":"feature(testing): Support for testing plugins using phpunit","user":{"login":"stianlik","id":410251,"avatar_url":"https://avatars.githubusercontent.com/u/410251?v=3","gravatar_id":"","url":"https://api.github.com/users/stianlik","html_url":"https://github.com/stianlik","followers_url":"https://api.github.com/users/stianlik/followers","following_url":"https://api.github.com/users/stianlik/following{/other_user}","gists_url":"https://api.github.com/users/stianlik/gists{/gist_id}","starred_url":"https://api.github.com/users/stianlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stianlik/subscriptions","organizations_url":"https://api.github.com/users/stianlik/orgs","repos_url":"https://api.github.com/users/stianlik/repos","events_url":"https://api.github.com/users/stianlik/events{/privacy}","received_events_url":"https://api.github.com/users/stianlik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T10:33:13Z","updated_at":"2015-04-12T11:10:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Elgg/Elgg/pulls/8184","html_url":"https://github.com/Elgg/Elgg/pull/8184","diff_url":"https://github.com/Elgg/Elgg/pull/8184.diff","patch_url":"https://github.com/Elgg/Elgg/pull/8184.patch"},"body":"Moved  #7431 to 1.x branch.\r\n\r\nLinking to https://github.com/stianlik/elgg-phpunit in the documentation for a complete example.\r\n\r\nI think we can make testing more convenient by including utility classes for authentication, database cleanup and such in the future, maybe as a seperate testing repository. This PR should ensure that Elgg contains the absolute minimum to get Elgg booted in PHPUnit tests so that we can access the API in tests."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/92033419","html_url":"https://github.com/Elgg/Elgg/pull/8184#issuecomment-92033419","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/8184","id":92033419,"user":{"login":"hypeJunction","id":1202761,"avatar_url":"https://avatars.githubusercontent.com/u/1202761?v=3","gravatar_id":"","url":"https://api.github.com/users/hypeJunction","html_url":"https://github.com/hypeJunction","followers_url":"https://api.github.com/users/hypeJunction/followers","following_url":"https://api.github.com/users/hypeJunction/following{/other_user}","gists_url":"https://api.github.com/users/hypeJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/hypeJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypeJunction/subscriptions","organizations_url":"https://api.github.com/users/hypeJunction/orgs","repos_url":"https://api.github.com/users/hypeJunction/repos","events_url":"https://api.github.com/users/hypeJunction/events{/privacy}","received_events_url":"https://api.github.com/users/hypeJunction/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T11:10:57Z","updated_at":"2015-04-12T11:10:57Z","body":"Not sure mixing engine boot with unit testing is such a good idea. I would be more interested in a solution that @mrclay once built as a plugin that scanned test directories within plugin folders and ran tests"}}