Hooks Cucumber

Hi all
I want to clean up all the previous run screenshots

so i want to run(only once not for every scenario or feature file) a
batch file before my tests run.
i am using system " start …/…/results/clean_screenshots.bat" in my
hooks file but it runs for every scenario any suggestions

There’s a google group about Cucumber, I recommend you to post there,
you will find answer quickler.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs