I'm glad to hear that!
> I have a specific
> question about the package scanning. Back when i was creating a POC
> for my company with RC16 there was a annotation @Feature that let you
> add additional packages that cucumber would scan for running your
> scenario. I found it very useful for defining common step definitions
> or even common hooks that span multiple scenarios/features e.g.,
> capturing screens shots at the end of each Scenrio.
>
> As of release 1.0.0 i no longer see that annotation is there an
> alternative for that? I see Cucumber.Options has the features options
> but no packages.
>
Try this:
@Cucumber.Options(glue = {"cucumis.sativus", "cucurbita.foetidissima"})
Aslak
> Here's what i had used in the
> @Feature(packages={"com.corp.common"}, value = "com/corp/dashboard")
> What this did was that in addition to scanning com.corp.dashboard it
> also scanned com.corp.common to pick up any common step definition.
>
> Your help is much appreciated.
>
> Thanks
> Manish
>
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>
My thinking was that not providing an explicit glue value would
default to the package, and providing one or more would override that
default.
With what you suggest it wouldn't be possible to "get away" from the
default package, but perhaps that is ok?
What do others think?