{"action":"opened","issue":{"url":"https://api.github.com/repos/behave/behave/issues/712","repository_url":"https://api.github.com/repos/behave/behave","labels_url":"https://api.github.com/repos/behave/behave/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/behave/behave/issues/712/comments","events_url":"https://api.github.com/repos/behave/behave/issues/712/events","html_url":"https://github.com/behave/behave/issues/712","id":392605852,"node_id":"MDU6SXNzdWUzOTI2MDU4NTI=","number":712,"title":"Log steps inside steps","user":{"login":"Tiagojdferreira","id":1483616,"node_id":"MDQ6VXNlcjE0ODM2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1483616?v=4","gravatar_id":"","url":"https://api.github.com/users/Tiagojdferreira","html_url":"https://github.com/Tiagojdferreira","followers_url":"https://api.github.com/users/Tiagojdferreira/followers","following_url":"https://api.github.com/users/Tiagojdferreira/following{/other_user}","gists_url":"https://api.github.com/users/Tiagojdferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/Tiagojdferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tiagojdferreira/subscriptions","organizations_url":"https://api.github.com/users/Tiagojdferreira/orgs","repos_url":"https://api.github.com/users/Tiagojdferreira/repos","events_url":"https://api.github.com/users/Tiagojdferreira/events{/privacy}","received_events_url":"https://api.github.com/users/Tiagojdferreira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T13:39:04Z","updated_at":"2018-12-19T13:39:04Z","closed_at":null,"author_association":"NONE","body":"I have been looking at the issues regarding logging and I haven't found anything like this.\r\nI have a test that uses a big step that consistes of smaller steps. For example, imagine I have a step `Then I click the colored buttons` that has a loop for `['red', 'blue', 'green']` where it clicks the button and checks a color changed using `context.execute_steps`.\r\nCurrently, when I run the tests I get something like:\r\n```\r\nScenario: My test  # functional_tests/features/test.feature:10\r\n    Then I click the colored buttons                      # functional_tests/steps/test_steps.py:16\r\n```\r\nAnd what I would like to have is:\r\n```\r\nScenario: My test  # functional_tests/features/test.feature:10\r\n    Then I click the colored buttons                      # functional_tests/steps/test_steps.py:16\r\n      When I click the red button                      # functional_tests/steps/test_steps.py:16\r\n      Then I see the red box                      # functional_tests/steps/test_steps.py:16\r\n      When I click the blue button                      # functional_tests/steps/test_steps.py:16\r\n      Then I see the blue box                      # functional_tests/steps/test_steps.py:16\r\n      When I click the green button                      # functional_tests/steps/test_steps.py:16\r\n      Then I see the green box                      # functional_tests/steps/test_steps.py:16\r\n```\r\nAnd ideally if the test fails in one step, I would get the step where it failed"}}
{"actor":{"display_login":"Tiagojdferreira"}}