Когда я запускаю свои тесты, используя только команду: behave
Я получаю следующее отпечатанное на терминале при запуске тестов:
Scenario: Create new gist with valid json # features/gist_Api.feature:3
Given user creates a new gist with valid_json_body # features/steps/gist_api_steps.py:40 1.573s
Then response code should be 201 # features/steps/gist_api_steps.py:138 0.000s
And the description of gist 1 should be correct # features/steps/gist_api_steps.py:150 0.000s
Scenario: Create new gist with invalid json # features/gist_Api.feature:9
Given user creates a new gist with invalid_json_body # features/steps/gist_api_steps.py:40 0.440s
Then response code should be 422 # features/steps/gist_api_steps.py:138 0.000s
Scenario: Create new gist with a string # features/gist_Api.feature:14
Given user creates a new gist with a_string # features/steps/gist_api_steps.py:40 0.239s
Then response code should be 422 # features/steps/gist_api_steps.py:138 0.000s
Я хочу сохранить результаты моего выполненного сценария ios в формате json и поместите их в указанную папку c, поэтому я использую следующую команду: `` `вести себя -f json -o% results_folder%` `` `
Но когда я делаю это, я больше не могу описать сценарий, как это исправить?