Would like to know if its possible to reset sequences in a factory? I have done a bit of googling around and found some post which reset the value of a sequence after every scenario. However could not get it working.
Has someone successfully reset a sequence.
I am using it with Cucumber, so would like to reset a sequence after every scenario, the code to reset the sequence would sit in the After hook, I just can't find a way of resetting a sequence, any help would be very much appreciated