allure-java
allure-java copied to clipboard
🐞: Variables in Spock BDD blocks not substituted
What happened?
- Project https://github.com/karltiirik/spock-restassured-allure
- Run tests
./gradlew clean test - Generate report
./gradlew allureServe - A test with a variable both in the test name and "given" block
Expect: Both variables replaced with actual value
Actual: Variable replaced in test name, but not in "given" text
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
- [X] I agree to follow this project's Code of Conduct
I'm not sure this is possible until https://github.com/spockframework/spock/issues/538 is fixed