"lettuce.before" / "lettuce.after" API

44 views
Skip to first unread message

Ilya Kazakevich

unread,
Jul 17, 2014, 6:22:29 PM7/17/14
to lettuce-d...@googlegroups.com
Hello,

I am running lettuce via "lettuce.Runner" and I need to inject hooks (like "before.each_step"). There is API: "lettuce.before.each_scenario(..)", but it is not documented on official site. So, my question is how stable it is? Can I rely on it, or this API may be changed in minor release?

Gabriel Falcão

unread,
Jul 18, 2014, 10:50:58 AM7/18/14
to Lettuce Developers
It's stable, those hooks have been there since the beginning of the project.

Go ahead and extend lettuce using those hooks, they were made for it :)

Cheers

 -- Gabriel Falcão


On Thu, Jul 17, 2014 at 6:22 PM, Ilya Kazakevich <kazakev...@gmail.com> wrote:
Hello,

I am running lettuce via "lettuce.Runner" and I need to inject hooks (like "before.each_step"). There is API: "lettuce.before.each_scenario(..)", but it is not documented on official site. So, my question is how stable it is? Can I rely on it, or this API may be changed in minor release?

--
You received this message because you are subscribed to the Google Groups "Lettuce Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lettuce-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages