{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/40","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/40/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/40/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/40","id":64573881,"number":40,"title":"Lack of report when test class spring wiring fails","user":{"login":"CobaltChicken","id":3512229,"avatar_url":"https://avatars.githubusercontent.com/u/3512229?v=3","gravatar_id":"","url":"https://api.github.com/users/CobaltChicken","html_url":"https://github.com/CobaltChicken","followers_url":"https://api.github.com/users/CobaltChicken/followers","following_url":"https://api.github.com/users/CobaltChicken/following{/other_user}","gists_url":"https://api.github.com/users/CobaltChicken/gists{/gist_id}","starred_url":"https://api.github.com/users/CobaltChicken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CobaltChicken/subscriptions","organizations_url":"https://api.github.com/users/CobaltChicken/orgs","repos_url":"https://api.github.com/users/CobaltChicken/repos","events_url":"https://api.github.com/users/CobaltChicken/events{/privacy}","received_events_url":"https://api.github.com/users/CobaltChicken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T16:30:56Z","updated_at":"2015-11-18T19:37:27Z","closed_at":null,"body":"We've found a problem when a Spring Framework based unit test fails to wire (@Autowire not matched by Spring bean). The test class is a @RunWith(SerenityRunner.class). We're running integration tests under gradle.\r\n\r\nThe wiring failure is only visible on the debug level output of gradle. It doesn't report it as a test failure. When building under Jenkins the build is not stopped by the failure, and the test reports report as clear.\r\n\r\nLooking at the stack trace, and the SerenityRunner source the reporting context for the class seems to be closed in the finally clause of the run method, but the exception is just printStackTrace'd and rethrown. Looks like the finally will close the reporting context before anything useful is done with the exception."},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/comments/157836058","html_url":"https://github.com/serenity-bdd/serenity-core/issues/40#issuecomment-157836058","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/40","id":157836058,"user":{"login":"YamStranger","id":1667699,"avatar_url":"https://avatars.githubusercontent.com/u/1667699?v=3","gravatar_id":"","url":"https://api.github.com/users/YamStranger","html_url":"https://github.com/YamStranger","followers_url":"https://api.github.com/users/YamStranger/followers","following_url":"https://api.github.com/users/YamStranger/following{/other_user}","gists_url":"https://api.github.com/users/YamStranger/gists{/gist_id}","starred_url":"https://api.github.com/users/YamStranger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YamStranger/subscriptions","organizations_url":"https://api.github.com/users/YamStranger/orgs","repos_url":"https://api.github.com/users/YamStranger/repos","events_url":"https://api.github.com/users/YamStranger/events{/privacy}","received_events_url":"https://api.github.com/users/YamStranger/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T19:37:27Z","updated_at":"2015-11-18T19:37:27Z","body":"Hello @CobaltChicken, thanks for this issue. \r\n\r\nPlease provide additional details to close this issue. It will be great if you provide some sample - and we will fix this issue as soon as possible. \r\n\r\nThanks a lot!"}}