{"action":"created","issue":{"url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/46","labels_url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/46/comments","events_url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/46/events","html_url":"https://github.com/joakimkarlsson/bandit/issues/46","id":54438054,"number":46,"title":"Feature request: --break-on-failure","user":{"login":"sbeyer","id":143889,"avatar_url":"https://avatars.githubusercontent.com/u/143889?v=3","gravatar_id":"","url":"https://api.github.com/users/sbeyer","html_url":"https://github.com/sbeyer","followers_url":"https://api.github.com/users/sbeyer/followers","following_url":"https://api.github.com/users/sbeyer/following{/other_user}","gists_url":"https://api.github.com/users/sbeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/sbeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbeyer/subscriptions","organizations_url":"https://api.github.com/users/sbeyer/orgs","repos_url":"https://api.github.com/users/sbeyer/repos","events_url":"https://api.github.com/users/sbeyer/events{/privacy}","received_events_url":"https://api.github.com/users/sbeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-15T11:18:16Z","updated_at":"2015-07-22T06:38:08Z","closed_at":null,"body":"Hi,\r\n\r\nfor huge test suites it is nice to have a feature like --break-on-failure that leads bandit to exit (i.e., ignore further `it()`s and `describe()`s and just prints the summary)."},"comment":{"url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/comments/123577706","html_url":"https://github.com/joakimkarlsson/bandit/issues/46#issuecomment-123577706","issue_url":"https://api.github.com/repos/joakimkarlsson/bandit/issues/46","id":123577706,"user":{"login":"TiloW","id":845881,"avatar_url":"https://avatars.githubusercontent.com/u/845881?v=3","gravatar_id":"","url":"https://api.github.com/users/TiloW","html_url":"https://github.com/TiloW","followers_url":"https://api.github.com/users/TiloW/followers","following_url":"https://api.github.com/users/TiloW/following{/other_user}","gists_url":"https://api.github.com/users/TiloW/gists{/gist_id}","starred_url":"https://api.github.com/users/TiloW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TiloW/subscriptions","organizations_url":"https://api.github.com/users/TiloW/orgs","repos_url":"https://api.github.com/users/TiloW/repos","events_url":"https://api.github.com/users/TiloW/events{/privacy}","received_events_url":"https://api.github.com/users/TiloW/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T06:38:08Z","updated_at":"2015-07-22T06:38:08Z","body":"> `Did describe(\"m00\") succeed?`\r\n\r\nYou will no longer be able to decide whether to skip a test when you encounter it.\r\nAs I see it, this would be a major change to bandit.\r\n\r\nBefore executing any dependent tests you must ensure to read all dependencies (build a dependency graph of all tests?). If the entire suite has to be read first, it would also be possible to show the total number of test cases before all tests are finished (e.g. a progress bar).\r\nCyclic dependencies must be detected and reported.\r\n\r\nI consider it bad practice to capture _big variables_ with lamdas handed to `bandit::it` as this increases runtime / memory requirements even when skipping the respective tests. If we would collect all test cases before starting execution this problem might get worse."}}