You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The <failure> tag should contain a quoted value for the type attribute and the failing test step information should be contained in the CDATA:
Desktop (please complete the following information):
OS: Linux (Ubuntu 22.04.4), macOS (14.4)
behavex Version 4.0.2
Additional context
I have confirmed this is not related to behave, I have invoked behave with behavex installed at both 3.2.0 and 4.0.2 and behave generates valid XML in both cases.
I have a minimal configuration which will reproduce the issue:
features/steps/steps.py
frombehaveimportstep@step("the test fails")deffail_step(context):
assert(False), "FAIL!"
features/sample.feature
Feature: Sample testScenario: A failing scenarioGiven the test fails
The text was updated successfully, but these errors were encountered:
Describe the bug
XML files generated by behavex contain invalid
<failure>
tags: thetype
attribute is unquoted and theCDATA
is empty.To Reproduce
Steps to reproduce the behavior:
behavex -o reports
reports/behave/
<failure>
tag:Expected behavior
The
<failure>
tag should contain a quoted value for thetype
attribute and the failing test step information should be contained in theCDATA
:Desktop (please complete the following information):
Additional context
I have confirmed this is not related to behave, I have invoked behave with behavex installed at both 3.2.0 and 4.0.2 and behave generates valid XML in both cases.
I have a minimal configuration which will reproduce the issue:
features/steps/steps.py
features/sample.feature
The text was updated successfully, but these errors were encountered: