AOEpeople / geb-spock-reports

Integrates Geb screenshots into the spock-reports library
Apache License 2.0
36 stars 11 forks source link

Report not including an entire test class #33

Open jacattau opened 3 years ago

jacattau commented 3 years ago

I am having an issue trying to understand why a certain test class that I have is not showing on the geb-spock-report. I can see it on the regular JUnit report and I can see the failure screenshots when I dig into the folders but for some reason it is not showing on the geb-spock-report. I can send over a zip file (privately) if you'd like to take a look at it.

It is not just a one time thing, it looks like it has never appeared on this report. If I run it on it's own then it does show up, but if I run a full regression this class is not on the report.

tilmanginzel commented 3 years ago

Hi @jacattau, this is odd. Can you test the default HtmlReportCreator from spock-reports and check if this report is showing the spec? To do this, take a look the default values here: https://github.com/renatoathaydes/spock-reports#default-properties-values

Specifically this value:

com.athaydes.spockframework.report.IReportCreator=com.athaydes.spockframework.report.internal.HtmlReportCreator

In case spock-reports is showing the spec just fine, the issue is likely in geb-spock-reports. If you then still want to send the files over, feel free to do so via github@tilmanginzel.de and I can try to take a look.

jacattau commented 3 years ago

Hi @tilmanginzel, I just sent you an email. It may take a bit as I attached an 8mb zipfile to it. Please get back to me with any update. I appreciate you looking into this issue!

jacattau commented 3 years ago

Hi @tilmanginzel I confirmed the regular spock reports are including this test class, so as we discussed in the email it seems to have to do with the special characters in one of the test names.

tilmanginzel commented 3 years ago

Hi @jacattau, thanks for the confirmation. I should probably find time for this in the coming weeks.