def "my testcase"() {
given: "initial state"
...
when: "data is entered"
...
then: "result is displayed"
...
}def "my testcase"() {
given: "initial state"
...
report("GIVEN initial state")
when: "data is entered"
...
report("WHEN data is entered")
then: "result is displayed"
...
report("THEN result is displayed")
}Use renatoathaydes/spock-reports on github. I suspect that might be what you are after.
Cheers.
Eddy
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/f24d7a0c-fba5-4b3a-ae22-42f7291f9157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ScreenshotReporter and PageSourceReporter) during the test run instead (like using the reportstatement).
Any hint or idea for that?