Rob Elliot
06/06/2022, 5:44 PMTestListener
so that if TestResult.isErrorOrFailure
I can use RemoteWebDriver.getScreenshotAs
to capture the output.
However, I need to save the file somewhere... is there a way to work out an output directory for kotest? I guess it would be very dependent on how kotest was bring run (gradle, maven, stadalone, whatever), so probably not, but thought I'd ask if anyone had any bright ideas.Jim
06/06/2022, 8:56 PMwriteSpecFailureFile
to true, it makes a directory named .kotest
- so you could piggyback on that and set up your .gitignore appropriatelyRob Elliot
06/06/2022, 8:59 PMJim
06/07/2022, 6:00 AMsam
06/07/2022, 8:42 PM