{"action":"created","issue":{"url":"https://api.github.com/repos/cbeust/testng/issues/663","labels_url":"https://api.github.com/repos/cbeust/testng/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/testng/issues/663/comments","events_url":"https://api.github.com/repos/cbeust/testng/issues/663/events","html_url":"https://github.com/cbeust/testng/issues/663","id":71690993,"number":663,"title":"Use Guice Stages","user":{"login":"guillaumecle","id":4265477,"avatar_url":"https://avatars.githubusercontent.com/u/4265477?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumecle","html_url":"https://github.com/guillaumecle","followers_url":"https://api.github.com/users/guillaumecle/followers","following_url":"https://api.github.com/users/guillaumecle/following{/other_user}","gists_url":"https://api.github.com/users/guillaumecle/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumecle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumecle/subscriptions","organizations_url":"https://api.github.com/users/guillaumecle/orgs","repos_url":"https://api.github.com/users/guillaumecle/repos","events_url":"https://api.github.com/users/guillaumecle/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumecle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-28T20:15:23Z","updated_at":"2015-05-07T04:31:15Z","closed_at":null,"body":"Guice let you chose between three stages when creating an injector: PRODUCTION, DEVELOPMENT and TOOL.\r\nI usually run all my tests with Stage.DEVELOPMENT, mainly because Singleton are lazily created and this speed up my tests.\r\nCould testng creates injectors with Stage.DEVELOPMENT or let it configurable through @Guice annotation?"},"comment":{"url":"https://api.github.com/repos/cbeust/testng/issues/comments/99709254","html_url":"https://github.com/cbeust/testng/issues/663#issuecomment-99709254","issue_url":"https://api.github.com/repos/cbeust/testng/issues/663","id":99709254,"user":{"login":"cbeust","id":92322,"avatar_url":"https://avatars.githubusercontent.com/u/92322?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeust","html_url":"https://github.com/cbeust","followers_url":"https://api.github.com/users/cbeust/followers","following_url":"https://api.github.com/users/cbeust/following{/other_user}","gists_url":"https://api.github.com/users/cbeust/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeust/subscriptions","organizations_url":"https://api.github.com/users/cbeust/orgs","repos_url":"https://api.github.com/users/cbeust/repos","events_url":"https://api.github.com/users/cbeust/events{/privacy}","received_events_url":"https://api.github.com/users/cbeust/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T04:31:15Z","updated_at":"2015-05-07T04:31:15Z","body":"Yes, `guice-stage` is probably better. I wish I had prefixed the module similarly (`guice-parent-module`) for consistency.\r\n\r\n"}}