Displaying 1 result from an estimated 1 matches for "example_fail".
Did you mean:
example_failed
2008 Jun 12
4
after :each invoked before formatter?
...ersion 1.0.8
(at the moment I''m using 1.1.4).
In after :each block I''m invoking Watir to close IE (and maybe some other
stuff). So if each example finishes, IE is closed. Now, my logic is telling
me that after example has failed, formatter''s methods should be invoked (as
example_failed or extra_failure_content methods), but it''s not like that!
Those methods are called AFTER after :each block has finished. So, at the
moment it''s like that:
1) it block executes
2) it block failed
3) after :each block executes
4) formatter''s example_failed and extra_fail...