That’s why I pass a ‘report’ closure as parameter to the module: it lets me use 
the ‘good’ report instance…

This is because outside of the module you are not calling Browser.report(), you 
are actually calling GebReportingSpec.report() which prepends the report name 
with some counters and the name of the current test. If you're on Geb 5 then 
you could pass testManager to your module and call report() on that - 
testManager is an instance of geb.test.GebTestManager and GebReportingSpec 
actually delegates the report() method to it.

Nice background info and suggestion. Worked like a charm. Thanks.

BOB

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/SY4P282MB18830DB10D7549FD9DE02E07EDB79%40SY4P282MB1883.AUSP282.PROD.OUTLOOK.COM.

Reply via email to