radish-bdd / radish

Behavior Driven Development tooling for Python. The root from red to green.
https://radish-bdd.github.io
MIT License
180 stars 49 forks source link

scenariooutline tag rendering in bdd-xml #466

Closed fliiiix closed 10 months ago

fliiiix commented 10 months ago
cd tests/exploratory/scenariooutline
radish -b radish features/Issue105.feature --bdd-xml=foo.xml

the bdd-xml looks like this with empty tags

    <scenarios>
      <scenario sentence="Divide Numbers - row 0" id="2" result="passed" starttime="2023-11-03T15:41:22" endtime="2023-11-03T15:41:22" duration="0.0002280000" testfile="features/Issue105.feature">
        <tags/>
        .....
      </scenario>
      <scenario sentence="Divide Numbers - row 1" id="3" result="passed" starttime="2023-11-03T15:41:22" endtime="2023-11-03T15:41:22" duration="0.0001460000" testfile="features/Issue105.feature">
        <tags/>
        .....
      </scenario>
      <scenario sentence="Divide Numbers - row 2" id="4" result="passed" starttime="2023-11-03T15:41:22" endtime="2023-11-03T15:41:22" duration="0.0001400000" testfile="features/Issue105.feature">
        <tags/>
         .....
      </scenario>

should contain the tags from

@bar
Scenario Outline: Divide Numbers