{"action":"created","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/3232","repository_url":"https://api.github.com/repos/sebastianbergmann/phpunit","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/3232/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/3232/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/3232/events","html_url":"https://github.com/sebastianbergmann/phpunit/issues/3232","id":346455517,"node_id":"MDU6SXNzdWUzNDY0NTU1MTc=","number":3232,"title":"Listener method endTestSuite runs after finishing tests in a directory , not the test suite","user":{"login":"ChangePlaces","id":302031,"node_id":"MDQ6VXNlcjMwMjAzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/302031?v=4","gravatar_id":"","url":"https://api.github.com/users/ChangePlaces","html_url":"https://github.com/ChangePlaces","followers_url":"https://api.github.com/users/ChangePlaces/followers","following_url":"https://api.github.com/users/ChangePlaces/following{/other_user}","gists_url":"https://api.github.com/users/ChangePlaces/gists{/gist_id}","starred_url":"https://api.github.com/users/ChangePlaces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChangePlaces/subscriptions","organizations_url":"https://api.github.com/users/ChangePlaces/orgs","repos_url":"https://api.github.com/users/ChangePlaces/repos","events_url":"https://api.github.com/users/ChangePlaces/events{/privacy}","received_events_url":"https://api.github.com/users/ChangePlaces/received_events","type":"User","site_admin":false},"labels":[{"id":904686731,"node_id":"MDU6TGFiZWw5MDQ2ODY3MzE=","url":"https://api.github.com/repos/sebastianbergmann/phpunit/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-01T05:42:26Z","updated_at":"2018-11-29T15:51:22Z","closed_at":null,"author_association":"NONE","body":"| Q                   | A\r\n| --------------------| ---------------\r\n| PHPUnit version     | 7.2.7\r\n| PHP version         | 7.2\r\n| Installation Method | applies to composer and apt-get\r\n\r\nI have a listener that is set up to run code at the end of a testsuite. This at the basic level is functioning. I have a test suite set up as such:\r\n```\r\n        <testsuite name=\"e2e\">\r\n            <directory>tests/e2e</directory>\r\n        </testsuite>\r\n```\r\nWhen running with `phpunit --testsuite e2e`, at the end of each sub directory inside this suite, the code inside `endTestSuite` is executed. Surely this is incorrect, as a directory is not considered a 'suite'?"},"comment":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/comments/442883983","html_url":"https://github.com/sebastianbergmann/phpunit/issues/3232#issuecomment-442883983","issue_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/3232","id":442883983,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjg4Mzk4Mw==","user":{"login":"epdenouden","id":26651359,"node_id":"MDQ6VXNlcjI2NjUxMzU5","avatar_url":"https://avatars1.githubusercontent.com/u/26651359?v=4","gravatar_id":"","url":"https://api.github.com/users/epdenouden","html_url":"https://github.com/epdenouden","followers_url":"https://api.github.com/users/epdenouden/followers","following_url":"https://api.github.com/users/epdenouden/following{/other_user}","gists_url":"https://api.github.com/users/epdenouden/gists{/gist_id}","starred_url":"https://api.github.com/users/epdenouden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epdenouden/subscriptions","organizations_url":"https://api.github.com/users/epdenouden/orgs","repos_url":"https://api.github.com/users/epdenouden/repos","events_url":"https://api.github.com/users/epdenouden/events{/privacy}","received_events_url":"https://api.github.com/users/epdenouden/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T15:51:22Z","updated_at":"2018-11-29T15:51:22Z","author_association":"CONTRIBUTOR","body":"@ChangePlaces I'd have to look into the implementation details in the main test runner, but I wouldn't be surprised if every [subdirectory + tests] is handled by creating a `TestSuite` for it with the individual test(suite)s as child nodes."}}
{"actor":{"display_login":"epdenouden"}}