These are chat archives for Behat/Behat

29th
Apr 2015
Donald Tyler
@Chekote
Apr 29 2015 18:51
Howdy everyone. I'm trying something out and wanted some advice/feedback. I'm wanting to setup auto-spin for all of our "Then" steps, as by our convention these are always assertions. I'm trying to do it with Behat's standard hooks, by catching the failed step in an @AfterStep and then detecting if the step needs to be re-attempted. But the I receive seems to be read-only. Is this approach going to be possible? I don't see a way to define my own StepTester class. Is it even possible to do what I'm trying without hacking Behat?