{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1114","repository_url":"https://api.github.com/repos/cucumber/cucumber-js","labels_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1114/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1114/events","html_url":"https://github.com/cucumber/cucumber-js/pull/1114","id":349278912,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NDM0NTQy","number":1114,"title":"727 - Basic implementation of CLI option --retry","user":{"login":"hurrikam","id":10401969,"node_id":"MDQ6VXNlcjEwNDAxOTY5","avatar_url":"https://avatars0.githubusercontent.com/u/10401969?v=4","gravatar_id":"","url":"https://api.github.com/users/hurrikam","html_url":"https://github.com/hurrikam","followers_url":"https://api.github.com/users/hurrikam/followers","following_url":"https://api.github.com/users/hurrikam/following{/other_user}","gists_url":"https://api.github.com/users/hurrikam/gists{/gist_id}","starred_url":"https://api.github.com/users/hurrikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurrikam/subscriptions","organizations_url":"https://api.github.com/users/hurrikam/orgs","repos_url":"https://api.github.com/users/hurrikam/repos","events_url":"https://api.github.com/users/hurrikam/events{/privacy}","received_events_url":"https://api.github.com/users/hurrikam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-09T20:31:24Z","updated_at":"2018-10-10T15:22:07Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/cucumber/cucumber-js/pulls/1114","html_url":"https://github.com/cucumber/cucumber-js/pull/1114","diff_url":"https://github.com/cucumber/cucumber-js/pull/1114.diff","patch_url":"https://github.com/cucumber/cucumber-js/pull/1114.patch"},"body":"This branch implements the CLI `--retry` flag to immediately re-run a failing scenario. \r\nIf omitted the flag defaults to 0 (no retry logic).\r\n\r\nA positive number will cause the `test_case_runner` to re-run its scenario up to the specified number of times if the previous run ended with `result.status === Status.FAILED`.\r\nAny different result will immediately pass through (either the test case succeeded or it was marked as skipped or ambiguous).\r\n\r\nThat means the retry logic applies only to genuine failures of the scenario.\r\n\r\nFrom the event protocol point of view the `test-step-started` event will be emitted for retrial steps as well, so the console will print more `.` than the actual length of the scenario, when retrying.\r\n\r\nOn the other hand, the `test-case-started` and `test-case-finished` events will be emitted just once (even if the test case has been retried).\r\nThis ensure flaky test cases won't appear more than once in formatter outputs (like the JSON one), thus affecting the total count of test cases reported per scenario/suite. Only the last run of test will be logged."},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-js/issues/comments/428615432","html_url":"https://github.com/cucumber/cucumber-js/pull/1114#issuecomment-428615432","issue_url":"https://api.github.com/repos/cucumber/cucumber-js/issues/1114","id":428615432,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODYxNTQzMg==","user":{"login":"chipironcin","id":3980637,"node_id":"MDQ6VXNlcjM5ODA2Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/3980637?v=4","gravatar_id":"","url":"https://api.github.com/users/chipironcin","html_url":"https://github.com/chipironcin","followers_url":"https://api.github.com/users/chipironcin/followers","following_url":"https://api.github.com/users/chipironcin/following{/other_user}","gists_url":"https://api.github.com/users/chipironcin/gists{/gist_id}","starred_url":"https://api.github.com/users/chipironcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipironcin/subscriptions","organizations_url":"https://api.github.com/users/chipironcin/orgs","repos_url":"https://api.github.com/users/chipironcin/repos","events_url":"https://api.github.com/users/chipironcin/events{/privacy}","received_events_url":"https://api.github.com/users/chipironcin/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T15:22:07Z","updated_at":"2018-10-10T15:22:07Z","author_association":"NONE","body":"I am keen to help with this feature as it is also crucial to the work I am currently doing (not just retry because my test is flacky but because some other dependency out of our reach).\r\n\r\nLet me know if I can help with something (maybe testing)"}}
{"actor":{"display_login":"chipironcin"}}