{"action":"closed","issue":{"url":"https://api.github.com/repos/junit-team/junit5/issues/1113","repository_url":"https://api.github.com/repos/junit-team/junit5","labels_url":"https://api.github.com/repos/junit-team/junit5/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/junit-team/junit5/issues/1113/comments","events_url":"https://api.github.com/repos/junit-team/junit5/issues/1113/events","html_url":"https://github.com/junit-team/junit5/issues/1113","id":266073869,"number":1113,"title":"Surefire provider should not build test plan per class","user":{"login":"hwellmann","id":875768,"avatar_url":"https://avatars0.githubusercontent.com/u/875768?v=4","gravatar_id":"","url":"https://api.github.com/users/hwellmann","html_url":"https://github.com/hwellmann","followers_url":"https://api.github.com/users/hwellmann/followers","following_url":"https://api.github.com/users/hwellmann/following{/other_user}","gists_url":"https://api.github.com/users/hwellmann/gists{/gist_id}","starred_url":"https://api.github.com/users/hwellmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwellmann/subscriptions","organizations_url":"https://api.github.com/users/hwellmann/orgs","repos_url":"https://api.github.com/users/hwellmann/repos","events_url":"https://api.github.com/users/hwellmann/events{/privacy}","received_events_url":"https://api.github.com/users/hwellmann/received_events","type":"User","site_admin":false},"labels":[{"id":420912036,"url":"https://api.github.com/repos/junit-team/junit5/labels/component:%20Platform","name":"component: Platform","color":"11dd99","default":false},{"id":508765159,"url":"https://api.github.com/repos/junit-team/junit5/labels/component:%20Surefire","name":"component: Surefire","color":"c2e0c6","default":false},{"id":294412858,"url":"https://api.github.com/repos/junit-team/junit5/labels/status:%20in%20progress","name":"status: in progress","color":"ffbb00","default":false},{"id":293488747,"url":"https://api.github.com/repos/junit-team/junit5/labels/theme:%20execution","name":"theme: execution","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"marcphilipp","id":214207,"avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcphilipp","id":214207,"avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-10-17T10:31:36Z","updated_at":"2017-11-12T16:03:36Z","closed_at":"2017-11-12T16:03:36Z","author_association":"NONE","body":"## Overview\r\n\r\nI'm using a custom `TestExecutionListener` registered via `META-INF/services` which implements `testPlanExecutionStarted()` and `testPlanExecutionFinished()` to execute some custom setup and teardown which needs to be executed just once per suite/plan, and not once per class.\r\n\r\nJUnit version: 5.0.1\r\n\r\n### Expected Behaviour\r\n\r\nWhen running `mvn test` on a project, my listener gets invoked once before all test class executions and once after all executions.\r\n\r\n### Actual Behaviour\r\n\r\nMy listener gets invoked for every class, which defeats its purpose. \r\n"}}
{"actor":{"display_login":"marcphilipp"}}