{"action":"opened","issue":{"url":"https://api.github.com/repos/playframework/scalatestplus-play/issues/111","repository_url":"https://api.github.com/repos/playframework/scalatestplus-play","labels_url":"https://api.github.com/repos/playframework/scalatestplus-play/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/playframework/scalatestplus-play/issues/111/comments","events_url":"https://api.github.com/repos/playframework/scalatestplus-play/issues/111/events","html_url":"https://github.com/playframework/scalatestplus-play/issues/111","id":319993319,"number":111,"title":"Can't Use BeforeAndAfterAll Because Play is Stopped","user":{"login":"jamesward","id":65043,"avatar_url":"https://avatars2.githubusercontent.com/u/65043?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesward","html_url":"https://github.com/jamesward","followers_url":"https://api.github.com/users/jamesward/followers","following_url":"https://api.github.com/users/jamesward/following{/other_user}","gists_url":"https://api.github.com/users/jamesward/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesward/subscriptions","organizations_url":"https://api.github.com/users/jamesward/orgs","repos_url":"https://api.github.com/users/jamesward/repos","events_url":"https://api.github.com/users/jamesward/events{/privacy}","received_events_url":"https://api.github.com/users/jamesward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T16:30:45Z","updated_at":"2018-05-03T16:30:45Z","closed_at":null,"author_association":"NONE","body":"I'm trying to use `BeforeAndAfterAll` and an `afterall` to cleanup some stuff.  But by the time `afterall` gets called, Play has already shutdown.  In `BaseOneAppPerSuite` it does this:\r\n```\r\nval status = super.run(testName, newArgs)\r\nstatus.whenCompleted { _ => Play.stop(app) }\r\n```\r\n\r\nWhich runs before the `afterall`."}}
{"actor":{"display_login":"jamesward"}}