Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Failing tests showing calling basic before and after hooks #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jowers
Copy link
Contributor

@jowers jowers commented Jun 8, 2015

@mattwynne, I've created 2 scenarios describing a before and after hook in tcl. For now I've kept it very simple (i.e. no tags, per-step options etc). So, I think this should be the call for a per-scenario hook (in keeping with the equivalent hooks in ruby cucumber).

I assume I'll need to store any hooks (as I've done with the given/when/then) so that they can be executed from cucumber-ruby as required?

@jowers jowers mentioned this pull request Jun 8, 2015
@mattwynne
Copy link
Contributor

I assume I'll need to store any hooks (as I've done with the given/when/then) so that they can be executed from cucumber-ruby as required?

Yes, exactly. In a later iteration you'll want to be able to tag hooks too, so you can associate them with certain scenarios via tags.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants