YahooArchive / arrow

FE Test framework designed to promote TDD
http://yahoo.github.io/arrow/arrow_intro.html
BSD 3-Clause "New" or "Revised" License
55 stars 59 forks source link

Take screenshots after each failed scenario, not last one, and configurable and enhanced screenshot functionality #210

Open andresn opened 10 years ago

andresn commented 10 years ago

Hi Arrow Team,

As a user debugging a major production issue module, caused by a module I have never worked on, one of the common questions is "what changed?" Therefore, I think there would be a lot of value in showing a 'last successful build' screenshot as well as the current 'after failure' screenshots (as well as html grabs). Maybe even a a markup diff feature at some point. All the above would be configurable in the event an operation's infrastructure cannot handle the extra file load. I am working on the Y! mod-dna project internally that would leverage the above, I'll showcase to you guys soon, which will take full advantage of these types of features as well.

Regards,

-A

andresn commented 10 years ago

Also, can a screenshot be taken after each scenario, i.e. before browser window close, not just the last one? We have use case where we are running a chain of complex scenarios, but the screen shot will only come out for the last (failing) scenario.

proverma commented 10 years ago

@andresn are you proposing it to be a cli/config option, so that user can choose if they want screenshot/html for every scenario step, or are you proposing this to be a default behavior for arrow ?