Hey, I'm not sure whether surefire plugin allows you to embed screenshots/customize the report on your own, but it feels like most likely you'll have to refrain from using it and go with something custom. Your goals can easily be achieved with a geb-spock-reports library <https://github.com/AOEpeople/geb-spock-reports> literally *out of the box*. If you are having troubles with spock-reports - please provide more details on that. But first make sure you follow all the instructions on their github page carefully. Given you started using spock-reports, you now have ability to implement your own ReportCreator if required (or extend existing ones). Combined with Geb's Custom Reporters <http://www.gebish.org/manual/current/#reporter-configuration> and Reporting Listeners <http://www.gebish.org/manual/current/#reporting-listener> you have almost unlimited possibilities for reporting.
-Roman пятница, 5 января 2018 г., 19:54:14 UTC+2 пользователь [email protected] написал: > > Hello, > > I am new to Geb-spock. I 'm using GebReportingSpec for test reporting. > Its taking screenshots and put them in a separate folder. They are not > integrated with index.html or the testReport.html. I am using maven and > maven-surefire-plugin > for my project. Tried spoke-reports for custom reporting but it always > failed to create the instance of the *TemplateReportCreator**. Even I can > not log the test steps in my log file. Hence need to print every steps on > the console. Its really very **important** to have a better logging and > specially incorporate screen shots with the test report. Please help me > out.* > > *Thanks,* > -- 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/42b7164d-e2db-49a1-858d-34af42a5b442%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
