Hi, all! Is it possible to turn on real-time logging (not post-run reports) that display the block labels? Here is an example of what I'm trying to do:
def 'test block-level logging'() {
given: 'some setup'
def x = 5
when: 'action is taken'
x++
then: 'result matches expected'
x == 6
}
I would like this spec to produce logging output something like this (with or without the "given"/"when"/"then"):
given: some setup
when: action is taken
then: result matches expected
I looked at some extensions, but only saw hooks for before-spec and before-feature, not before-block.
Any pointers would be appreciated!