Skip to content

Commit

Permalink
Merge pull request #25 from lufton/master
Browse files Browse the repository at this point in the history
Fix of default test executions summary for non-first feature
  • Loading branch information
fundakol authored Jun 3, 2024
2 parents cf9cb6c + 9df5a4b commit 0ceaf09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/behave_xray/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ def reset(self):
self.current_feature = None
self.current_scenario = None
self.current_test_key = None
self.test_execution = TestExecution()
self.test_execution = TestExecution(
summary=self._get_summary(),
user=self._get_user(),
revision=self._get_revision(),
version=self._get_version()
)
self.testcases = defaultdict(lambda: ScenarioResult())

def feature(self, feature):
Expand Down

0 comments on commit 0ceaf09

Please sign in to comment.