Debian Codegraph @

issue.features/issue0032.feature

raw
1 @issue
2 Feature: Issue #32 "behave --junit-directory=xxx" fails if more than 1 level must be created
3
4 Scenario:
5 Given a new working directory
6 And a file named "features/steps/steps.py" with:
7 """
8 from behave import given, when, then
9
10 @given(u'passing')
11 def step(context):
12 pass
13 """
14 And a file named "features/issue32_1.feature" with:
15 """
16 Feature: One
17 Scenario: One
18 Given passing
19 """
20
21 When I run "behave --junit --junit-directory=report/test_results"
22 Then it should pass with:
23 """
24 1 feature passed, 0 failed, 0 skipped
25 1 scenario passed, 0 failed, 0 skipped
26 1 step passed, 0 failed, 0 skipped, 0 undefined
27 """
28 And the directory "report/test_results" should exist