Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
add step in allure report for spock framework #429
Conversation
commons lang3 collections4
add step
add step for test
check step in test
|
Шнайдмиллер Алексей Давыдович seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
add params
add param in test
allure-spock/src/main/java/io/qameta/allure/spock/AllureSpock.java
Outdated
Show resolved
Hide resolved
allure-spock/src/main/java/io/qameta/allure/spock/AllureSpock.java
Outdated
Show resolved
Hide resolved
|
as far as I get from test you provided -- framework blocks are always displayed before all the steps (from allure)? |
|
The test shows that the allure report prints all the blocks from the spock. Depending on which block of the spock is used, it is printed in the report. |
|
I mean if you have test like this: given: "given"
step "given step"
when: "when"
step "when step"
then: "then"
step "then step"you'll see the following scenario in the report:
instead of correct nesting
or flat
|
|
I get it. It was just done not to write a Step. I'll fix that shortcoming tomorrow. |
|
that is the main concern about this pull request. A wish to find a way to emit events when block start in order to support steps and attachments within blocks. Otherwise we'll immediately get an issue complaining about that. Overall, I see that this one did improve integration for spock users in some way, so I'm down to merge it |
Context
Checklist