{"action":"created","issue":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/173","labels_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/173/comments","events_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/173/events","html_url":"https://github.com/openbakery/gradle-xcodePlugin/pull/173","id":70107024,"number":173,"title":"Option to prevent failing tests from failing the build","user":{"login":"andybest","id":1089613,"avatar_url":"https://avatars.githubusercontent.com/u/1089613?v=3","gravatar_id":"","url":"https://api.github.com/users/andybest","html_url":"https://github.com/andybest","followers_url":"https://api.github.com/users/andybest/followers","following_url":"https://api.github.com/users/andybest/following{/other_user}","gists_url":"https://api.github.com/users/andybest/gists{/gist_id}","starred_url":"https://api.github.com/users/andybest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andybest/subscriptions","organizations_url":"https://api.github.com/users/andybest/orgs","repos_url":"https://api.github.com/users/andybest/repos","events_url":"https://api.github.com/users/andybest/events{/privacy}","received_events_url":"https://api.github.com/users/andybest/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-22T12:04:13Z","updated_at":"2015-05-07T10:00:28Z","closed_at":"2015-04-30T15:01:32Z","pull_request":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/pulls/173","html_url":"https://github.com/openbakery/gradle-xcodePlugin/pull/173","diff_url":"https://github.com/openbakery/gradle-xcodePlugin/pull/173.diff","patch_url":"https://github.com/openbakery/gradle-xcodePlugin/pull/173.patch"},"body":"I'm currently using Jenkins to run the gradle script, and when a unit test fails, it prevents fails the whole build. This prevents any post build tasks (such as displaying test results) from running. In my case, I'd rather have a post build task decide whether enough tests have failed to fail the build (or mark it as unstable).\r\n\r\nI have created a property called 'testFailureThrowsException', which is true by default:\r\n\r\n```\r\nxcodebuild {\r\n    testFailureThrowsException = false\r\n}\r\n```\r\n\r\nIf I'm missing something and there is a better way to do this, please let me know."},"comment":{"url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/comments/99800917","html_url":"https://github.com/openbakery/gradle-xcodePlugin/pull/173#issuecomment-99800917","issue_url":"https://api.github.com/repos/openbakery/gradle-xcodePlugin/issues/173","id":99800917,"user":{"login":"BamX","id":443972,"avatar_url":"https://avatars.githubusercontent.com/u/443972?v=3","gravatar_id":"","url":"https://api.github.com/users/BamX","html_url":"https://github.com/BamX","followers_url":"https://api.github.com/users/BamX/followers","following_url":"https://api.github.com/users/BamX/following{/other_user}","gists_url":"https://api.github.com/users/BamX/gists{/gist_id}","starred_url":"https://api.github.com/users/BamX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BamX/subscriptions","organizations_url":"https://api.github.com/users/BamX/orgs","repos_url":"https://api.github.com/users/BamX/repos","events_url":"https://api.github.com/users/BamX/events{/privacy}","received_events_url":"https://api.github.com/users/BamX/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T10:00:28Z","updated_at":"2015-05-07T10:00:28Z","body":"But what about coverage? It depends on tests, but could it be generated with some failed tests?"}}