Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞: Variables in Spock BDD blocks not substituted #965

Open
1 task done
karltiirik opened this issue Oct 12, 2023 · 1 comment
Open
1 task done

🐞: Variables in Spock BDD blocks not substituted #965

karltiirik opened this issue Oct 12, 2023 · 1 comment
Labels
triage type:bug Something isn't working

Comments

@karltiirik
Copy link

What happened?

  1. Project https://github.com/karltiirik/spock-restassured-allure
  2. Run tests ./gradlew clean test
  3. Generate report ./gradlew allureServe
  4. A test with a variable both in the test name and "given" block
    Kuvatõmmis 2023-10-12 235204

Expect: Both variables replaced with actual value
Actual: Variable replaced in test name, but not in "given" text
Kuvatõmmis 2023-10-12 235714

What Allure Integration are you using?

allure-spock2

What version of Allure Integration you are using?

2.23.0

What version of Allure Report you are using?

2.23.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@karltiirik karltiirik added triage type:bug Something isn't working labels Oct 12, 2023
@karltiirik karltiirik changed the title 🐞: Variable in Spock BDD blocks not substituted 🐞: Variables in Spock BDD blocks not substituted Oct 12, 2023
@baev
Copy link
Member

baev commented Oct 13, 2023

I'm not sure this is possible until spockframework/spock#538 is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants