allure-framework / allure-python

Allure integrations for Python test frameworks
https://allurereport.org/
Apache License 2.0
718 stars 237 forks source link

Fix parameters parsing from "Scenario Outline" for pytest-bdd >= 5.0.0 (fixes #636) #716

Closed janxen closed 1 year ago

janxen commented 1 year ago

The changes fix the issue #636.

Checklist

sqandrew commented 1 year ago

@sseliverstov or @skhomuti could you please review it? Thanks!

robbrad commented 1 year ago

Still not fixed for me

pytest-bdd = "^6.1.1" allure-pytest-bdd = "^2.12.0" pytest-xdist = {extras = ["psutil"], version = "^3.2.0"}

image

error is :

Could not read test result file .\build\allure-results\d48b4a4f-9c33-4fb7-85cd-9dccd37d03b2-result.json
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`)
janxen commented 1 year ago

Hello @robbra, the release 2.12.0 don't contain these changes. You have to wait for the next release.