Displaying 1 result from an estimated 1 matches for "backbround".
Did you mean:
backbound
2010 Nov 07
2
Hooks before a scenario but not the background: possible or bad practice
Hi,
I''d like to activate FakeFS for some scenarios, which I tag @fakefs,
however it seems Before(''@fakefs'') runs before the background of the
feature - unfortunately this clobbers Grit, and I can''t
Grit::Repo.new(...) in the backbround.
Is it currently possible to get a hook to run before a scenario, but
not the Background of the feature?
Or am I mistaken in making a distinction between a scenario and the
background of a feature?
Best wishes
--
????'' ??? ??????, ???'' ?????? ?? ????
[The fox knows many things...