{"action":"created","issue":{"url":"https://api.github.com/repos/inpsyde/Codex/issues/61","labels_url":"https://api.github.com/repos/inpsyde/Codex/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/inpsyde/Codex/issues/61/comments","events_url":"https://api.github.com/repos/inpsyde/Codex/issues/61/events","html_url":"https://github.com/inpsyde/Codex/issues/61","id":111576422,"number":61,"title":"Filetemplate: phpunit.xml.dist","user":{"login":"dnaber-de","id":1133205,"avatar_url":"https://avatars.githubusercontent.com/u/1133205?v=3","gravatar_id":"","url":"https://api.github.com/users/dnaber-de","html_url":"https://github.com/dnaber-de","followers_url":"https://api.github.com/users/dnaber-de/followers","following_url":"https://api.github.com/users/dnaber-de/following{/other_user}","gists_url":"https://api.github.com/users/dnaber-de/gists{/gist_id}","starred_url":"https://api.github.com/users/dnaber-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnaber-de/subscriptions","organizations_url":"https://api.github.com/users/dnaber-de/orgs","repos_url":"https://api.github.com/users/dnaber-de/repos","events_url":"https://api.github.com/users/dnaber-de/events{/privacy}","received_events_url":"https://api.github.com/users/dnaber-de/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inpsyde/Codex/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/inpsyde/Codex/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"dnaber-de","id":1133205,"avatar_url":"https://avatars.githubusercontent.com/u/1133205?v=3","gravatar_id":"","url":"https://api.github.com/users/dnaber-de","html_url":"https://github.com/dnaber-de","followers_url":"https://api.github.com/users/dnaber-de/followers","following_url":"https://api.github.com/users/dnaber-de/following{/other_user}","gists_url":"https://api.github.com/users/dnaber-de/gists{/gist_id}","starred_url":"https://api.github.com/users/dnaber-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnaber-de/subscriptions","organizations_url":"https://api.github.com/users/dnaber-de/orgs","repos_url":"https://api.github.com/users/dnaber-de/repos","events_url":"https://api.github.com/users/dnaber-de/events{/privacy}","received_events_url":"https://api.github.com/users/dnaber-de/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-15T09:20:08Z","updated_at":"2015-10-15T09:29:18Z","closed_at":null,"body":"Vorschlag für eine `phpunit.xml.dist` Datei für Plugins und Themes:\r\n\r\n```xml\r\n<phpunit\r\n        bootstrap=\"test/bootstrap.php\"\r\n        backupGlobals=\"false\"\r\n        colors=\"true\"\r\n        convertErrorsToExceptions=\"true\"\r\n        convertNoticesToExceptions=\"true\"\r\n        convertWarningsToExceptions=\"true\"\r\n        >\r\n        <testsuites>\r\n                <testsuite name=\"Plugin php unit tests\">\r\n                        <directory prefix=\"\" suffix=\"Test.php\">./test/PHPUnit</directory>\r\n                </testsuite>\r\n        </testsuites>\r\n</phpunit>\r\n```\r\n\r\nDas ganze setzt eine Verzeichnisstruktur wie diese voraus:\r\n\r\n```\r\nmy-plugin/\r\n    test/\r\n        PHPUnit/\r\n            // hier kommen die Testklassen rein, kann auch weitere Unterverzeichnisse enthalten\r\n        bootstrap.php\r\n    phpunit.xml.dist\r\n```\r\n\r\nIn der `bootstrap.php` würde dann lediglich die `autoload.php` von Composer geprüft und geladen.   "},"comment":{"url":"https://api.github.com/repos/inpsyde/Codex/issues/comments/148331309","html_url":"https://github.com/inpsyde/Codex/issues/61#issuecomment-148331309","issue_url":"https://api.github.com/repos/inpsyde/Codex/issues/61","id":148331309,"user":{"login":"Chrico","id":3417446,"avatar_url":"https://avatars.githubusercontent.com/u/3417446?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrico","html_url":"https://github.com/Chrico","followers_url":"https://api.github.com/users/Chrico/followers","following_url":"https://api.github.com/users/Chrico/following{/other_user}","gists_url":"https://api.github.com/users/Chrico/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrico/subscriptions","organizations_url":"https://api.github.com/users/Chrico/orgs","repos_url":"https://api.github.com/users/Chrico/repos","events_url":"https://api.github.com/users/Chrico/events{/privacy}","received_events_url":"https://api.github.com/users/Chrico/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T09:29:18Z","updated_at":"2015-10-15T09:29:18Z","body":"Im Composer heißt es teilweise `tests` (Mehrzahl). Würde was dagegen sprechen?"}}