It is a good practice to read the documentation first. Read on reportOnTestFailureOnly at: http://www.gebish.org/manual/current/#report-test-failures-configuration
On Tue, Sep 13, 2016 at 8:18 AM, Bhaarat Sharma <[email protected]> wrote: > I came across an example Geb project using grade. I cloned the project and > ran it. It works fine, however, I can't figure out which line of code > controls taking screenshots? > > At the moment it is taking screenshots on every test run. How would I > modify it to only take screenshots when the tests fail. > > https://github.com/geb/geb-example-gradle > > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/geb-user/1aab78d8-0ec7-4638-a033-d9d57a23d6ef%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/1aab78d8-0ec7-4638-a033-d9d57a23d6ef%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Raviteja Lokineni* | Business Intelligence Developer TD Ameritrade E: [email protected] [image: View Raviteja Lokineni's profile on LinkedIn] <http://in.linkedin.com/in/ravitejalokineni> -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CAJpE9rXHV943OHbPEL8Gi%3D-a1n%3D8U82_jXJYqbzUU1XfB%3Dd%2BdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
