{"action":"created","issue":{"url":"https://api.github.com/repos/greghaskins/spectrum/issues/136","repository_url":"https://api.github.com/repos/greghaskins/spectrum","labels_url":"https://api.github.com/repos/greghaskins/spectrum/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/greghaskins/spectrum/issues/136/comments","events_url":"https://api.github.com/repos/greghaskins/spectrum/issues/136/events","html_url":"https://github.com/greghaskins/spectrum/issues/136","id":342318338,"node_id":"MDU6SXNzdWUzNDIzMTgzMzg=","number":136,"title":"[Question] How stop test?","user":{"login":"A11oW","id":4760284,"node_id":"MDQ6VXNlcjQ3NjAyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4760284?v=4","gravatar_id":"","url":"https://api.github.com/users/A11oW","html_url":"https://github.com/A11oW","followers_url":"https://api.github.com/users/A11oW/followers","following_url":"https://api.github.com/users/A11oW/following{/other_user}","gists_url":"https://api.github.com/users/A11oW/gists{/gist_id}","starred_url":"https://api.github.com/users/A11oW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A11oW/subscriptions","organizations_url":"https://api.github.com/users/A11oW/orgs","repos_url":"https://api.github.com/users/A11oW/repos","events_url":"https://api.github.com/users/A11oW/events{/privacy}","received_events_url":"https://api.github.com/users/A11oW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T13:01:26Z","updated_at":"2018-07-26T09:54:52Z","closed_at":null,"author_association":"NONE","body":"How I can stop queue of tests in spec if one of test is fail?\r\n\r\n```\r\n        describe(\"some spec\", () -> {\r\n            it(\"First test\", () -> {});\r\n            it(\"Second test\", () -> { // something broken });\r\n            it(\"Third test\", () -> {});\r\n        });\r\n```\r\nif second test will is broken, third test will not run."},"comment":{"url":"https://api.github.com/repos/greghaskins/spectrum/issues/comments/408043994","html_url":"https://github.com/greghaskins/spectrum/issues/136#issuecomment-408043994","issue_url":"https://api.github.com/repos/greghaskins/spectrum/issues/136","id":408043994,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODA0Mzk5NA==","user":{"login":"A11oW","id":4760284,"node_id":"MDQ6VXNlcjQ3NjAyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4760284?v=4","gravatar_id":"","url":"https://api.github.com/users/A11oW","html_url":"https://github.com/A11oW","followers_url":"https://api.github.com/users/A11oW/followers","following_url":"https://api.github.com/users/A11oW/following{/other_user}","gists_url":"https://api.github.com/users/A11oW/gists{/gist_id}","starred_url":"https://api.github.com/users/A11oW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A11oW/subscriptions","organizations_url":"https://api.github.com/users/A11oW/orgs","repos_url":"https://api.github.com/users/A11oW/repos","events_url":"https://api.github.com/users/A11oW/events{/privacy}","received_events_url":"https://api.github.com/users/A11oW/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T09:54:52Z","updated_at":"2018-07-26T09:54:52Z","author_association":"NONE","body":"@GuyPaddock Thanks for answer. Unfortunately my test have many steps, for example:\r\n```\r\ndescribe(\"Test of some kind of business case\", ()-> {\r\n  context(\"authorize\", () -> {\r\n    it(\"input login and password\", () -> {})\r\n  });\r\n\r\n  context(\"Go to form 1\", () -> {\r\n    it(\"Fill form\", () -> {});\r\n    it(\"Check form\", () -> {});\r\n    it(\"submit form\", () -> {});\r\n  });\r\n\r\n  context(\"Go to form 2\", () -> { ... });\r\n  ...\r\n});\r\n```\r\n\r\nI can't check form 2 without step of \"authorize\" and \"Go to form 1\", and if form 1 is fail, test of \"Go to form 2\" meaningless and I would like stop all next test's."}}
{"actor":{"display_login":"A11oW"}}