elvetemedve / behat-screenshot

This is an extension for Behat which provides debugging functionality by taking a screenshot of failed tests.
MIT License
92 stars 17 forks source link

Integration with BehatHtmlFormatterPlugin #37

Open cyberwolf opened 7 years ago

cyberwolf commented 7 years ago

https://github.com/dutchiexl/BehatHtmlFormatterPlugin expects screenshots to be put in a certain directory with a certain filename, then it will integrate them into its HTML report. It would be nice if the behat-screenshot extension would support this naming pattern. It might be feasible by just switching to another implementation for FilenameGenerator.

cyberwolf commented 7 years ago

@tkotosz I'll attempt to implement this for my project, and pass you on a pull request.

tkotosz commented 7 years ago

@cyberwolf thanks, sounds good :+1: