{"comment":{"url":"https://api.github.com/repos/jamesfoster/xbehave.net/comments/11566639","html_url":"https://github.com/jamesfoster/xbehave.net/commit/0ca87f1d37f78bbcf7a06e1bedbc4d042cdef153#commitcomment-11566639","id":11566639,"user":{"login":"jamesfoster","id":196800,"avatar_url":"https://avatars.githubusercontent.com/u/196800?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesfoster","html_url":"https://github.com/jamesfoster","followers_url":"https://api.github.com/users/jamesfoster/followers","following_url":"https://api.github.com/users/jamesfoster/following{/other_user}","gists_url":"https://api.github.com/users/jamesfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesfoster/subscriptions","organizations_url":"https://api.github.com/users/jamesfoster/orgs","repos_url":"https://api.github.com/users/jamesfoster/repos","events_url":"https://api.github.com/users/jamesfoster/events{/privacy}","received_events_url":"https://api.github.com/users/jamesfoster/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"0ca87f1d37f78bbcf7a06e1bedbc4d042cdef153","created_at":"2015-06-08T13:06:53Z","updated_at":"2015-06-08T13:06:53Z","body":"Hi\r\n\r\nIt's quite simple. Consider your test contains several steps: `Given, And, When, Then, And, But`\r\n\r\nCurrently, when **any** step fails, the whole test fails. However, typically, all steps after (and including) the `Then` step are independent and represent different expectations of the outcome. The steps before this represent the setup and execution, if any of these fail then the outcome cannot be guaranteed.\r\n\r\nIn order to continue executing steps after the `Then` step simply add the `ContinueOnFailureAfter` attribute to the assembly.\r\n\r\n```\r\n[assembly: ContinueOnErrorAfter(StepType.Then)]\r\n```\r\n\r\nYou can also override it by applying it to the method or class.\r\n\r\nHope this helps"}}