{"action":"closed","issue":{"url":"https://api.github.com/repos/cbeust/testng/issues/921","repository_url":"https://api.github.com/repos/cbeust/testng","labels_url":"https://api.github.com/repos/cbeust/testng/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/testng/issues/921/comments","events_url":"https://api.github.com/repos/cbeust/testng/issues/921/events","html_url":"https://github.com/cbeust/testng/issues/921","id":123325721,"number":921,"title":"IClassListener is executed on each test method invocation rather than once per class","user":{"login":"skirkpatrick","id":1464281,"avatar_url":"https://avatars.githubusercontent.com/u/1464281?v=3","gravatar_id":"","url":"https://api.github.com/users/skirkpatrick","html_url":"https://github.com/skirkpatrick","followers_url":"https://api.github.com/users/skirkpatrick/followers","following_url":"https://api.github.com/users/skirkpatrick/following{/other_user}","gists_url":"https://api.github.com/users/skirkpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/skirkpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skirkpatrick/subscriptions","organizations_url":"https://api.github.com/users/skirkpatrick/orgs","repos_url":"https://api.github.com/users/skirkpatrick/repos","events_url":"https://api.github.com/users/skirkpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/skirkpatrick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cbeust/testng/labels/Feature:%20listener","name":"Feature: listener","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T17:47:17Z","updated_at":"2016-05-24T19:19:02Z","closed_at":"2016-05-24T19:19:02Z","body":"Listeners implementing `IClassListener` are running on each test method invocation, resulting in multiple calls per class.\r\n\r\nI've created a simple Maven project demonstrating the issue (run with `mvn test`): https://github.com/skirkpatrick/TestNG-Class-Listener-Bug\r\n\r\nExpected output:\r\n```\r\nRunning TestSuite\r\nonBeforeClass\r\ntest 1\r\ntest 2\r\nonAfterClass\r\n```\r\n\r\nActual output:\r\n```\r\nRunning TestSuite\r\nonBeforeClass\r\ntest 1\r\nonAfterClass\r\nonBeforeClass\r\ntest 2\r\nonAfterClass\r\n```"}}
{"actor":{"display_login":"juherr"}}